What's new

AC87U SSID To Vlan Script

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Gill

Occasional Visitor
Can someone check if there is something wrong with the script below. I doesn't seem to be working when I add wifi0 in LAN_Ifnames. Maybe if someone is using vlans with ssids on AC87u, can post their script or help me find what's wrong with this script. if I dnt add wifi0(5GHz interface) 5ghz doesnt work at all and when tinkering with its settings in gui keeps rebooting the router.


robocfg vlan 1 ports ""
robocfg vlan 10 ports "0t 5 3 2 1 7t"
robocfg vlan 30 ports "0t 7t"
vconfig rem vlan1
vconfig add eth0 10
ifconfig vlan10 up
vconfig add eth0 30
ifconfig vlan30 up
brctl delif br0 wl0.1
brctl delif br0 vlan1
brctl addif br0 vlan10
brctl addbr br1
brctl addif br1 wl0.1
brctl addif br1 vlan30
ifconfig br1 up
nvram set lan_ifnames="vlan10 eth1 wifi0"
nvram set lan_ifname="br0"
nvram set lan1_ifnames="vlan30 wl0.1 wl1.1"
nvram set lan1_ifname="br1"
nvram commit
killall eapd
eapd

Thanks & Regards!
 
Last edited:
Some Logs

Aug 8 21:11:05 kernel: br1: port 2(vlan30) entering forwarding state
Aug 8 21:11:05 kernel: br1: port 1(wl0.1) entering forwarding state
Aug 8 21:11:11 login[909]: root login on 'pts/0'
Aug 8 21:11:53 crond[692]: time disparity of 317050 minutes detected
Aug 8 21:12:30 rc_service: httpd 690:notify_rc restart_wireless
Aug 8 21:12:30 kernel: br0: port 2(eth1) entering forwarding state
Aug 8 21:12:30 kernel: device eth1 left promiscuous mode
Aug 8 21:12:30 kernel: br0: port 2(eth1) entering disabled state
Aug 8 21:12:31 kernel: br1: port 1(wl0.1) entering forwarding state
Aug 8 21:12:31 kernel: device wl0.1 left promiscuous mode
Aug 8 21:12:31 kernel: br1: port 1(wl0.1) entering disabled state
Aug 8 21:12:31 CTF: STP enabled, disable FA
Aug 8 21:12:31 CTF: Not router mode, disable FA
Aug 8 21:12:35 kernel: wl_module_init: passivemode set to 0x0
Aug 8 21:12:35 kernel: wl_module_init: txworkq set to 0x1
Aug 8 21:12:35 kernel: eth1: Broadcom BCM4360 802.11 Wireless Controller 6.37.14.105 (r485445)
Aug 8 21:12:35 kernel: device eth1 entered promiscuous mode
Aug 8 21:12:35 kernel: br0: topology change detected, propagating
Aug 8 21:12:35 kernel: br0: port 2(eth1) entering forwarding state
Aug 8 21:12:35 kernel: br0: port 2(eth1) entering forwarding state
Aug 8 21:12:35 kernel: device wl0.1 entered promiscuous mode
Aug 8 21:12:35 kernel: br0: topology change detected, propagating
Aug 8 21:12:35 kernel: br0: port 3(wl0.1) entering forwarding state
Aug 8 21:12:35 kernel: br0: port 3(wl0.1) entering forwarding state

wifi.png
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top