Hi,

I am using openWRT 8.09.2 version, I want to add second Ethernet port on liteStation2.

The default configuration file looks like below: (in /etc/config/network file)

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'

config 'switch' 'eth0'
        option 'enable' '1'
        option 'enable_vlan' '1'
        option 'reset' '1'

config 'switch_vlan' 'eth0_1'
        option 'device' 'eth0'
        option 'vlan' '1'
        option 'ports' '0 1 2 3 5t'

config 'switch_vlan' 'eth0_2'
        option 'device' 'eth0'
        option 'vlan' '2'
        option 'ports' '4 5t'

config 'interface' 'wan'
        option 'type' 'bridge'
        option 'proto' 'dhcp'
        option 'ifname' 'eth0.1 eth0.2 ath0'
        option 'auto' '1'

config 'alias' 'local'
        option 'ifname' 'br-wan'
        option 'proto' 'static'
        option 'ipaddr' '169.254.200.2'
        option 'netmask' '255.255.255.0'

I googled and read some of the openwrt documentation and thought of adding like below:

config 'interface' 'wan'
        option 'ifname' 'eth1'
        option 'type'   'bridge'
        option 'proto' 'dhcp'

Do I need to edit any Makefiles along with configuration files?

Can anyone please help me how to do this!

Thanks in advance.
-Madhu