Re: linksys wusb100 problems
>brett@Brett:~$ ndiswrapper -l
remove ndiswrapper and compile your own rt2870/rt3070 driver
download the rt3070 from ralink:
http://www.ralinktech.com.tw/data/dr...A_v2.1.1.0.bz2
tar xvjf 2009_0525_RT3070_Linux_STA_v2.1.1.0.bz2
cd 2009_0525_RT3070_Linux_STA_v2.1.1.0
vi os/linux/usb_main_dev.c
- change: USB_DEVICE(0x1737,0x0070)
to: USB_DEVICE(0x1737,0x0078)
modify os/linux/config.mk as needed (see README_STA_usb)
* fix common/rtmp_init.c:
find reference to os_alloc_mem and fix (PUTCHAR) to (PUTCHAR *)
make
make install
cd os/linux
insmod rt3070sta.ko
ifconfig ra0 up
show available networks:
iwlist scan
-- for some basic settings to connect to an unprotected network:
iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode=OPEN
iwpriv ra0 set EncrypType=NONE
iwpriv ra0 set SSID="dummy"
iwpriv ra0 set Channel=1
to see if the settings above *stuck*:
iwconfig ra0
then, to get a dhcp address:
/sbin/dhclient ra0
-claudia
Re: linksys wusb100 problems
in my haste to get you something to work with, I forgot two steps:
1) either modify source to use the correct file or
ln -s /etc/Wireless/RT3070STA /etc/Wireless/RT2870STA
2) out of the common directory, copy the rt2870.bin to the above directory
-claudia
Re: linksys wusb100 problems
Awesome!!! Good excellent instructions... I've been attempting to get my WUSB100 Version 2 Linksys adaptor to operate on a dell Latitude laptop for 2 weeks now... The above instructions provided by Claudiac are the first ones to actually work.. GREAT WORK!!! And thanks for posting such a complete procedure. I for one would call this excellent HOW TO Material. Thanks again..
L8
The Gray Wizard
(aka: Matt)
Re: linksys wusb100 problems
P.S. As an additional side note...
I modified
os/linux/usb_main_dev.c
to include the setups for both WUSB100 Version 1 and 2 Adapters (I have both versions, and was troubleshooting version 2 for a customer as Version 1 was already working properly with ndiswrapper) I added...
{USB_DEVICE(0x1737,0x0070)}, /* Linksys-WUSB100-V1 */
{USB_DEVICE(0x1737,0x0078)}, /* Linksys-WUSB100-V2 */
re-compiled and now I've discovered that I can interchangeably use one or the other adapter. Even tested without re-booting (removing one, and re-inserting the other) and both adapters work perfectly with the one driver.
Thanks again Claudiac for an awesome job and a major life saving heheh..
L8
The Gray Wizard
(aka: Matthew Romero)
Re: linksys wusb100 problems
Hello,
a little Trick to add the ID 1737:0078 for the WUSB100v2 to the System and simply use the rt2870sta V1.4.0.0. that comes with the system if the new driver v2.3.0.0 or the rt3070 from Ralink don't work properly.
First remove the new compiled driver if necessary:
Code:
cd
cd RT2870_LinuxSTA_V2.3.0.0
sudo make uninstall
If you previously did not manually compile the driver from Ralink start here.
Add the ID:
Code:
echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "1737 0078" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf
sudo modprobe -rf rt2870sta
sudo modprobe rt2870sta
dmesg | egrep 'rt28|usb|Phy'
iwconfig
The solution works? Ok, load the driver at startup
Code:
echo rt2870sta | sudo tee -a /etc/modules
alternativ automatic driver load when the stick was plugged in:
Code:
sudo gedit /etc/udev/rules.d/10-wusb100.rules
contents:
Code:
# UDEV-Rule for wusb-100v2 ID 1737:0078
SUBSYSTEM=="usb", SYSFS{idVendor}=="1737", SYSFS{idProduct}=="0078", RUN+="/sbin/modprobe rt2870sta"
make it ready to work
Code:
sudo service udev reload
.. or restart
Link: http://forum.ubuntuusers.de/topic/li.../#post-2264339
greetings and a happy new year :)
Rainer
Re: linksys wusb100 problems
Thanks Flash63 your solution worked Great!!!:KS
Quote:
Add the ID:
Code:
echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "1737 0078" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf
sudo modprobe -rf rt2870sta
sudo modprobe rt2870sta
dmesg | egrep 'rt28|usb|Phy'
iwconfig
Re: linksys wusb100 problems
Hmm... I notice that the wireless didn't come up automatically.
I ran the last 3 lines again and it did. What would be the appropriate way to best have the system do this on startup?
Re: linksys wusb100 problems
Hello Jainith,
edit the file /etc/modules as root and add the drivermodul rt2870sta.
The same in one line:
Code:
echo rt2870sta | sudo tee -a /etc/modules
The required options to add the ID are already into the /etc/modprobe.d/rt2870.conf
Re: linksys wusb100 problems
Thanks for getting back to me. I had already figured out to put the rt2870sta in /etc/modules. I also tried adding the 'iwconfig' to my startup applications. Interestingly if I go back to startup applications now, I do not see this entry.
Anyway, my connection is coming up automatically, but at somewhat of a delay (it doesn't get started until after gmail-notify so I get a no connection message.
If you can think of a way to better tune the startup so the wireless connection starts before gmail-notify, that would be great. If not, its ok, as it only takes an additional 30 seconds or so to startup.
-Jainith