mirror of
https://github.com/mayfrost/guides.git
synced 2024-11-28 02:11:46 +00:00
Update WIFI.md
This commit is contained in:
parent
d3cd9b43eb
commit
ddbd718b8c
8
WIFI.md
8
WIFI.md
@ -1,12 +1,12 @@
|
|||||||
# WiFi
|
# 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`
|
`wpa_passphrase <NETWORK_NAME> <PASSWORD> > /etc/wpa_supplicant.conf`
|
||||||
* Delete non hashed password from /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 down`
|
||||||
`ip link set wlan0 up`
|
`ip link set wlan0 up`
|
||||||
`wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf -Dwext`
|
`wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf -Dwext`
|
||||||
@ -14,3 +14,5 @@ Use WiFi without a separate network manager. Needs "_dhcpcd_" (or "_dhcpclient_"
|
|||||||
|
|
||||||
|
|
||||||
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_".
|
||||||
|
Loading…
Reference in New Issue
Block a user