Add more Wi-Fi commands
This commit is contained in:
parent
e0d93070fd
commit
444d40ac9a
10
README.md
10
README.md
@ -774,6 +774,11 @@ dig +short myip.opendns.com @resolver1.opendns.com
|
|||||||
|
|
||||||
### Wi-Fi
|
### Wi-Fi
|
||||||
|
|
||||||
|
#### Join a Wi-Fi Network
|
||||||
|
```bash
|
||||||
|
networksetup -setairportnetwork en0 WIFI_SSID WIFI_PASSWORD
|
||||||
|
```
|
||||||
|
|
||||||
#### Scan Available Access Points
|
#### Scan Available Access Points
|
||||||
Create a symbolic link to the airport command for easy access:
|
Create a symbolic link to the airport command for easy access:
|
||||||
```bash
|
```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
|
security find-generic-password -D "AirPort network password" -a "SSID" -gw
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Turn on Wi-Fi Adapter
|
||||||
|
```bash
|
||||||
|
networksetup -setairportpower en0 on
|
||||||
|
```
|
||||||
|
|
||||||
## Package Managers
|
## Package Managers
|
||||||
|
|
||||||
- [Fink](http://www.finkproject.org) - The full world of Unix Open Source software for Darwin.
|
- [Fink](http://www.finkproject.org) - The full world of Unix Open Source software for Darwin.
|
||||||
|
Loading…
Reference in New Issue
Block a user