USB WiFi for Beagle

Has anyone had any success connecting a USB WiFi? There are several
USB WiFi Adaptors in the market place (Netgear, Linksys, etc). I'm
not sure if there are Linux drivers for any of them. Any advice? If
need be, I can always drop back to wired ethernet. But I'd like to go
wireless if I can.

Thanks.
Geof

Hi Geof,

The Beagle Hardware Reference Manual has a list of Wifi USB parts that will work with the beagle board.

Section 10.8 USB to Wifi (Page 100)

http://www.beagleboard.org/uploads/Beagle_HRM_B4.pdf

  • Geoffrey Callander

Don’t cheat – Compete
Don’t expect – Suggest

Actually, if you read the fine print, these are examples of such devices and whether or not they are supported, depends on the availability of drivers and support in the current kernel. None of these have been tested as far as I know.

Gerald

I have an old DLink DWL-122 802.11b usb adapter that is based on the
Prism 2 chipset. It works wonderfully, but does not support WPA and
newer encryption schemes.

-Jake

Linksys has a good track record as being linux friendly, I have used the wusb54gc successfully on four x86, but am still waiting for my beagle board (arives today!). I imagine this same driver would work on the beagle, but this is purely speculation.

I am working well with PCI USB wifi dongle + beagleboard, driver is zd1211rw and it is ready in our beagleboard’s kernel ,you can search zd1211 related any dongle.

httphttp://www.planex.net/

aung

2008/9/18 V. Elishah Frey <olderbolder@gmail.com>

Which kernel/distro/version?

Which end-product?
http://www.amazon.com/D-Link-DWA-140-RangeBooster-802-11n-Wireless/dp/B0010T8X54
?

i did not use Angstrom , but kernel revB-v2 is working well for me , i think kernel may not issue for Angstrom or ubuntu

http://code.google.com/p/beagleboard/wiki/BeagleSourceCode

please remember to enable ieee80211softmac first in make menuconfig

2008/9/19 Bill Wood <bill.wood@corp.grandecom.com>

I have now tried both the Belkin USB Wireless G Adapter (zd1211rw) and
the Linksys WUSB54GC Adapter with the 2008-09-20 uImage and filesystem
from the Angstrom demo directory. I was unsuccessful at getting
either to work.

The Belkin gets recognized on USB and the driver appears to load. But
I could not get it to associate with my access point. I tried several
different iwconfig settings, udhcpc, and ifup, etc. But no luck. It
wouldn't associate. I would get a No Room on Device error message.

The Linksys doesn't even get recognized by the USB driver. So it
doesn't get as far as the Belkin.

At this point, I have exhausted my capabilities and will abandon this
effort for now. But I remain keenly interested should someone succeed
in using the Angstrom Demo with a USB Hub and a USB-Wifi G Adapter.
If you do succeed, please post the specific instructions on how you
were able to succeed (i.e. the iwconfig, udhcpc, and ifconfig commands
used etc).

Thanks very much for all of your help.

Best regards,
Geof

Hi Geof,

Mon, 22 Sep 2008, Geof Cohler wrote:

I have now tried both the Belkin USB Wireless G Adapter (zd1211rw) and
the Linksys WUSB54GC Adapter with the 2008-09-20 uImage and filesystem
from the Angstrom demo directory. I was unsuccessful at getting
either to work.

If you do succeed, please post the specific instructions on how you
were able to succeed (i.e. the iwconfig, udhcpc, and ifconfig commands
used etc).

I am using A-Link's WL54USB which is based on the same zd1211 chip. However, I'm not using the Ångström demo but my own "from scratch" filesystem (kernel source (2.6.26) ripped from openembedded, glibc from CodeSourcery's arm-gcc package 2007q3 and busybox from it's website), so this might not be helpful with your project.

After configuring and compiling my kernel and installing a base system with busybox on my Beagle's NAND memory I took the source of the wireleless tools from http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html, compiled it and installed it on my Beagle. The last part needed to get the zd1211 working is the firmware which can be obtained here:
  http://sourceforge.net/projects/zd1211/
(BTW, does the Ångström include also the firmware?)

The firmware gets loaded when I issue the 'ifconfig wlan0 up' command and with command 'iwconfig wlan0 essid myhomenet' (or whatever the SSID might be) my Beagle associates with my access point. Successful association can be confirmed with 'iwconfig wlan0'. The MAC address of the access point should be seen among other parameters. After this I'm able to set the IP address either by manually or with 'udhcp wlan0'.

Hope this helps you even a little.

It does :slight_smile:

GOOD NEWS! I returned the Belkin that I had -- thinking that it may
be broken. I tried a D-Link, a Linksys, and no luck (no driver).
Then I rebought the Belkin again, and the new Belkin WORKS!

So I can testify that a Belkin USB Wireless G Adapter version 3002
boots up and works with Beagle running the 20-Sep Angstrom Demo Image
and File System. It is using the RT73 driver (which is different than
the first Belkin that I had -- it used the zd1211rw driver).

hi andre,
could u plz tell me the procedure for cross compiling
RT2X70 on arm linux..
Thanks,
Ganesh.

I am not sure about the location but I do think that extra information like power consumption, performance and other notes wold be really helpful for selection hardware.

Thanks,

jasun

For other people who have had the problem of:
usb 1-1.1: Could not upload firmware code uph. Error number -110

I just solved this exact same problem on my beagle board, here is how:

I found that the firmware file that comes with angstrom called
zd1211b_uphr is the same as http://sourceforge.net/projects/zd1211/,
but it is different than what comes packaged ubuntu 8.10 (on my host
pc). So I just copied zd1211b_uphr from ubuntu to my angstrom rootfs,
and now it works.

I've just tried using Linksys WUSB54G Version 4 wireless usb stick
with Angstrom distribution (i compiled the file system myself from the
latest source based on X11-image from Angstrom)
So here are my observations:

First i tried to use the following kernel and modules:

kernel: uImage-2.6.26+2.6.27-
rc7+r14+gite1c49d7d22af768188e2a54c167ed79919361e55-r14-
beagleboard.bin
modules: modules-2.6.26+2.6.27-
rc7+r14.1+gite1c49d7d22af768188e2a54c167ed79919361e55-r14.1-
beagleboard.tgz

and i couldn't get the Linksys card to get identified by the system.

So i went and tried to use the 2.6.26 kernel that gets built with the
latest Angstrom distribution and IT WORKED!!!
All i did was set the essid with iwconfig as well as my WEP key and
then did the ifup wlan0
Here are the modules that the system loaded for the Linksys card:

root@beagleboard:~# lsmod
Module Size Used by
ipv6 232844 12
rt2500usb 18688 0
uvcvideo 52424 0
rt2x00usb 10176 1 rt2500usb
compat_ioctl32 1184 1 uvcvideo
rt2x00lib 22976 2 rt2500usb,rt2x00usb
videodev 28032 1 uvcvideo
v4l1_compat 15012 2 uvcvideo,videodev

Here is the printout from dmesg:

phy0: Selected rate control algorithm 'pid'
Registered led device: rt2500usb-phy0:radio
usbcore: registered new interface driver rt2500usb
NET: Registered protocol family 10
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:1d:7e:2f:b2:16
wlan0: authenticate with AP 00:1d:7e:2f:b2:16
wlan0: RX authentication from 00:1d:7e:2f:b2:16 (alg=0 transaction=2
status=0)
wlan0: authenticated
wlan0: associate with AP 00:1d:7e:2f:b2:16
wlan0: authentication frame received from 00:1d:7e:2f:b2:16, but not
in authenticate state - ignored
wlan0: associate with AP 00:1d:7e:2f:b2:16
wlan0: authentication frame received from 00:1d:7e:2f:b2:16, but not
in authenticate state - ignored
wlan0: associate with AP 00:1d:7e:2f:b2:16
wlan0: RX AssocResp from 00:1d:7e:2f:b2:16 (capab=0x411 status=0
aid=1)
wlan0: associated
wlan0: switched to short barker preamble (BSSID=00:1d:7e:2f:b2:16)
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: association frame received from 00:1d:7e:2f:b2:16, but not in
associate state - ignored
wlan0: association frame received from 00:1d:7e:2f:b2:16, but not in
associate state - ignored
wlan0: association frame received from 00:1d:7e:2f:b2:16, but not in
associate state - ignored
wlan0: association frame received from 00:1d:7e:2f:b2:16, but not in
associate state - ignored
wlan0: association frame received from 00:1d:7e:2f:b2:16, but not in
associate state - ignored
wlan0: association frame received from 00:1d:7e:2f:b2:16, but not in
associate state - ignored
wlan0: no IPv6 routers present
uvcvideo: Failed to submit URB 0 (-90).
musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 000a
3:3:1: cannot set freq 16000 to ep 0x86
wlan0: RX deauthentication from 00:1d:7e:2f:b2:16 (reason=7)
wlan0: deauthenticated
wlan0: authenticate with AP 00:1d:7e:2f:b2:16
wlan0: RX authentication from 00:1d:7e:2f:b2:16 (alg=0 transaction=2
status=0)
wlan0: authenticated
wlan0: associate with AP 00:1d:7e:2f:b2:16
wlan0: RX ReassocResp from 00:1d:7e:2f:b2:16 (capab=0x411 status=0
aid=1)
wlan0: associated
wlan0: switched to short barker preamble (BSSID=00:1d:7e:2f:b2:16)

Now the question is - What is missing in the newer kernel build? I
really need that kernel going cause it works with the USB camera i
have