commit ddbd718b8c300242e50393818d5efe6c97e6dbda
parent d3cd9b43eb237adef09365638f433a5ce3f6e6b6
Author: mayfrost <mayfrost@cock.li>
Date: Thu, 1 Mar 2018 03:13:42 +0000
Update WIFI.md
Diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/WIFI.md b/WIFI.md
@@ -1,16 +1,18 @@
# WiFi
-Use WiFi without a separate network manager. Needs "_dhcpcd_" (or "_dhcpclient_"), "_wpa\_supplicant_", "_iproute2_" and wifi firmware (like "_iwlwifi_"). The name of a network is also called "_SSID_".
+Use WiFi without a separate network manager with this simple guide. Needs "_dhcpcd_" (or "_dhcpclient_"), "_wpa\_supplicant_", "_iproute2_" and wifi firmware (like "_iwlwifi_").
-* 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`
* Delete non hashed password from /etc/wpa_supplicant.conf
-* 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_"):
`ip link set wlan0 down`
`ip link set wlan0 up`
`wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf -Dwext`
`dhcpcd wlan0`
-You can save the last step in a script.
+You can save the last step in a script.
+
+* Note: The name of a network is also called "_SSID_".