we have a Hotspot solutions that is based on a central Hotspot Gateway and several Accesspoints that are connected via EoIP to the Hotspot-Gateway. That solution works really fine and i think that is the common way how to do it.
Now i want the following: If a single AP does not have connection to the Hotspot-gateway it should disable the Virtual AP so the clients will not be able to connect to the AP until it has connectivity to the Hotspot-gateway again. I can use Netwatch or a self-made Script (which is using Ping) but if i use a /interface wireless disable [find where ssid=HOTSPOT] and run that, all other wireless Clients that use the same master wlan interface are also dropped and have to reconnect.
Any other ideas how to “disable” the Virtual AP without disconnecting all other clients?
we are supplying some customers with EoIP tunnels via their wireless connections .. since this are “local” connections on the same AP they will still work
I don’t know how to disable the VAP without resetting the radio, but you could set “default-authentication=no” on the VAP, then go to “/int wir reg” and throw everyone off (remove) with a script. They will still see the ssid, but will not be able to connect. I haven’t tried it.
I generally use comments to find and disable things via a script, so you can try that. Either comment each VAP differently, or comment all of the interfaces you want to disable with the script as the same.
The problem is not to find the right interface … the problem is that if you disable a VirtualAP then all clients of the master Interface and all clients VirtualAPs that belong to that master interface are disconnected too.