diff --git a/WIFI.md b/WIFI.md index cc2c7b3..6cfe8a1 100644 --- 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`