Managing WIFI connections using the Mac OSX…
Posted by jpluimers on 2017/02/10
These links:
- [Wayback/Archive] Managing WIFI connections using the Mac OSX…
- [Wayback/Archive] Find & Scan Wireless Networks from the Command Line in Mac OS X
- [Wayback/Archive] airport – the Little Known Command Line Wireless Utility
Made me add this to my ~/.bash_profile
:
alias airport="/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" alias wifi-off="networksetup -setairportpower en0 off" alias wifi-on="networksetup -setairportpower en0 on" alias wifi-scan="airport scan" alias wifi-join-SSID-password="networksetup -setairportnetwork en0" alias wifi-list-ports="networksetup -listallhardwareports
–jeroen
Leave a Reply