How to use Raspberry Pi 3 as a WiFi Router (with PPPoE)

Dec 26, 2017 · 1 min read
  1. Download Raspbian image and write to microSD
  2. Make your pi a WiFi Hotspot; Follow this tutorial

In short summary:

  • Install and setup dnsmasq, hostapd
  • Config wlan0 a fix ip in /etc/network/interfaces
  • Set Iptables -> use WiFi Access Point rule-> change all eth0 to ppp0;
  • Make hostapd and dnsmasq run at boot (Not sure if it’s run in daemon but I just put sudo service hostapd start and sudo service dnsmasq startin /etc/rc.local)

3. Config PPPoE connection

  • Download pppoeconf_1.21_all.deb and install (sudo dpkg -i pppoeconf_1.21_all.deb)
  • Run pppoeconf and follow the GUI instruction
  • Enter your PPPoE username and password

4. Done!


Written by


Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade