mirror of
https://github.com/mayfrost/guides.git
synced 2024-10-31 23:16:06 +00:00
560 B
560 B
WiFi
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):
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:
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.