Help with USB WiFi

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Re: Help with USB WiFi

Postby moree on Sun Nov 01, 2009 2:53 pm

Also did this:

ndiswrapper -m

WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
module configuration already contains alias directive

module configuration already contains alias directive
moree
Level 1
Level 1
 
Posts: 19
Joined: Wed Oct 28, 2009 11:48 pm

Linux Mint is funded by ads and donations.
 

Re: Help with USB WiFi

Postby Husse on Sun Nov 01, 2009 3:05 pm

It's found in lsusb :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help with USB WiFi

Postby moree on Sun Nov 01, 2009 3:19 pm

Husse wrote:It's found in lsusb :)


OK. So now what do I do? LOL. It doesn't make sense to me that it's found, the driver is installed, but it isn't working.
moree
Level 1
Level 1
 
Posts: 19
Joined: Wed Oct 28, 2009 11:48 pm

Re: Help with USB WiFi

Postby moree on Wed Nov 04, 2009 2:14 pm

Bump.
moree
Level 1
Level 1
 
Posts: 19
Joined: Wed Oct 28, 2009 11:48 pm

Re: Help with USB WiFi

Postby Husse on Thu Nov 05, 2009 8:39 am

Either use ndiswrapper - Windows Wireless Drivers
This is pretty much self explanatory - just add (the right) .inf file and off you go
You may have to blacklist the Linux driver already present
Do
Code: Select all
lsmod | grep rt

You should get rt73 or rt25xx - if you get nothing just do a lsmod and look through the list
Then do
Code: Select all
sudo modprobe -r rtxxxx

where rtxxxx of course it the module you just found
If you need to do that to make it permanent do
Code: Select all
echo blacklist rtxxxx | sudo tee -a /etc/modprobe.d/blacklist.conf

Again replace rtxxxx with the module you found
The other option is this thread in the Ubuntu forums, but that is more than a bit geeky
A variation of the Ubuntu solution is found here
Also geeky bot not quite as much
Note that these solutions needs build-essential to be installed
I think a saw another solution just the other day, but I don't find it now
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help with USB WiFi

Postby moree on Fri Nov 06, 2009 3:59 pm

Thank you. I did lsmod but didn't see anything rt***



lsmod

Module Size Used by
isofs 39844 1
udf 87716 0
crc_itu_t 10112 1 udf
binfmt_misc 16776 1
radeon 342816 2
drm 96296 3 radeon
bridge 56340 0
stp 10500 1 bridge
bnep 20224 2
input_polldev 11912 0
lp 17156 0
joydev 18368 0
snd_ali5451 27276 3
snd_ac97_codec 112292 1 snd_ali5451
ac97_bus 9856 1 snd_ac97_codec
snd_pcm_oss 46336 0
snd_mixer_oss 22656 1 snd_pcm_oss
pcmcia 44748 0
snd_pcm 82948 3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 10756 0
snd_seq_oss 37760 0
ppdev 15620 0
snd_seq_midi 14336 0
snd_rawmidi 29696 1 snd_seq_midi
snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 29704 2 snd_pcm,snd_seq
snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
i2c_ali15x3 14724 0
psmouse 61972 0
ali_agp 13696 1
snd 62628 16 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 15200 1 snd
video 25360 0
pcspkr 10496 0
serio_raw 13316 0
i2c_ali1535 14212 0
ndiswrapper 193436 0
agpgart 42696 2 drm,ali_agp
snd_page_alloc 16904 1 snd_pcm
shpchp 40212 0
output 11008 1 video
yenta_socket 32396 2
rsrc_nonstatic 19328 1 yenta_socket
pcmcia_core 43540 3 pcmcia,yenta_socket,rsrc_nonstatic
parport_pc 40100 1
parport 42220 3 lp,ppdev,parport_pc
natsemi 35552 0
ohci1394 38576 0
ieee1394 94660 1 ohci1394
floppy 64324 0
usbhid 42336 0
fbcon 46112 0
tileblit 10752 1 fbcon
font 16384 1 fbcon
bitblit 13824 1 fbcon
softcursor 9984 1 bitblit
moree
Level 1
Level 1
 
Posts: 19
Joined: Wed Oct 28, 2009 11:48 pm

Re: Help with USB WiFi

Postby Husse on Fri Nov 06, 2009 7:02 pm

This means that the ralink driver is not loaded and ndiswrapper should work and I see it in lsmod
Have you added the Windows driver?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help with USB WiFi

Postby moree on Sat Nov 07, 2009 7:06 pm

Yes, the driver I added was the windows XP driver from the CD.
moree
Level 1
Level 1
 
Posts: 19
Joined: Wed Oct 28, 2009 11:48 pm

Re: Help with USB WiFi

Postby Husse on Sun Nov 08, 2009 6:59 pm

I found the USB ID to be 1737:0077 from the output of mintWifi
This is not a rt73 chip it is changed to rt3070 in this model :shock:
I have found a solution that I think works but it is a bit geeky
http://ubuntuforums.org/showthread.php?t=1273401
This is not sufficient to help you but I'll try to do something from it, but that will have to wait until tomorrow (not much time today - it may not seem so but I do have a life outside Mint :))
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help with USB WiFi

Postby moree on Sun Nov 08, 2009 9:02 pm

Thank you! I'll gladly wait for your help and totally realize you have a life outside of this forum! LOL. :)
moree
Level 1
Level 1
 
Posts: 19
Joined: Wed Oct 28, 2009 11:48 pm

Re: Help with USB WiFi

Postby Husse on Tue Nov 10, 2009 9:01 am

I've started work on this, but I have run out of time for now
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help with USB WiFi

Postby Husse on Wed Nov 11, 2009 8:18 am

I tried to attach a modified driver, but it was too large so we have to be even more geeky :)
Take it easy and you will fix it
First, download the source for the rt3070 usb driver from ralinktech
It is RT3070USB you should download - second from top modified 11/06/2009
Extract the driver (with the "Archiver" and right click this is a two step operation) and you end up with a folder called 2009_1106_RT3070_Linux_STA_V2.1.1.0 (best on the desktop)
Unknown why, but the WUSB54GC is left out of the list of devices in this driver
Editing is necessary
You'll find a file called
os/linux/usb_main_dev.c
Beginning on line 76 (the number may vary slightly) you see
Code: Select all
        {USB_DEVICE(0x203D,0x1480)}, /* Encore 3070 */
#endif // RT3070 //
        { }/* Terminating entry */

Add
Code: Select all
{USB_DEVICE(0x1737,0x0077)}, /* Linksys WUSB54GC */

so it looks like
Code: Select all
        {USB_DEVICE(0x203D,0x1480)}, /* Encore 3070 */
        {USB_DEVICE(0x1737,0x0077)}, /* Linksys WUSB54GC */
#endif // RT3070 //
        { }/* Terminating entry */

Now the WUSB54GC will be recognized
You'll find another file called os/linux/config.mk
Change
Code: Select all
HAS_WPA_SUPPLICANT=n
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n

to
Code: Select all
HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y


You have now modified the driver source so it can be used with WUSB54GC
Open a terminal (right click) in the "root folder" you just created
Install build-essential so you can compile
Code: Select all
apt install build-essential

Run
Code: Select all
sudo make

To ensure that the driver (module) is loaded at boot
Code: Select all
echo "rt2870sta" | sudo tee -a /etc/modules

I think this should do it but the documentation in the driver talks of copying
RT2870STA.dat to /etc/Wireless/RT2870STA/
There is no Wireless folder in etc in my Gloria, but it may be created during the compiling
If you have that folder you might as well copy the file ( sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat )
Reboot and all should be well
Sorry for the long solution - it's the only "real solution" I've found
( Credit )
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help with USB WiFi

Postby moree on Sat Nov 14, 2009 10:29 pm

Thank you so much for all your time and work. I did everything in your instructions except copy the file to the wireless folder in the etc folder as I had no wireless folder present and could not create one. The USB adapter still does not work. I'm giving up and going back to windows even though I LOVE using Linux. If I can't access the internet wirelessly, then it's useless. Thanks all. :?
moree
Level 1
Level 1
 
Posts: 19
Joined: Wed Oct 28, 2009 11:48 pm

Re: Help with USB WiFi

Postby Husse on Sun Nov 15, 2009 6:43 am

What a pity
Welcome back, lets hope you can connect in the future
The WUSB54GC USB is working, I know that for sure, but it can be the rest of your hardware that gets in the way....
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help with USB WiFi

Postby Husse on Wed Nov 18, 2009 7:59 pm

Hmm - it seems that the 3070 chip is not as well supported as other RaLink products but I finally found a solution that does not look too difficult here
If you feel like trying it first install build-essential
Code: Select all
apt install build-essential
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Linux Mint is funded by ads and donations.
 
Previous

Return to Newbie Questions

Who is online

Users browsing this forum: Hecubus, karlchen, WharfRat and 33 guests