I use TomatoUSB build 54 "Tomato Firmware v1.28.8754 ND USB Ext" on an Asus WL520GU. For the WAN port I am using PPPoE, but would still like to communicate to the DSL modem attached to it.
Assigning an IP address to the interface is pretty easy, just
ip addr add 192.168.2.2/24 dev vlan1
But putting the above command in the init script box doesn't work. I suspect the vlan1 interface is getting created after the init script is run. So, where should I put it so it will be executed after vlan1 is created?