commit 19bc1de99489143190d5a1e6d2467422c17b69e0
parent 3e86a1a7064dc6ee99c4624039ea07dc343d2b1b
Author: mayfrost <mayfrost@cock.li>
Date: Thu, 1 Mar 2018 03:04:57 +0000
Update WIFI.md
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/WIFI.md b/WIFI.md
@@ -1,12 +1,12 @@
# WiFi
-Needs "_dhcpcd_" (or "_dhcpclient_"), "_wpa\_supplicant_", "_iproute2_" and wifi firmware (like "_iwlwifi_"). Meant to be run as "_root_" or with "_sudo_"
+Use WiFi without a separate network manager. Needs "_dhcpcd_" (or "_dhcpclient_"), "_wpa\_supplicant_", "_iproute2_" and wifi firmware (like "_iwlwifi_").
-* Create the configuration file (as root):
+* Create the configuration file (as root, not sudo):
`wpa_passphrase Your_SSID Your_passwd > /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 (as "_root_" or with "_sudo_"):
`ip link set wlan0 down`
`ip link set wlan0 up`
`wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf -Dwext`