Pandaboard ES Rev B1 - WiFi not working

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Pandaboard ES Rev B1 - WiFi not working

Postby dragondgold » Sun Aug 30, 2015 10:48 pm

I recently installed Archlinux on my Pandaboard following this: http://archlinuxarm.org/platforms/armv7/ti/pandaboard and it's working great, I just love it, it's really fast and lightweight!

I have used the Ethernet connection for setting up everything but now I want to use my WiFi network. When I run ifconfig I can't see any WiFi adapter, just Ethernet. Also, just after booting I see some messages like this:

$this->bbcode_second_pass_code('', 'cfg80211: Calling CRDA to update world regulatory domain')

After some of them it just gives up:

$this->bbcode_second_pass_code('', 'cfg80211: Exceeded CRDA call max attempts. Not calling CRDA')

I also tried to install the ti-connectivity package shown here viewtopic.php?f=48&t=4116 but when I run pacman -S ti-connectivity It doesn't find the package!

Is WiFi supported? Am I missing something?
dragondgold
 
Posts: 9
Joined: Sun Aug 30, 2015 10:42 pm

Re: Pandaboard ES Rev B1 - WiFi not working

Postby moonman » Mon Aug 31, 2015 4:30 am

you can install crda manually. But it should work without it. Did you just run ifconfig? it won't show devices that are down if you don't use ifconfig -a
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Pandaboard ES Rev B1 - WiFi not working

Postby dragondgold » Mon Aug 31, 2015 1:54 pm

Great, now I see wlan0 you are right. This is what I'm doing to connect to my WiFi network:

$this->bbcode_second_pass_code('', 'ip link set wlan0 up
wpa_supplicant -D nl80211,wext -i wlan0 -c <(wpa_passphrase "my SSID" "my password") -B')

And this is the output:

$this->bbcode_second_pass_code('', '[ 844.063903] ------------[ cut here ]------------
[ 844.068756] WARNING: CPU: 0 PID: 6 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x3c/0x74 [wlcore]()
[ 844.080902] Modules linked in: ctr ccm arc4 wl12xx wlcore mac80211 cfg80211 snd_soc_omap_abe_twl6040 snd_soc_twl6040 snd_soc_omap_hdmi_audio snd_soc_omap_mcbsp snd_soc_omap_mcpdm snd_soc_omap rfkill ss
[ 844.120574] CPU: 0 PID: 6 Comm: kworker/u4:0 Tainted: G W 4.1.6-1-ARCH #1
[ 844.128875] Hardware name: Generic OMAP4 (Flattened Device Tree)
[ 844.135223] Workqueue: phy0 wl1271_scan_complete_work [wlcore]
[ 844.141296] [<c00189e0>] (unwind_backtrace) from [<c0013424>] (show_stack+0x20/0x24)
[ 844.149597] [<c0013424>] (show_stack) from [<c093fe30>] (dump_stack+0x7c/0x98)
[ 844.157196] [<c093fe30>] (dump_stack) from [<c00530a4>] (warn_slowpath_common+0x98/0xc4)
[ 844.165740] [<c00530a4>] (warn_slowpath_common) from [<c005318c>] (warn_slowpath_null+0x2c/0x34)
[ 844.174987] [<c005318c>] (warn_slowpath_null) from [<bf4b79ec>] (wl12xx_queue_recovery_work+0x3c/0x74 [wlcore])
[ 844.185668] [<bf4b79ec>] (wl12xx_queue_recovery_work [wlcore]) from [<bf4c969c>] (wl1271_scan_complete_work+0xd0/0xfc [wlcore])
[ 844.197814] [<bf4c969c>] (wl1271_scan_complete_work [wlcore]) from [<c006968c>] (process_one_work+0x224/0x398)
[ 844.208404] [<c006968c>] (process_one_work) from [<c006a448>] (worker_thread+0x2f4/0x448)
[ 844.217010] [<c006a448>] (worker_thread) from [<c006ecdc>] (kthread+0xe8/0xfc)
[ 844.224609] [<c006ecdc>] (kthread) from [<c000f568>] (ret_from_fork+0x14/0x2c)
[ 844.232208] ---[ end trace 11010587bceedc11 ]---
[ 844.237152] wlcore: Hardware recovery in progress. FW ver: Rev 6.3.10.0.133
[ 844.244903] wlcore: pc: 0x0, hint_sts: 0x00000020 count: 4
[ 844.251037] wlcore: down
[ 844.254486] ieee80211 phy0: Hardware restart was requested
[ 844.723480] wlcore: firmware booted (Rev 6.3.10.0.133)
[ 852.403808] wlan0: authenticate with 58:6d:8f:af:a1:42
[ 852.435546] wlan0: send auth to 58:6d:8f:af:a1:42 (try 1/3)
[ 852.446380] wlan0: authenticated
[ 852.459106] wlan0: associate with 58:6d:8f:af:a1:42 (try 1/3)
[ 852.469146] wlan0: RX AssocResp from 58:6d:8f:af:a1:42 (capab=0x411 status=0 aid=5)
[ 852.485992] wlan0: associated
[ 852.491882] wlan0: deauthenticating from 58:6d:8f:af:a1:42 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 852.578857] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
[ 859.401245] wlan0: authenticate with 58:6d:8f:af:a1:42
[ 859.412506] wlan0: send auth to 58:6d:8f:af:a1:42 (try 1/3)
[ 859.421264] wlan0: authenticated
[ 859.433898] wlan0: associate with 58:6d:8f:af:a1:42 (try 1/3)
[ 859.450164] wlan0: RX AssocResp from 58:6d:8f:af:a1:42 (capab=0x411 status=0 aid=5)
[ 859.466796] wlan0: associated
[ 859.470672] wlan0: deauthenticating from 58:6d:8f:af:a1:42 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 859.567718] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
[ 863.108093] wlan0: authenticate with 58:6d:8f:af:a1:42
[ 863.145843] wlan0: send auth to 58:6d:8f:af:a1:42 (try 1/3)
[ 863.154113] wlan0: authenticated
[ 863.161224] wlan0: associate with 58:6d:8f:af:a1:42 (try 1/3)
[ 863.184814] wlan0: RX AssocResp from 58:6d:8f:af:a1:42 (capab=0x411 status=0 aid=5)
[ 863.199645] wlan0: associated
[ 863.203765] wlan0: deauthenticating from 58:6d:8f:af:a1:42 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 863.313751] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
[ 879.504028] wlan0: authenticate with 58:6d:8f:af:a1:42
[ 879.581054] wlan0: send auth to 58:6d:8f:af:a1:42 (try 1/3)
[ 879.589324] wlan0: authenticated
[ 879.597167] wlan0: associate with 58:6d:8f:af:a1:42 (try 1/3)
[ 879.607208] wlan0: RX AssocResp from 58:6d:8f:af:a1:42 (capab=0x411 status=0 aid=5)
[ 879.624328] wlan0: associated
[ 879.633636] wlan0: deauthenticating from 58:6d:8f:af:a1:42 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 879.696868] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA')

Previously I disconnected my Ethernet cable from the board, but $this->bbcode_second_pass_code('', 'iw dev wlan0 link') keeps returning Not Connected

PS: sometimes I do get connected to the WiFi network but after a few seconds I get:

$this->bbcode_second_pass_code('', 'wlan0: deauthenticating from 58:6d:8f:af:a1:42 by local choice (Reason: 3=DEAUTH_LEAVING)')

And connection is lost again

PS2: I think the problem is related to CRDA. If I run for example "iw reg set US" I get:

$this->bbcode_second_pass_code('', '[ 1515.596954] cfg80211: Calling CRDA to update world regulatory domain
[ 1518.777130] cfg80211: Calling CRDA to update world regulatory domain
[ 1521.930877] cfg80211: Calling CRDA to update world regulatory domain
[ 1525.120025] cfg80211: Calling CRDA to update world regulatory domain
[ 1528.352600] cfg80211: Calling CRDA to update world regulatory domain
[ 1531.506530] cfg80211: Calling CRDA to update world regulatory domain
[ 1534.694274] cfg80211: Calling CRDA to update world regulatory domain
[ 1537.845977] cfg80211: Calling CRDA to update world regulatory domain
[ 1541.054077] cfg80211: Calling CRDA to update world regulatory domain
[ 1544.205963] cfg80211: Calling CRDA to update world regulatory domain
[ 1547.396850] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA')
dragondgold
 
Posts: 9
Joined: Sun Aug 30, 2015 10:42 pm

Re: Pandaboard ES Rev B1 - WiFi not working

Postby dragondgold » Wed Sep 02, 2015 1:52 pm

Bump!
dragondgold
 
Posts: 9
Joined: Sun Aug 30, 2015 10:42 pm

Re: Pandaboard ES Rev B1 - WiFi not working

Postby moonman » Wed Sep 02, 2015 11:24 pm

Have ypu set ypur country in the config file rather than calling iw
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Pandaboard ES Rev B1 - WiFi not working

Postby dragondgold » Thu Sep 03, 2015 3:09 am

Ok, finally got it working! This was my procedure:

1 - ifconfig wlan0 up (enable WiFi)
2 - wpa_passphrase "ssid" > /etc/wpa_supplicant.conf (Generate the configuration file with the PSK)
3 - nano /etc/wpa_supplicant.conf, edit the configuration file so it looks like this:

$this->bbcode_second_pass_code('', 'network={
ssid="ssid"
proto=WPA
key_mgmt=WPA-PSK
psk=945609a382413e64d57daef00eb5fab3ae228716e1e440981c004bc61dccc98c (ask key obtained from wpa_passphrase)
}')

4 - Connect to the network: wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf nl80211,wext -B (using wpa_supplicant -D nl80211,wext -i wlan0 -c <(wpa_passphrase "your_SSID" "your_key") as mentioned in the wiki https://wiki.archlinux.org/index.php/Wireless_network_configuration#Manual_setup doesn't work for me)
5 - dhcpcd wlan0, get an IP address
dragondgold
 
Posts: 9
Joined: Sun Aug 30, 2015 10:42 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 1 guest