mayfrost-guides/WIFI.md

17 lines
597 B
Markdown
Raw Normal View History

2018-03-01 02:58:41 +00:00
# WiFi
2018-03-01 03:04:57 +00:00
Use WiFi without a separate network manager. Needs "_dhcpcd_" (or "_dhcpclient_"), "_wpa\_supplicant_", "_iproute2_" and wifi firmware (like "_iwlwifi_").
2018-03-01 02:58:41 +00:00
2018-03-01 03:04:57 +00:00
* Create the configuration file (as root, not sudo):
2018-03-01 03:06:43 +00:00
`wpa_passphrase <SSID> <PASSWORD> > /etc/wpa_supplicant.conf`
2018-03-01 03:00:06 +00:00
* Delete non hashed password from /etc/wpa_supplicant.conf
2018-03-01 02:58:41 +00:00
2018-03-01 03:04:57 +00:00
* To connect type the following command (as "_root_" or with "_sudo_"):
2018-03-01 03:00:06 +00:00
`ip link set wlan0 down`
`ip link set wlan0 up`
`wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf -Dwext`
2018-03-01 02:58:41 +00:00
`dhcpcd wlan0`
You can save the last step in a script.