On 08/15/2013 03:42 PM, Martin T wrote: > I connected my PC to WL-500gP over a serial port and commented out > "config switch_vlan" section in a /etc/config/network file: > > root@WL-500gP:~# cat /etc/config/network > config switch eth0 > option enable 1 > > #config switch_vlan eth0_0 > # option device "eth0" > # option vlan 0 > # option ports "0 1 2 4 5" > > > #### Loopback configuration > config interface loopback > option ifname "lo" > option proto static > option ipaddr 127.0.0.1 > option netmask 255.0.0.0 > > #### LAN configuration > config interface lan > option type bridge > option ifname "eth0" > option proto static > option ipaddr 192.168.1.1 > option netmask 255.255.255.0 > root@WL-500gP:~# > > > After a reload, the router was not reachable over the network. > Ifconfig output after commenting out the "config switch_vlan" section > was following:
You have to configure the switch in your router in some way, so it knows how to route the packages in it. When you remove this section the ports are more or less switched off. Read this: http://wiki.openwrt.org/doc/uci/network/switch Hauke _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
