From charlesreid1

(Created page with "=The Embarassingly Difficult Task of Connecting to Wifi in Linux= ==One Time== Assuming your wireless device is wlan0, <pre> $ wpa_supplicant -D nl80211,wext -i wlan0 -c <(...")
 
(Redirected page to Linux/Wireless)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=The Embarassingly Difficult Task of Connecting to Wifi in Linux=
#REDIRECT [[Linux/Wireless]]
 
=Connecting to Wifi in Linux=


==One Time==
==One Time==
Line 29: Line 31:
$ dhclient wlan0
$ dhclient wlan0
</pre>
</pre>
{{WirelessFlag}}

Latest revision as of 06:37, 15 April 2017

Redirect to:

Connecting to Wifi in Linux

One Time

Assuming your wireless device is wlan0,

$ wpa_supplicant -D nl80211,wext -i wlan0 -c <(wpa_passphrase "MyRouter" "MyPassword")

Permanetly

Or, one time. Either one.

First, edit /etc/network/interfaces

Add the wireless interface and WPA information:

auto wlan0
iface wlan0 inet dhcp 
                wpa-ssid MyRouter
                wpa-psk  MyPassword

Now close the file and execute the command:

$ dhclient wlan0