Skip to content

Instantly share code, notes, and snippets.

@pdostal
Last active June 22, 2024 08:26
Show Gist options
  • Save pdostal/67aae125b44cd45fca11 to your computer and use it in GitHub Desktop.
Save pdostal/67aae125b44cd45fca11 to your computer and use it in GitHub Desktop.
Mac OS X WIFI advanced settings
alias airport='sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport'
$ airport -s # Scanning
$ airport prefs # Display airport preferences
$ airport prefs joinMode=Strongest # Join mode
$ airport prefs JoinModeFallback=KeepLooking
# See http://apple.stackexchange.com/a/144832
airport -s
SSID BSSID RSSI CHANNEL HT CC SECURITY (auth/unicast/group)
eduroam 00:1e:c1:65:97:c1 -83 36 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
NTK-Staff 00:24:73:ae:f1:0d -89 44 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:24:73:ae:f1:0b -89 44 N CZ NONE
eduroam 00:24:73:ae:f1:01 -90 44 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
NTK-Staff 00:1c:c5:79:79:cd -84 40 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:1c:c5:79:79:cb -84 40 N CZ NONE
eduroam 00:1c:c5:79:79:c1 -84 40 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
NTK-Staff 00:24:73:ae:73:cd -83 40 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:24:73:ae:73:cb -83 40 N CZ NONE
eduroam 00:24:73:ae:73:c1 -82 40 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
NTK-Staff 00:1e:c1:65:97:cd -84 36 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:1e:c1:65:97:cb -85 36 N CZ NONE
NTK-Staff 00:1c:c5:7a:05:0d -73 36 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:1c:c5:7a:05:0b -74 36 N CZ NONE
eduroam 00:1c:c5:7a:05:01 -75 36 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
NTK-Staff 00:1c:c5:7a:05:0c -75 1 N CZ WPA2(PSK/AES/AES)
eduroam 00:1c:c5:7a:05:00 -74 1 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
hotspot e0:75:7d:52:72:9f -80 1 Y -- WPA2(PSK/AES/AES)
NTK-Simple 00:1c:c5:7a:05:0a -71 1 N CZ NONE
NTK-Staff 00:24:73:af:05:4c -90 13 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:24:73:af:05:4a -90 13 N CZ NONE
eduroam 00:24:73:af:05:40 -88 13 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
NTK-Staff 00:24:73:af:07:4c -89 13 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:24:73:af:07:4a -88 13 N CZ NONE
NTK-Staff 00:1c:c5:79:a3:0c -79 13 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:1c:c5:79:a3:0a -81 13 N CZ NONE
eduroam 00:1c:c5:79:a3:00 -80 13 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
NTK-Simple 00:24:73:ae:f1:0a -86 9 N CZ NONE
eduroam 00:24:73:ae:f1:00 -87 9 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
NTK-Staff 00:1c:c5:79:79:cc -77 5 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:1c:c5:79:79:ca -78 5 N CZ NONE
eduroam 00:1c:c5:79:79:c0 -77 5 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
NTK-Staff 00:24:73:ae:73:cc -70 5 N CZ WPA2(PSK/AES/AES)
NTK-Simple 00:24:73:ae:73:ca -70 5 N CZ NONE
eduroam 00:24:73:ae:73:c0 -71 5 N CZ WPA(802.1x/AES/AES) WPA2(802.1x/AES/AES)
AirPort preferences for en0:
DisconnectOnLogout=NO
JoinMode=Strongest
JoinModeFallback=KeepLooking
RememberRecentNetworks=YES
RequireAdminIBSS=NO
RequireAdminNetworkChange=NO
RequireAdminPowerToggle=NO
WoWEnabled=YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment