diff --git a/README.md b/README.md index c9b1658..00d434c 100644 --- a/README.md +++ b/README.md @@ -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.