Apple MacBook Wi-Fi Troubleshooting

Community Manager
Community Manager

Here is a 4-step process to collect some wireless troubleshooting data on the Macbook. 

 

1. Collect mobility data

sudo /System/Library/Frameworks/SystemConfiguration.framework/Resources/get-mobility-info

 

2. Enable 802.1x enhanced logs before collecting data

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.eapolclient LogFlags -int -1

 

Note: File will be saved under /var/log/eapolclient.(interfacename).log. Additional useful logging appears in/var/log/system.log. This will activate logging on all interfaces that 802.1x is started on, regardless of how they were started, from loginwindow, from a System mode configuration or by the user.

 

3. Start and stop 802.11 network scan

/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -s

 

4. Disable 802.1x enhanced logs after collecting data

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.eapolclient LogFlags -int 0

 

Some other useful commands while you are in the terminal Smiley Happy

 

Connect to SSID

networksetup -setairportnetwork Airport [router SSID] [password]

 

Turn Airport Off via Command Line

networksetup -setairportpower airport off

 

Turn Airport On via Command Line

networksetup -setairportpower airport on


Version history
Revision #:
2 of 2
Last update:
‎12-14-2011 02:50 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: