mirror of
https://github.com/mayfrost/guides.git
synced 2024-11-01 07:26:04 +00:00
17 lines
597 B
Markdown
17 lines
597 B
Markdown
# WiFi
|
|
|
|
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, not sudo):
|
|
`wpa_passphrase <SSID> <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_"):
|
|
`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.
|