Skip to content

Instantly share code, notes, and snippets.

@skramstad
Last active July 8, 2024 17:10
Show Gist options
  • Select an option

  • Save skramstad/50328e7c87fc2e517416ad750124a0f9 to your computer and use it in GitHub Desktop.

Select an option

Save skramstad/50328e7c87fc2e517416ad750124a0f9 to your computer and use it in GitHub Desktop.
Mac OS X WIFI advanced settings
# Create alias in zsh
`alias airport='sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport'`
# Commands
$ airport -s # Scanning
$ airport prefs # Display airport preferences
$ airport prefs joinMode=Strongest
$ airport prefs JoinModeFallback=KeepLooking
JoinMode (String)
Automatic
Preferred
Ranked
Recent
Strongest
JoinModeFallback (String)
Prompt
JoinOpen
KeepLooking
DoNothing
# Reference
# https://apple.stackexchange.com/questions/66919/
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