Skip to content

Instantly share code, notes, and snippets.

@Kyshman
Created July 27, 2021 08:30
Show Gist options
  • Save Kyshman/3934a1dfb9f9e2c7cc97d5b06db5bef4 to your computer and use it in GitHub Desktop.
Save Kyshman/3934a1dfb9f9e2c7cc97d5b06db5bef4 to your computer and use it in GitHub Desktop.
Setup PPPoE - Openwrt
If your ISP is using PPPoE, lets set it up in your OpenWrt. Tested with DLink DIR-300(Rev.A) with OpenWrt Backfire 10.03.1.
Edit /etc/config/network. Under “WAN” section, set the configuration with:
config 'interface' 'wan'
option 'ifname' 'eth0.2'
option 'proto' 'pppoe'
option 'username' 'your-own-username'
option 'password' 'your-own-password'
option 'defaultroute' '1'
option 'peerdns' '1'
https://lists.openwrt.org/pipermail/openwrt-users/2008-January/000169.html
https://forum.openwrt.org/viewtopic.php?id=25233
https://forum.openwrt.org/viewtopic.php?id=27524
Force a re-dial
ifdown wan
ifup wan;
https://forum.openwrt.org/viewtopic.php?id=14055
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment