Skip to main content
Question

Block a public SSID on macs

  • October 6, 2014
  • 6 replies
  • 45 views

Forum|alt.badge.img+10

I have teachers that keep connecting to our open public SSID, is there a way to block that just so I can keep them on the private SSID.

Thanks

6 replies

Forum|alt.badge.img+12
  • Contributor
  • October 6, 2014

A quick and dirty solution would be to just add a script that runs every check in to remove that SSID from the preferred networks.

networksetup -removepreferredwirelessnetwork en1 SSIDHERE

Forum|alt.badge.img+17
  • Valued Contributor
  • October 6, 2014

The solution I found was to set up a configuration profile with a preset for the public SSID and garbage authentication method and credentials, thus preventing the computer from ever successfully joining. There isn't a way to blacklist SSIDs in OS X.


Forum|alt.badge.img+1
  • New Contributor
  • January 22, 2015

Joshua, I've tried this but the client just corrects the authentication method and then allows the user to re-enter the password. Am I missing something?


Forum|alt.badge.img+12
  • Contributor
  • January 22, 2015

There are posts from last year sometime where someone wanted to blacklist certain things. Several of us contributed scripts of varying success and I even tried my hand at an awk only version that kinda sorta worked.

Search around a bit I forget who it was…


Forum|alt.badge.img+12
  • Contributor
  • January 22, 2015

Forum|alt.badge.img+3
  • New Contributor
  • January 28, 2015

peineke - for those 'quick and dirty' solutions, where would one put that script to be run when a device checks in? (Newer Casper user here...)

Thanks.