I managed to get the LinkSys wusb100 USB wireless adapter to work in Debian Linux. This will probably apply the same way in Ubuntu so I thought I would share my experience since these forums were very helpful to me.
I am by no means an expert at this but it does work. I hope this will help others.
Please note that this was posted in March 2009 and works for the RangePlus Wireless USB adapter version 1.0. In time things will change (and hopefully improve!)
You need the RT2780USB driver source code from http://www.ralinktech.com/ralink/Hom...ort/Linux.html You will need to compile this on your computer.
I also needed the Firmware RT2870USB from the site above and install wireless-tools from your repository. The firmware is a proprietary binary. I noticed there is a rt2870.bin included in the source code under /common/ but I don't know if this one is used. I used the one from the link off the ralink site. I can't even say if the bin file is even needed. Beware that compiling will recreate the folder in /etc/Wireless.
Read the README_STA that comes with the RT2780USB driver source code.
I set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y' in the config.mk file as per the readme but I can't say I understand exactly how this works.
Plug in the WUSB100. Run lsusb and look for its ID. You should see
ID 1737:0070 Linksys
If not you need help from elsewhere.
Run dmesg. You should see “ Manufacturer: Cisco-Linksys” etc. If not, you need help from elsewhere. Beware if you get a low power warning. I did because I had too much running on one usb port. I simply plugged it into an empty port and checked dmesg again. No warning.
So here's the trick, the magic bullet that will put you dead in the water unless you know it. The source code does not list the USB ID for the WUSB100 and thus the module will never associate with it. In other words, your card will be ignored no matter how hard you try. But if you add the necessary USB ID into include/rt2870.h and compile with that mod, it will work. So add
{USB_DEVICE(0x1737,0x0070)}, /* LinkSys */
\
to include/rt2870.h before compiling (search for #define RT2870_USB_DEVICES). This matches the result from lsusb (ID 1737:0070 Linksys) but don't forget the 0x parts.
Compile as per the read me. make install as root. Check >modprobe -l | grep rt2870sta
If not there then do a >modprobe rt2870sta
Look in /etc/Wireless. You should see a folder called RT2870STA. Inside there should be RT2870STA.dat file. You will need to configure this. Also you should put the rt2870.bin file in this folder. I set it to execute permissions but I don't know if this is needed. Below I list my settings for RT2870STA.dat I have a LinkSys N access point (wrt160N) running WEP because I have old cards in other computers. WEP is NOT secure (hacked in under 3 minutes). If you can, use the newest WPA security. So my configuration may be different from yours. Read the iwpriv_usage.txt file that comes with the source code .
HUGE SUGGESTION: Get it working without security enabled FIRST, then enable security. Otherwise if it does not work, you will have no idea why. Also, you may want to test your card in Windows if you have an old dusty Windows machine kicking around (or *for* kicking around).
When you plug the usb card in, you should see rt2870sta listed when you do a >lsmod. If you do not you are dead in the water and need help from elsewhere. Check dmesg for clues.
So, in theory your device is ready to function but you need to configure it. This took me hours of tinkering but in the end I managed to get it working. My mistake was enabling security before having it working. Once I turned off security and got it working then I knew my problem was with the security settings and not the rest of my setup.
Note that the WEP key must be 10 or 26 characters. Dmesg will tell you if you have anything else. Always check dmesg. I repeat, always check dmesg (or you system logs).
Also, i modified /etc/modules by adding this line:
alias ra0 rt2870sta
and modified the /etc/network/interfaces file as per below. I could never get it to work without the iwpriv settings (which comes with wireless-tools). Use iwconfig to see what is going on. Nothing worked until I added the sleep lines which someone suggested on another forum. You can execute the iwpriv*commands manually from the command line. ifup ra0 and ifdown ra0 should now work.
BTW, iwconfig lists 65Mb/s. I wish this was faster. Any tips appreciated or maybe this is all the card can do?
While I am no expert in this area I hope this posting will help others. There may be better ways of getting this working, if so, please post them. And lets keep pushing the manufacturers for Linux driver support!
Good luck,
Paul
My /etc/network/interfaces file (relevant section):
iface ra0 inet dhcp
pre-up ifconfig ra0 up
pre-up sleep 1
pre-up /sbin/iwpriv ra0 set NetworkType=Infra
pre-up sleep 1
pre-up /sbin/iwpriv ra0 set AuthMode=SHARED
pre-up sleep 1
pre-up /sbin/iwpriv ra0 set EncrypType=WEP
pre-up sleep 1
pre-up /sbin/iwpriv ra0 set DefaultKeyID=1
pre-up sleep 1
pre-up /sbin/iwpriv ra0 set Key1="1928374650"
pre-up sleep 1
pre-up /sbin/iwpriv ra0 set SSID="softwind"
pre-up sleep 1
My RT2870STA.dat file (relevant parts):
#The word of "Default" must not be removed
Default
CountryRegion=0
CountryRegionABand=7
CountryCode=CA
ChannelGeography=1
SSID=softwind
NetworkType=Infra
WirelessMode=6
Channel=1
AuthMode=OPEN
EncrypType=WEP
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=1928374650
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=



Adv Reply


Bookmarks