Nov 13 2016

Mac OSX terminal command line for wifi

Show and List all your network adaptor
networksetup -listallhardwareports

 

Turn off wifi on your macbook
networksetup -setairportpower en1 off

 

Turn off wifi on your macbook
networksetup -setairportpower en1 on

 

Scan and list the available wifi network /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport scan

Leave a Reply

Your email address will not be published.