mirror of
https://github.com/mayfrost/guides.git
synced 2024-11-01 07:26:04 +00:00
Update WIFI.md
This commit is contained in:
parent
cf6b6b442c
commit
ee6d88c26b
4
WIFI.md
4
WIFI.md
@ -5,7 +5,7 @@ __NOTE__: The "_\<DEVICE_NAME>_" can be either "_wlp3s0_" or "_wlan0_". Change a
|
|||||||
|
|
||||||
* Create the configuration file (as "_root_", not "_sudo_"):
|
* Create the configuration file (as "_root_", not "_sudo_"):
|
||||||
`wpa_passphrase <NETWORK_NAME> <PASSWORD> > /etc/wpa_supplicant.conf`
|
`wpa_passphrase <NETWORK_NAME> <PASSWORD> > /etc/wpa_supplicant.conf`
|
||||||
* Delete non hashed password from /etc/wpa_supplicant.conf
|
* Delete non hashed password from "_/etc/wpa_supplicant.conf_", but not the hashed one.
|
||||||
|
|
||||||
Each time you need to connect type the following command (as "_root_" or with "_sudo_"):
|
Each time you need to connect type the following command (as "_root_" or with "_sudo_"):
|
||||||
|
|
||||||
@ -21,6 +21,6 @@ Each time you need to connect type the following command (as "_root_" or with "_
|
|||||||
`wpa_supplicant -B -i<DEVICE_NAME> -c /etc/wpa_supplicant.conf -Dwext`
|
`wpa_supplicant -B -i<DEVICE_NAME> -c /etc/wpa_supplicant.conf -Dwext`
|
||||||
`dhclient <DEVICE_NAME>`
|
`dhclient <DEVICE_NAME>`
|
||||||
|
|
||||||
You can save either example in a script to activate Wi-Fi.
|
You can save either example in a script to activate the Wi-Fi whenever you want.
|
||||||
|
|
||||||
* Note: As an educational tip, the name of a network is also called "_SSID_" in other places.
|
* Note: As an educational tip, the name of a network is also called "_SSID_" in other places.
|
||||||
|
Loading…
Reference in New Issue
Block a user