USB wireless can't get an IP address via dhcp

675 views
Skip to first unread message

Sid Boyce

unread,
Aug 8, 2009, 10:05:25 AM8/8/09
to beagl...@googlegroups.com
My openSUSE boxes are OK and I can see the Edimax dongle attached to the
Beagleboard beaconing.
From /etc/network/interfaces
============================
iface wlan0 inet dhcp
wpa-essid TalkTalk520
wpa-psk xxxxxxxxxxxxxxxx
===================================

root@beagleboard:~# ^Mroot@beagleboard:~# iwlist scan
lo Interface doesn't support scanning.

wmaster0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:1B:9E:82:66:27
ESSID:"TalkTalk520"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=51/100 Signal level:-50 dBm
Encryption key:on
IE: Unknown: 000B54616C6B54616C6B353230
IE: Unknown: 010482848B96
IE: Unknown: 030101
IE: Unknown: 2A0104
IE: Unknown: 32080C1218243048606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000560cd6036c
Extra: Last beacon: 648ms ago

root@beagleboard:~# iwconESC[5D^Mroot@beagleboard:~# iwconfig
lo no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.457 GHz Access Point: Not-Associated
Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

root@beagleboard:~#
root@beagleboard:~# dmesg|grep rt73
[42754.261322] wmaster0 (rt73usb): not using net_device_ops yet
[42754.268096] wlan0 (rt73usb): not using net_device_ops yet
[42754.274627] Registered led device: rt73usb-phy3:radio
[42754.279907] Registered led device: rt73usb-phy3:assoc
[42754.285156] Registered led device: rt73usb-phy3:quality
[42754.632598] rt73usb 1-2.2:1.0: firmware: requesting rt73.bin
[42755.915710] rt73usb 1-2.2:1.0: firmware: requesting rt73.bin
root@beagleboard:~#

The firmware is correct and the same size as on my other boxes.
Perhaps the "[42754.268096] wlan0 (rt73usb): not using net_device_ops
yet" is significant, I don't get it on my openSUSE boxes.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

djlewis

unread,
Aug 8, 2009, 5:46:31 PM8/8/09
to Beagle Board

hello Sid,
this is common place. lost of posts regarding wifi and BB.
You didn't mention your BB os you are using.
Short answer that usually works is:

Break link to /etc/resolv.conf
rm -f /etc/resolv.conf

resolv.conf should have your dns

Disable/etc /init.d/connman
chmod -x /etc /init.d/connman

reboot

I use static ip's and edit my hosts. hostname. resolve.conf.
interfaces files.

I hope you get it working
Don Lewis
----------------------------------

Sid Boyce

unread,
Aug 8, 2009, 7:34:46 PM8/8/09
to beagl...@googlegroups.com
On 08/08/09 22:46, djlewis wrote:
>
>
> hello Sid,
> this is common place. lost of posts regarding wifi and BB.
> You didn't mention your BB os you are using.
> Short answer that usually works is:
>
> Break link to /etc/resolv.conf
> rm -f /etc/resolv.conf
>
It was a hard file before and on reboot it makes the symlink to
/var/run/resolv.conf which is empty.

> resolv.conf should have your dns
>

The dns was in the original /etc/resolv.conf file.

> Disable/etc /init.d/connman
Do you mean "stop" here?

> chmod -x /etc /init.d/connman
>
Was already rwx-r-x-r-x.

> reboot
>
No change after reboot.


> I use static ip's and edit my hosts. hostname. resolve.conf.
> interfaces files.

I shall try using static values with the ESSID and WPA-PSK key added.

>
> I hope you get it working
> Don Lewis
> ----------------------------------

Regards
Sid.

Koen Kooi

unread,
Aug 9, 2009, 1:30:26 PM8/9/09
to beagl...@googlegroups.com

Op 8 aug 2009, om 23:46 heeft djlewis het volgende geschreven:

> Disable/etc /init.d/connman
> chmod -x /etc /init.d/connman

Will people please stop posting such hacks? In the connman case you
should do one of the following:

* use update-rc.d to disable the startup scripts
* edit /var/lib/connman/defaults.conf and add something like
[Configuration]
Policy=manual
Priority=200
* edit /var/lib/connman/dev_<your mac addres>.conf and change Policy
to manual
* use the connman gui to have connman ignore the interface

regards,

Koen

PGP.sig

Sid Boyce

unread,
Aug 9, 2009, 3:48:47 PM8/9/09
to beagl...@googlegroups.com
On 09/08/09 18:30, Koen Kooi wrote:
>
> Op 8 aug 2009, om 23:46 heeft djlewis het volgende geschreven:
>
>> Disable/etc /init.d/connman
>> chmod -x /etc /init.d/connman
>
> Will people please stop posting such hacks? In the connman case you
> should do one of the following:
>
> * use update-rc.d to disable the startup scripts
> * edit /var/lib/connman/defaults.conf and add something like
> [Configuration]
> Policy=manual
> Priority=200
File doesn't exist, but I can create it.

> * edit /var/lib/connman/dev_<your mac addres>.conf and change Policy to
> manual

OK, it's set to auto.

> * use the connman gui to have connman ignore the interface
>

Keyboard is the only USB device that is never enumerated, so I shall
have to edit the MMC on one of my boxes.
# less /var/lib/connman/dev_00_0E_2E_E3_80_9B.conf

[Configuration]
Policy=auto
Priority=100
ScanInterval=30
> regards,
>
> Koen

Koen Kooi

unread,
Aug 9, 2009, 4:24:39 PM8/9/09
to beagl...@googlegroups.com

Op 8 aug 2009, om 16:05 heeft Sid Boyce het volgende geschreven:

>
> wlan0 IEEE 802.11bg ESSID:""
> Mode:Managed Frequency:2.457 GHz Access Point: Not-
> Associated

Your card is not associated with any accespoint, so dhcp will never
work.

regards,

Koen

PGP.sig

Sid Boyce

unread,
Aug 9, 2009, 5:17:05 PM8/9/09
to beagl...@googlegroups.com
In /etc/network/interfaces I have tried
iface wlan0 inet dhcp

wpa-essid TalkTalk520
wpa-psk XXXXXXXXXXXXXXXX
and
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
wpa-driver hostap

# less /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant

# home network; allow all valid ciphers
network={
ssid="TalkTalk520"
scan_ssid=1
key_mgmt=WPA-PSK
psk="XXXXXXXXXXXXXXXX"

Ihar Hrachyshka

unread,
Aug 9, 2009, 5:25:52 PM8/9/09
to beagl...@googlegroups.com

Maybe it's a little silly question but... Have you tried 'ifup wlan0'?

Sid Boyce

unread,
Aug 9, 2009, 6:52:04 PM8/9/09
to beagl...@googlegroups.com
On 09/08/09 22:25, Ihar Hrachyshka wrote:
>
> On Mon, Aug 10, 2009 at 12:17 AM, Sid Boyce<sbo...@blueyonder.co.uk> wrote:
>>
>> On 09/08/09 21:24, Koen Kooi wrote:
>>>
>>> Op 8 aug 2009, om 16:05 heeft Sid Boyce het volgende geschreven:
>>>
>>>>
>>>> wlan0   IEEE 802.11bg  ESSID:""
>>>>      Mode:Managed  Frequency:2.457 GHz  Access Point: Not-Associated

>>>
>>> Your card is not associated with any accespoint, so dhcp will never work.
>>>
>>> regards,
>>>
>>> Koen
>> In /etc/network/interfaces I have tried
>> iface wlan0 inet dhcp
>>
>> Â Â Â Â wpa-essid TalkTalk520
>> Â Â Â Â wpa-psk XXXXXXXXXXXXXXXX

>> and
>> iface wlan0 inet dhcp
>> Â Â Â Â wpa-conf /etc/wpa_supplicant.conf
>> Â Â Â Â wpa-driver hostap

>>
>> # less /etc/wpa_supplicant.conf
>> ctrl_interface=/var/run/wpa_supplicant
>>
>> # home network; allow all valid ciphers
>> Â Â Â Â Â network={
>> Â Â Â Â Â Â Â ssid="TalkTalk520"
>> Â Â Â Â Â Â Â scan_ssid=1
>> Â Â Â Â Â Â Â key_mgmt=WPA-PSK
>> Â Â Â Â Â Â Â psk="XXXXXXXXXXXXXXXX"
>> Â Â Â Â Â }

>> Regards
>> Sid.
>> --
>
> Maybe it's a little silly question but... Have you tried 'ifup wlan0'?
>

>
beagleboard login: root
root@beagleboard:~# ifup wlan0
WPA: Configuring Interface
[ 62.844360] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 72.491973] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
udhcpc (v1.13.2) started
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
Sending discover...
Sending discover...
Sending discover...
No lease, failing
root@beagleboard:~# iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:"TalkTalk520"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated


Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

ifconfig doesn't look right, must check the interfaces file again to see
if avahi is on. Besides address should be 192.168.1.x
root@beagleboard:~ ifconfig
wlan0 Link encap:Ethernet HWaddr 00:0E:2E:E3:80:9B
inet6 addr: fe80::20e:2eff:fee3:809b/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan0:avahi Link encap:Ethernet HWaddr 00:0E:2E:E3:80:9B
inet addr:169.254.9.27 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1


wmaster0 Link encap:UNSPEC HWaddr
00-0E-2E-E3-80-9B-50-C7-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

root@beagleboard:~#

Some stuff from dmesg - looks like it's disconnecting for some reason
=====================
[ 663.151184] wlan0: associated
[ 663.167968] wlan0: disassociating by local choice (reason=3)
[ 663.948333] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 663.973449] wlan0: authenticated
[ 663.973480] wlan0: associate with AP 00:1b:9e:82:66:27
[ 664.000946] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 664.192169] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 664.318115] wlan0: authenticated
[ 664.318115] wlan0: associate with AP 00:1b:9e:82:66:27
[ 664.321350] wlan0: RX ReassocResp from 00:1b:9e:82:66:27 (capab=0x411
status=0 aid=4)
[ 664.321350] wlan0: associated
[ 664.328948] wlan0: disassociating by local choice (reason=3)
[ 665.089691] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 665.111022] wlan0: authenticated
[ 665.111053] wlan0: associate with AP 00:1b:9e:82:66:27
[ 665.132934] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 665.324981] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 665.455688] wlan0: authenticated
[ 665.455718] wlan0: associate with AP 00:1b:9e:82:66:27
[ 665.458984] wlan0: RX ReassocResp from 00:1b:9e:82:66:27 (capab=0x411
status=0 aid=4)
[ 665.459014] wlan0: associated
[ 665.465179] wlan0: disassociating by local choice (reason=3)
[ 666.230529] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 666.252410] wlan0: authenticated
[ 666.252471] wlan0: associate with AP 00:1b:9e:82:66:27
[ 666.274658] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 666.465606] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 666.597076] wlan0: authenticated
[ 666.597106] wlan0: associate with AP 00:1b:9e:82:66:27
[ 666.600708] wlan0: RX ReassocResp from 00:1b:9e:82:66:27 (capab=0x411
status=0 aid=4)
[ 666.600738] wlan0: associated
[ 666.608062] wlan0: disassociating by local choice (reason=3)

root@beagleboard:~#

This time tried without hostap driver in /etc/network/interfaces, not
required for this device.


iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf

Sid Boyce

unread,
Aug 9, 2009, 7:05:22 PM8/9/09
to beagl...@googlegroups.com
On 09/08/09 22:25, Ihar Hrachyshka wrote:
>
> On Mon, Aug 10, 2009 at 12:17 AM, Sid Boyce<sbo...@blueyonder.co.uk> wrote:
>>
>> On 09/08/09 21:24, Koen Kooi wrote:
>>>
>>> Op 8 aug 2009, om 16:05 heeft Sid Boyce het volgende geschreven:
>>>
>>>>
>>>> wlan0   IEEE 802.11bg  ESSID:""
>>>>      Mode:Managed  Frequency:2.457 GHz  Access Point: Not-Associated

>>>
>>> Your card is not associated with any accespoint, so dhcp will never work.
>>>
>>> regards,
>>>
>>> Koen
>> In /etc/network/interfaces I have tried
>> iface wlan0 inet dhcp
>>
>> Â Â Â Â wpa-essid TalkTalk520
>> Â Â Â Â wpa-psk XXXXXXXXXXXXXXXX

>> and
>> iface wlan0 inet dhcp
>> Â Â Â Â wpa-conf /etc/wpa_supplicant.conf
>> Â Â Â Â wpa-driver hostap

>>
>> # less /etc/wpa_supplicant.conf
>> ctrl_interface=/var/run/wpa_supplicant
>>
>> # home network; allow all valid ciphers
>> Â Â Â Â Â network={
>> Â Â Â Â Â Â Â ssid="TalkTalk520"
>> Â Â Â Â Â Â Â scan_ssid=1
>> Â Â Â Â Â Â Â key_mgmt=WPA-PSK
>> Â Â Â Â Â Â Â psk="XXXXXXXXXXXXXXXX"
>> Â Â Â Â Â }
>> Regards
>> Sid.
>> --
>
> Maybe it's a little silly question but... Have you tried 'ifup wlan0'?
>

Attached is a snapshot of the router, the beagleboard does not show up
there with the rest of the boxes.

ROUTER_Leases.png

Ihar Hrachyshka

unread,
Aug 9, 2009, 8:10:01 PM8/9/09
to beagl...@googlegroups.com

Seems to be better. Retry ifdown wlan0/ifup wlan0. Sometimes it helps
(at least for my laptop wireless atheros card).

Michael Evans

unread,
Aug 10, 2009, 5:48:42 AM8/10/09
to beagl...@googlegroups.com

You might want to check the region for the wifi and the router.  I had a problem where the wireless router was set to UK country and auto-selected channel 13 - which isn't valid for USA which is what the BeagleBoard / Angstrom was using...

> Date: Mon, 10 Aug 2009 03:10:01 +0300
> Subject: [beagleboard] Re: USB wireless can't get an IP address via dhcp
> From: ihar.hr...@gmail.com
> To: beagl...@googlegroups.com
Message has been deleted

Sid Boyce

unread,
Aug 10, 2009, 11:42:40 AM8/10/09
to beagl...@googlegroups.com
On 10/08/09 10:48, Michael Evans wrote:
>
> You might want to check the region for the wifi and the router. I had a
> problem where the wireless router was set to UK country and
> auto-selected channel 13 - which isn't valid for USA which is what the
> BeagleBoard / Angstrom was using...
>
UK channnel 1, 3 other Linux boxes the same and working. I attached a
snapshot of the router showing the 3 boxes with IP addresses assigned to
one of my recent postings
Regards
Sid.

--

Yossi Barsheshet

unread,
Aug 10, 2009, 11:57:06 AM8/10/09
to beagl...@googlegroups.com
Sid,
can you post your the distro and kernel you use?

Sid Boyce

unread,
Aug 10, 2009, 2:46:48 PM8/10/09
to beagl...@googlegroups.com
On 10/08/09 16:57, Yossi Barsheshet wrote:
>
> Sid,
> can you post your the distro and kernel you use?
>
Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612--beagleboard.rootfs.tar.bz2
modules-2.6.29-r37-beagleboard.tgz
On partition 1 - MLO_revc_v3 and uImage_revc_v3.bin
Regards
Sid.

viet.hoang29

unread,
Aug 27, 2009, 10:21:01 PM8/27/09
to Beagle Board
Hi all,
I would like to know if any one had a solution for this problem. I
am working with an RT3070-based wifi USB on Bealge board Rev.B6 and
have similar problem: cannot get an IP address via dhcp. The USB card
works well on my ubuntu 8.04 PC.
Some info:

root@beagleboard:~# uname -va
Linux beagleboard 2.6.29-omap1 #1 Mon Aug 10 19:25:55 ICT 2009 armv7l
GNU/Linux
root@beagleboard:~# lsmod
Module Size Used by
rt3070sta 533988 0 [permanent]
root@beagleboard:~# iwconfig
lo no wireless extensions.

usb0 no wireless extensions.

eth0 no wireless extensions.

ra0 RT2870 Wireless ESSID:"SamSon2" Nickname:"RT2870STA"
Mode:Managed Frequency=2.437 GHz Access Point: 00:1A:
70:32:B6:61
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=92/100 Signal level:-55 dBm Noise level:-83
dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@beagleboard:~# udhcpc -i ra0
udhcpc (v1.13.2) started
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
Sending discover...
Sending discover...
Sending discover...

Thanks,
Viet Hoang.

On Aug 11, 1:46 am, Sid Boyce <sbo...@blueyonder.co.uk> wrote:
> On 10/08/09 16:57, Yossi Barsheshet wrote:
>
> > Sid,
> > can you post your the distro and kernel you use?
>
> Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612--beagleboard.rootfs.tar.bz2
> modules-2.6.29-r37-beagleboard.tgz
> On partition 1 - MLO_revc_v3 and uImage_revc_v3.bin
> Regards
> Sid.
>
>
>
> > On Mon, Aug 10, 2009 at 6:42 PM, Sid Boyce<sbo...@blueyonder.co.uk> wrote:
>
> >> On 10/08/09 10:48, Michael Evans wrote:
>
> >>> You might want to check the region for the wifi and the router.  I had a
> >>> problem where the wireless router was set to UK country and
> >>> auto-selected channel 13 - which isn't valid for USA which is what the
> >>> BeagleBoard / Angstrom was using...
>
> >> UK channnel 1, 3 other Linux boxes the same and working. I attached a
> >> snapshot of the router showing the 3 boxes with IP addresses assigned to
> >> one of my recent postings
> >> Regards
> >> Sid.
>
> >>>> Date: Mon, 10 Aug 2009 03:10:01 +0300
> >>>> Subject: [beagleboard] Re: USB wireless can't get an IP address via dhcp
> >>>> From: ihar.hrachys...@gmail.com

viet.hoang29

unread,
Aug 28, 2009, 5:27:55 AM8/28/09
to Beagle Board
Hi all,
just tried with another usb wifi card: F5D7050 Belkin 802.11g.
Here is the log:

usb 2-1.3: new high speed USB device using musb_hdrc and address 4
usb 2-1.3: device v050d p705c is not supported
usb 2-1.3: configuration #1 chosen from 1 choice
usb 2-1.3: reset high speed USB device using musb_hdrc and address 4
wmaster0 (zd1211rw): not using net_device_ops yet
wlan0 (zd1211rw): not using net_device_ops yet
zd1211rw 2-1.3:1.0: phy0
usb 2-1.3: firmware: requesting zd1211/zd1211b_ub
usb 2-1.3: firmware: requesting zd1211/zd1211b_uphr
usb 2-1.3: Could not load firmware file zd1211/zd1211b_uphr. Error
number -2
zd1211rw 2-1.3:1.0: couldn't load firmware. Error number -2
usb 2-1.3: firmware: requesting zd1211/zd1211b_ub
usb 2-1.3: firmware: requesting zd1211/zd1211b_uphr

unplug and re-plug caused the firmware loaded:

root@beagleboard:~/workdir/dsplink/newViet# usb 2-1.3: USB disconnect,
address 4
usb 2-1.3: new high speed USB device using musb_hdrc and address 5
usb 2-1.3: device v050d p705c is not supported
usb 2-1.3: configuration #1 chosen from 1 choice
usb 2-1.3: reset high speed USB device using musb_hdrc and address 5
wmaster0 (zd1211rw): not using net_device_ops yet
wlan0 (zd1211rw): not using net_device_ops yet
zd1211rw 2-1.3:1.0: phy1
usb 2-1.3: firmware: requesting zd1211/zd1211b_ub
usb 2-1.3: firmware: requesting zd1211/zd1211b_uphr
zd1211rw 2-1.3:1.0: firmware version 4725
zd1211rw 2-1.3:1.0: zd1211b chip 050d:705c v4810 high 00-17-3f
AL2230_RF pa0 g--NS
cfg80211: Calling CRDA for country: US

but does not help much:

root@beagleboard:~/workdir/dsplink/newViet# iwconfig wlan0 essid
SamSon2 mode ma
naged
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.
root@beagleboard:~/workdir/dsplink/newViet# iwconfig
lo no wireless extensions.

usb0 no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"SamSon2"
Mode:Managed Frequency:2.437 GHz Access Point: Not-
Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

and dmesg:

usb 2-1.3: firmware: requesting zd1211/zd1211b_ub
usb 2-1.3: firmware: requesting zd1211/zd1211b_uphr
zd1211rw 2-1.3:1.0: firmware version 4725
zd1211rw 2-1.3:1.0: zd1211b chip 050d:705c v4810 high 00-17-3f
AL2230_RF pa0 g--NS
cfg80211: Calling CRDA for country: US
wlan0: direct probe to AP 00:1a:70:32:b6:61 try 1
wlan0 direct probe responded
wlan0: authenticate with AP 00:1a:70:32:b6:61
wlan0: authenticated
wlan0: associate with AP 00:1a:70:32:b6:61
wlan0: RX AssocResp from 00:1a:70:32:b6:61 (capab=0x401 status=0
aid=1)
wlan0: associated
wlan0: disassociating by local choice (reason=3)
wlan0: direct probe to AP 00:1a:70:32:b6:61 try 1
wlan0 direct probe responded
wlan0: authenticate with AP 00:1a:70:32:b6:61
wlan0: authenticated
wlan0: associate with AP 00:1a:70:32:b6:61
wlan0: RX AssocResp from 00:1a:70:32:b6:61 (capab=0x401 status=0
aid=1)

Do you know what does "disassociating by local choice (reason=3)"
mean? Problem of kernel 2.26.29?

Viet Hoang.

Geof Cohler

unread,
Aug 28, 2009, 1:36:04 PM8/28/09
to Beagle Board
I was only successful after disabling Connman. There seem to be two
pieces of software (udev and connman perhaps) that are both trying to
configure the wifi. So they screw each other up. Doing chmod -x /etc/
init.d/connman, and then putting the appropriate lines in /etc/network/
interfaces did the trick for me. Also remember that the dhcp script
is not terribly robust. So sometimes you may have to do ifdown / ifup
to retry.

Geof
> ...
>
> read more »

Viet Hoang

unread,
Aug 28, 2009, 9:46:33 PM8/28/09
to beagl...@googlegroups.com
Hi Geof,
Thanks so much, my usb wifi is working on Beagle Board.
Viet Hoang.

Sid Boyce

unread,
Aug 29, 2009, 11:20:46 AM8/29/09
to beagl...@googlegroups.com
On 29/08/09 02:46, Viet Hoang wrote:
> Hi Geof,
> Thanks so much, my usb wifi is working on Beagle Board.
> Viet Hoang.
>
No such luck here even afer "update-rc.d -f connman remove" and "chmod
-x /etc/init.d/connman".

> On Sat, Aug 29, 2009 at 12:36 AM, Geof Cohler <g.co...@computer.org
> <mailto:g.co...@computer.org>> wrote:
>
>
> I was only successful after disabling Connman. There seem to be two
> pieces of software (udev and connman perhaps) that are both trying to
> configure the wifi. So they screw each other up. Doing chmod -x /etc/
> init.d/connman, and then putting the appropriate lines in /etc/network/
> interfaces did the trick for me. Also remember that the dhcp script
> is not terribly robust. So sometimes you may have to do ifdown / ifup
> to retry.
>
> Geof
>
root@beagleboard:~# ifup wlan0
WPA: Configuring Interface
[46481.988098] rt73usb 1-2.3:1.0: firmware: requesting rt73.bin

[46482.152130] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[46484.664337] ADDRCONF(NETDEV_UP): wlan0: link is not ready
udhcpc (v1.13.2) started
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
Sending discover...
Sending discover...
Sending discover...
No lease, failing
root@beagleboard:~#
Regards
Sid.

>
> On Aug 28, 5:27 am, "viet.hoang29" <viet.hoan...@gmail.com
> <mailto:ihar.hrachys...@gmail.com>
> > > > >>>> To: beagl...@googlegroups.com
> <mailto:beagl...@googlegroups.com>
> >
> > > > >>>> On Mon, Aug 10, 2009 at 1:52 AM, Sid
> Boyce<sbo...@blueyonder.co.uk <mailto:sbo...@blueyonder.co.uk>> wrote:
> >
> > > > >>>>> On 09/08/09 22:25, Ihar Hrachyshka wrote:
> >
> > > > >>>>>> On Mon, Aug 10, 2009 at 12:17 AM, Sid
> > > > >>> Boyce<sbo...@blueyonder.co.uk

Geof Cohler

unread,
Aug 29, 2009, 3:30:21 PM8/29/09
to Beagle Board
What do you have in /etc/network/interfaces?



On Aug 29, 11:20 am, Sid Boyce <sbo...@blueyonder.co.uk> wrote:
> On 29/08/09 02:46, Viet Hoang wrote:> Hi Geof,
> > Thanks so much, my usb wifi is working on Beagle Board.
> > Viet Hoang.
>
> No such luck here even afer "update-rc.d -f  connman remove" and "chmod
> -x /etc/init.d/connman".
>
> ...
>
> read more »

Sid Boyce

unread,
Aug 29, 2009, 6:46:42 PM8/29/09
to beagl...@googlegroups.com
On 29/08/09 20:30, Geof Cohler wrote:
>
> What do you have in /etc/network/interfaces?
>
>
iface wlan0 inet dhcp
wpa-essid TalkTalk520
wpa-psk <16 digit key same as used on other boxes>
Regards
Sid.
Reply all
Reply to author
Forward
0 new messages