diff --git a/README.md b/README.md index 9f2fd92..0e07be8 100644 --- a/README.md +++ b/README.md @@ -774,6 +774,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 @@ -805,6 +810,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.