Add Wireless Scan

This commit is contained in:
Marcel Bischoff 2015-10-02 22:19:51 +02:00
parent fb6622c0ad
commit 57558bc34b

View File

@ -346,6 +346,16 @@ traceroute github.com
### Wi-Fi
#### Scan Available Access Points
Create a symbolic link to the airport command for easy access:
```bash
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
```
Run a wireless scan:
```bash
airport -s
```
#### Show Wi-Fi Connection History
```bash
defaults read /Library/Preferences/SystemConfiguration/com.apple.airport.preferences | grep LastConnected -A 7