I have compiled my own firmware for Litestation 2. I am wanting to assign an IP address to the second ethernet port on the board. How do I do that? I can't seem to figure it it. So far I have just messed with the /etc/config/network file. Currently it looks like this:
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option type bridge
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
config interface lan1
option ifname eth1
option proto static
option ipaddr 192.168.2.1
option netmask 255.255.255.0
This is not working, what do I need to do to use that second ethernet port?