Difference between revisions of "Linux Wireless"
From wikidb
(→Reboot) |
(→Command Line Attempts) |
||
Line 19: | Line 19: | ||
== Command Line Attempts == | == Command Line Attempts == | ||
+ | |||
+ | === Example 1 === | ||
The following did not work. | The following did not work. | ||
Line 32: | Line 34: | ||
* [http://askubuntu.com/questions/191836/wpa-supplicants-connection-issues Setup] | * [http://askubuntu.com/questions/191836/wpa-supplicants-connection-issues Setup] | ||
+ | |||
+ | === Example 2 === | ||
+ | |||
+ | sudo wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext | ||
+ | Successfully initialized wpa_supplicant | ||
+ | ioctl[SIOCSIWENCODEEXT]: Invalid argument | ||
+ | ioctl[SIOCSIWENCODEEXT]: Invalid argument | ||
+ | sudo dhclient wlan0 | ||
+ | freezes | ||
+ | |||
+ | * [http://superuser.com/questions/454548/dhclient-does-not-work-on-wlan0-with-wep-how-do-i-fix-it setup] | ||
= Old = | = Old = |
Revision as of 00:29, 23 November 2015
Contents
Setting up Ubuntu 14.04
WPA Config
Created the /etc/wpa_supplicant/wpa_supplicant.conf WPA authentication
network={ ssid="zdome" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk="********" }
Reboot
Tried a lot of things on the command line but a reboot may have been the key to getting wireless to come up. See next command line attempts.
Command Line Attempts
Example 1
The following did not work.
sudo ifconfig wlan0 down sudo iwconfig wlan0 essid "zdome" sudo iwconfig wlan0 mode Managed sudo ifconfig wlan0 up iwconfig sudo dhclient wlan0
freezes
Example 2
sudo wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext Successfully initialized wpa_supplicant ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[SIOCSIWENCODEEXT]: Invalid argument sudo dhclient wlan0
freezes
Old
At the Command Line
Initial Setup
Based on a problem reported in /var/log/messages. (See resources below.)
sudo mkdir -p /etc/Wireless/RT2860STA sudo touch /etc/Wireless/RT2860STA/RT2860STA.dat sudo service network-manager restart
Status
ifconfig iwconfig iwlist wlan0 scan lspci | grep Network sudo lshw -C network
Configure
sudo ifconfig wlan0 up
The following didn't work. According to some of the resources cited below, the issue may be the the driver was not compiled with the command line option. The GUI option works.
eepp@tabor:~$ sudo iwconfig wlan0 essid "zdomeWLAN" key xxxxxxxxxx [sudo] password for eepp: eepp@tabor:~$ iwconfig lo no wireless extensions. eth0 no wireless extensions. wlan0 RT2860 Wireless ESSID:"" Nickname:"RT2860STA" Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated Bit Rate:1 Mb/s RTS thr:off Fragment thr:off Link Quality=70/100 Signal level:-75 dBm Noise level:-115 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
At the GUI
In the upper right menu <uparror downarrow menu> and selected zdomeWLAN. Followed through with the setup. This worked.