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

1 min readDec 26, 2017


  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!




Software Engineer turned Climate Data Analyst