Merge pull request #74 from JEphron/master

Add more Wi-Fi commands
This commit is contained in:
Marcel Bischoff 2015-11-04 12:55:32 +01:00
commit 529a99619c

View File

@ -775,6 +775,11 @@ dig +short myip.opendns.com @resolver1.opendns.com
### Wi-Fi
#### Join a Wi-Fi Network
```bash
networksetup -setairportnetwork en0 WIFI_SSID WIFI_PASSWORD
```
#### Scan Available Access Points
Create a symbolic link to the airport command for easy access:
```bash
@ -806,6 +811,11 @@ Exchange SSID with the SSID of the access point you wish to query the password f
security find-generic-password -D "AirPort network password" -a "SSID" -gw
```
#### Turn on Wi-Fi Adapter
```bash
networksetup -setairportpower en0 on
```
## Package Managers
- [Fink](http://www.finkproject.org) - The full world of Unix Open Source software for Darwin.