#!/bin/sh
robocfg vlan 4 ports "0t 8t"
vconfig add eth0 4
ifconfig vlan4 up
brctl delif br0 wl0.1
brctl addbr br1
brctl addif br1 vlan4
brctl addif br1 wl0.1
ifconfig br1 up
nvram set lan1_ifnames="vlan4 wl0.1"
nvram set lan1_ifname="br1"
nvram save
killall eapd
eapd
Feb 22 19:36:04 kernel: device wl0.1 left promiscuous mode
Feb 22 19:36:04 kernel: br0: port 4(wl0.1) entering forwarding state
Feb 22 19:36:04 kernel: device vlan4 entered promiscuous mode
Feb 22 19:36:04 kernel: device wl0.1 entered promiscuous mode
Feb 22 19:36:04 kernel: br1: port 2(wl0.1) entering learning state
Feb 22 19:36:04 kernel: br1: port 2(wl0.1) entering learning state
Feb 22 19:36:04 kernel: br1: port 1(vlan4) entering learning state
Feb 22 19:36:04 kernel: br1: port 1(vlan4) entering learning state
Feb 22 19:36:19 kernel: br1: port 2(wl0.1) entering forwarding state
Feb 22 19:36:19 kernel: br1: port 1(vlan4) entering forwarding state
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!