Wrong mailing list, forwarding lo linaro-dev
---------- Forwarded message ---------- From: Alex Stefanescu stefanescu@rice.edu Date: 18 November 2012 02:09 Subject: trouble using wifi on Linaro Ubuntu for Pandaboard
Hello,
I'm having trouble connecting to wifi on the Linaro Ubuntu releases for the Pandaboard. I've tried with both 12.10 and 12.09 releases, which are listed to have passed the wifi test.
I don't have a screen attached to the Pandaboard and I'm using minicom over serial cable. Basically after boot I see:
root@linaro-ubuntu-desktop:/boot# iwconfig
lo no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on
eth0 no wireless extensions.
root@linaro-ubuntu-desktop:/boot# iwlist wlan0 scan
wlan0 Scan completed : [...] Cell 02 - Address: 08:D0:9F:BF:27:51 Channel:6 Frequency:2.437 GHz (Channel 6) Quality=44/70 Signal level=-66 dBm Encryption key:off ESSID:"Rice Visitor" Bit Rates:5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s; 12 Mb/s 18 Mb/s; 24 Mb/s; 36 Mb/s Bit Rates:48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=000002008b96ed23 Extra: Last beacon: 85ms ago [...]
root@linaro-ubuntu-desktop:/boot# iwconfig wlan0 essid "Rice Visitor"
[...]
[ 228.734680] wlan0: associate with 08:d0:9f:bf:27:51 (try 1/3) [ 228.746246] wlan0: RX AssocResp from 08:d0:9f:bf:27:51 (capab=0x421 status=0 aid=4) [ 228.805328] wl12xx: Association completed. [ 228.827392] wlan0: associated [ 228.831237] cfg80211: Calling CRDA for country: US [ 228.836761] wlan0: disassociating from 08:d0:9f:bf:27:51 by local choice (reason=3) [ 228.926635] cfg80211: All devices are disconnected, going to restore regulatory settings [...]
After which there are several more similar connect-disconnect phases and eventually the wlan firmware crashes and has to reboot.
I'm using Pandaboard with OMAP4430 and wl1271 wlan chipset.
I've also tried running wpa_supplicant manually to connect to both the same open network, or another one secured with WPA2 (I used the wpa_supplicant.conf from an Android phone so I'm pretty sure it was correct) and I have the same issue. There is also a wpa_supplicant always running in the background, does it matter?
root@linaro-ubuntu-desktop:/boot# ps -ef | grep wpa
root 2083 1 0 Nov15 ? 00:01:16 /sbin/wpa_supplicant -B -P /run/sendsigs.omit.d/wpasupplicant.pid -u -s -O /var/run/wpa_supplicant
Thank you!
On 11/18/12 16:24, the mail apparently from Fathi Boudra included:
Wrong mailing list, forwarding lo linaro-dev
---------- Forwarded message ---------- From: Alex Stefanescu stefanescu@rice.edu Date: 18 November 2012 02:09 Subject: trouble using wifi on Linaro Ubuntu for Pandaboard
Hello,
I'm having trouble connecting to wifi on the Linaro Ubuntu releases for the Pandaboard. I've tried with both 12.10 and 12.09 releases, which are listed to have passed the wifi test.
...
I'm using Pandaboard with OMAP4430 and wl1271 wlan chipset.
I've also tried running wpa_supplicant manually to connect to both the same open network, or another one secured with WPA2 (I used the wpa_supplicant.conf from an Android phone so I'm pretty sure it was correct) and I have the same issue. There is also a wpa_supplicant always running in the background, does it matter?
Yes you can't have two wpa_supplicants fighting over the state of the same wireless interface.
The "by hand" method for the WPA2 network -->
# service network-manager stop # wpa_passphrase "Rice Visitor" > /etc/wpa_supplicant/wpa_supplicant.conf
(type the AP passphrase and enter)
# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf &
(should associate after a second or two)
# dhclient wlan0
At that point you should have an IP on wlan0, default route and DNS configured and workable.
For unencrypted AP "by hand", you don't use wpa_supplicant.
# service network-manager stop # killall wpa_supplicant # iwlist wlan0 scan
(find your AP, use its info below)
# ifconfig wlan0 up # iwconfig wlan0 essid "Unencypted AP Name" # iwconfig wlan0 chan 11 # iwconfig wlan0 ap 00:1F:12:34:56:78
(check if associated)
# iwconfig
wlan0 IEEE 802.11abgn ESSID:"Unencrypted AP Name" Mode:Managed Frequency:2.462 GHz Access Point: 00:1F:12:34:56:78 Bit Rate=72.2 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on Link Quality=40/70 Signal level=-70 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:2 Missed beacon:0
# dhclient wlan0
Again your connection should have DNS, route and be workable.
If you're missing some of these commands make sure you have dhcp3-client and wireless-tools packages.
-Andy