This is the least you need to do to get your WAN working for internet only.
rmmod switch-robo
insmod /jffs/switch-robo.ko
echo "" > /proc/switch/eth0/vlan/1/ports
echo "4t 5" > /proc/switch/eth0/vlan/100/ports
vconfig add eth0 100
ifconfig eth0.100 up
nvram set wan_ifname=eth0.100
startservice wan _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
What i meant was to do a cat on the various vlan ports, since echo "4t 5" > /proc/switch/eth0/vlan/100/ports is injecting the string 4t 5 to vlan 100 port.
So what i meant was:
Quote:
root:# cat /proc/switch/eth0/vlan/xxx/ports
...where xxx is the various vlans that you have.
Now, one thing that i believe you're doing wrong is that you're trying to "inject" a string before you've created that vlan...meaning:
Keeper75, thank you again, but the patch switch-robo all ready gives me the vlans (125), the folder is there, don't know why the LAN ports it stop responding.
...of course you can't insert anything it a vlan port if you haven't created/associated that vlan into eth0 in 1st place...
idk...that's a thought.
No, not "of course". Echo'ing port configs to the switch driver modifies the switch hardware's behavior. The vconfig command configures the kernel to create a software interface to the hardware. The order of the two commands should not matter.
Even though it worked alright in my short test with a wrt300n v1.1, I did encounter problems as I noted originally. The BCM5325 switches only have support for 16 total VLAN's and this patched driver interface doesn't really handle that limit properly. You should have better luck with BCM53115 switches which seem to support the full 4K VLAN's. This is highly experimental currently so don't expect anything to work. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)