On my windows wifi devices I am able to add wireless network filters to disable connectivity to unwanted signals.
First I whitelist any networks I deem secure using the following command:
netsh wlan add filter permission=allow ssid=myNetworkName networktype=infrastructure
Then I blacklist all the others using:
netsh wlan add filter permission=denyall networktype=infrastructure
I recently got a MacBook Air and now I want to do the same thing with it. What are the terminal equivalents of these cmd commands?
Thanks in advance!
This question is not a duplicate. It's alright if you don't have the answer, but don't mark it resolved just for the sake of it. Leave it up in case someone else knows the answer.
First of all, that script fails to connect most of the time. Secondly, I need a way to stop non-administrators from connecting to ALL networks other than the ones I've white-listed. That solution has you list the 'bannedList' of networks one by one. And it doesn't mention how to force non-admins to connect through the script rather than just using the regular WiFi list or network preferences.
I refuse to believe there is no solution to such a trivial network security question. Especially since it was so easy on Windows.