I'm using PPPoE to connect to the internet via the WAN port of my ASUS WL-500-GP
#### WAN configuration config interface wan option ifname "eth0.1" option proto 'pppoe' option username 'someusername' option password 'somepassword'
However, my modem also has a static IP address and telnet CLI and web interface. You can use this to check DSL line quality, available bandwidth, and other information.
I can connect to the modem via the router by giving eth0.1 a static IP as well:
root@OpenWrt:~# ifconfig eth0.1 192.168.1.42 OpenWrt:~# telnet 192.168.1.254 Entering character mode Escape character is '^]'. Username : ...
I'd like the ip to be automatically assigned to eth0.1 so I don't have to do it manually every time the router reboots. However adding ipaddr and netmask options to the network configuration above, doesn't seem to be doing it. Is it possible to assign a static ip to eth0.1, or is it not actually meant to have one because it's there for PPPoE only?