Wireless/Struggles: Difference between revisions
From charlesreid1
No edit summary |
|||
| Line 29: | Line 29: | ||
$ dhclient wlan0 | $ dhclient wlan0 | ||
</pre> | </pre> | ||
{{WirelessFlag}} | |||
Revision as of 04:38, 27 January 2016
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
| Wireless all things wireless.
Software:
|