]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/wrt/wrt-init/wrtvlans
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / wrt / wrt-init / wrtvlans
1 #!/bin/sh
2
3 # the ethernet switch distinguishes the WAN port and the 4 LAN ports by VLAN tags
4 # this might not yet be correct for all devices, only checked on the WRT54G
5 vconfig set_name_type VLAN_PLUS_VID_NO_PAD
6 ifconfig eth0 up
7 vconfig add eth0 0
8 vconfig add eth0 1