# Bring down guest network
wl down
wl ssid --cfg=1 <-- make sure this is the guest network
wl ssid --cfg=1 "" <--- blank out the ssid
wl up
# Bring up guest network
wl down
wl ssid --cfg=1 "OLD_SSID"
wl up
Kind of an ugly way. It will kill your wifi briefly. I have no idea if some clients can associate to a blank SSID, my android phone won't anyway.
Code:# Bring down guest network wl down wl ssid --cfg=eth1 <-- make sure this is the guest network wl ssid --cfg=eth1 "" <--- blank out the ssid wl up # Bring up guest network wl down wl ssid --cfg=eth1 "OLD_SSID" wl up
ssid: could not parse "wl0.1" as an integer for the configuartion index
ssid Set or get a configuration's SSID.
wl ssid [-C num]|[--cfg=num] [<ssid>]
If the configuration index 'num' is not given, configuraion #0 is assumed and
setting will initiate an assoication attempt if in infrastructure mode,
or join/creation of an IBSS if in IBSS mode,
or creation of a BSS if in AP mode.
wl down
nvram set wl0.1_ssid="test"
nvram commit
wl up
Sorry I messed up.
--cfg=1
not --cfg=eth1
wl down
wl ssid --cfg=1 ""
wl up
wl down
nvram set wl0.1_ssid="test"
nvram commit
wl up
1. 5ghz
wl -i eth2 ssid --cfg=1
2. Not sure. Reboot? You'd have to look at the source code to see how the guest page brings interfaces/ssid's up and down the correct way. This method is just the quick-n-dirty way.
You can do a "service restart_wireless" but it will restart the whole wireless subsystem and its dependencies (such as networkmap).
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!