Last active
September 14, 2015 06:17
-
-
Save danikx/221cf527de7745510613 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
Force a re-dial | |
ifdown wan | |
ifup wan; | |
http://wiki.openwrt.org/doc/uci/network#protocol.pppoe.ppp.over.ethernet | |
http://wiki.openwrt.org/doc/uci/network | |
http://wiki.openwrt.org/doc/networking/network.interfaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment