Update WIFI.md

This commit is contained in:
mayfrost 2018-03-01 03:00:06 +00:00 committed by GitHub
parent d186326550
commit 3e86a1a706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
WIFI.md
View File

@ -1,15 +1,15 @@
# WiFi # WiFi
Needs "_dhcpcd_" (or "_dhcpclient_"), "_wpa\_supplicant_", "_iproute2_" and wifi firmware (like "_iwlwifi_"). Meant to be run as "_root_" or with "_sudo_" Needs "_dhcpcd_" (or "_dhcpclient_"), "_wpa\_supplicant_", "_iproute2_" and wifi firmware (like "_iwlwifi_"). Meant to be run as "_root_" or with "_sudo_"
* Create the configuration file (as root): * Create the configuration file (as root):
`wpa_passphrase Your_SSID Your_passwd > /etc/wpa_supplicant.conf` `wpa_passphrase Your_SSID Your_passwd > /etc/wpa_supplicant.conf`
* Delete non hashed password from /etc/wpa_supplicant.conf * Delete non hashed password from /etc/wpa_supplicant.conf
* To connect type the following command: * To connect type the following command:
`ip link set wlan0 down` `ip link set wlan0 down`
`ip link set wlan0 up` `ip link set wlan0 up`
`wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf -Dwext` `wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf -Dwext`
`dhcpcd wlan0` `dhcpcd wlan0`