Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hey folks! My first post and finally taking the plunge into linux and just installed Ubuntu 6.10 on my laptop a few days ago. Everything works fine right now except my wireless internet via a Linksys WUSB54G adapter. v1 of this adapter is using the prism GT chipset and not the ralink one for v4 BTW.
I searched around and found ndiswrapper. Installed it, downloaded the Windows driver for my adapter (via linksys website), and set it up with ndiswrapper. I ran ndiswrapper -l to make sure everything is ok at this point and it says " wusb54g driver is installed and hardware present". So far so good. I loaded it into the module. I set the settings all in System-> Admin -> Networking to DHCP enabled, network key, and the correct ESSID. However when I run iwconfig it doesn't show "eth1" finding the AP or ESSID. It says everything is invalid. I also checked /etc/network/interfaces and "eth1" has an entry exactly how it is on the installation guide. It looks like its set up, but it just won't scan for any AP's. The lights on my adapter are solid green.
I searched the ndiswrapper wiki, went over the installation steps, did a search here, and I'm still stuck w/o wireless internet. Appreciate the help. I have WinXP dual booted just in case something like this happens. Although if I can get this work, I think I can safely get rid of WinXP on my laptop
You're going to need to do some investigating here as to what is going wrong. In particular, you'll need to look through your log files (/var/log/syslog, /var/log/messages and the output of the dmesg command) and see if ndiswrapper is leaving any clues. Also check the output of lsmod and make sure that ndiswrapper is loaded.
One other thing to think about, depending on the chipset in that card there may be a native linux driver being loaded and competing with ndiswrapper. You might want to post the output of lsmod and we can take a look.
thanks for the reply. I know the WUSB54G v4 uses the ralink chipset and has native drivers in Edgy, but i'm using v1 of the same model which uses the Prism GT chipset. So I'm using Windows drivers from the linksys website via ndiswrapper.
I am using WiFi Radar as my wireless connection program. I disabled the wireless card in Ubuntu's network settings and ran
iwlist eth1 scan
and to my surprise it found a bunch of routers in my area!! So I guess its working to an extent. But when I try to set up WEP it doesn't want to get an IP Address from the router. I even tried disabling WEP, but it still doesn't work. At least my device is somewhat working now and I can scan for routers. So I guess I installed the drivers properly
Those are the native linux drivers for your card, and since ndiswrapper isn't showing up in your lsmod output, you're likely using these and not ndiswrapper (unless you loaded it after you got this lsmod output). If you read through the site I linked to, you'll see the islsm drivers also need firmware, which you likely haven't installed. That could very easily cause the issues you're seeing.
So you really have a choice to make here. If you want to use the islsm driver, you're going to have to install firmware. If you prefer ndiswrapper, then you'll need to blacklist islsm in the /etc/modprobe.d/blacklist file so that it doesn't load and conflict with ndiswrapper. And of course you do have to load the ndiswrapper module (modprobe ndiswrapper) before it can be used.
Although it is entitled Sticky: How to install WUSB54G for Dapper Drake, it looks like most of the participants in the thread are using edgy.
Bob
Thanks Bob. I read that post many times over. I tried everything in there, plus they're referring to v4 of my device... I have v1 which uses as different chipset. v4 works with ubuntu out of the box.
I went through the firmware path... man I am so lost. I downloaded about 3 different files and I don't even know what to do with them. I've read the installation step, but its not descriptive enough for me, i'm just starting out. I don't know why I need 3 programs to install a firmware. And when I tried to install one of the programs, it said some error about missing folders and the installation quits and i'm stuck. Too much work for me to understand at this point.
Ok I tried the blacklist route since it was the easier. I blacklisted islsm_usb but when I reboot I can't find my wireless USB anymore. ndiswrapper says the hardware is present but I can't configure the card if I can't see it anywhere. loaded the module, command iwconfig and it doesn't list my wireless device. Am I missing some other steps?
Maybe i'll just buy a new wireless USB adapter that works out of the box. At this point, i'd rather just spend the $50 and get this over with.
Ok I tried the blacklist route since it was the easier. I blacklisted islsm_usb but when I reboot I can't find my wireless USB anymore
Well, I think that is actually a good thing. It suggests that you've successfully blacklisted islsm_usb. A quick check of lsmod should confirm that.
Quote:
ndiswrapper says the hardware is present but I can't configure the card if I can't see it anywhere. loaded the module, command iwconfig and it doesn't list my wireless device. Am I missing some other steps?
That depends. Could you go through what you've done to install both ndiswrapper and the Windows driver? What happens when you load the ndiswrapper module? Are there any clues in your log files (/var/log/syslog, /var/log/messages and the dmesg output) after you load ndiswrapper?
Quote:
I went through the firmware path... man I am so lost.
You're not the only one. I've seen some pretty serious messes before, but that could take the cake. If you want to figure out what firmware to use, you need to follow the instructions on determining the chipset and we can take it from there.
Maybe i'll just buy a new wireless USB adapter that works out of the box. At this point, i'd rather just spend the $50 and get this over with.
That is the conclusion that I came to also, and I'm sure glad I stopped trying to get my old card to work. Let's face it, usb cards are not very good performers to begin with. And you have already gone above and beyond the call of duty. You may eventually get that thing to work, but what is your time worth, and what are you going to to if you upgrade or change distros?
I think Hangdog is on the right track - starting with the exact chip, and you might get it to work. USB is tough.
The challenge is in finding a card that you know will work since mfrs change chips in the same model cards, and very few vendors know anything about open source. You could try netgate.com, where I got my Atheros pcmcia. What a relief, after 2 weeks of butting my head against a wall, I was running in 5 minutes.
For a less portable and headache free solution that uses no drivers, check out the wireless bridge thread here started by 2Gnu entitled Driverless Wireless. Newegg has a $60 bridge (I have one) that gives you four wired outlets from a wireless bridge. 2Gnu has used an even less expensive ZyXEL in the same way.
Linux is so good - it's a shame that it so often starts out in wireless driver hell.
Could you go through what you've done to install both ndiswrapper and the Windows driver? What happens when you load the ndiswrapper module? Are there any clues in your log files (/var/log/syslog, /var/log/messages and the dmesg output) after you load ndiswrapper?
Ok so after I blacklisted islsm and I uninstalled ndiswrapper previously through synaptics, I rebooted and re-installed ndiswrapper 1.8 via synaptics. I have the windows drivers sitting on my desktop.
I did a quick check of ndiswrapper -l to make sure no drivers are infact installed from my previous attempts and its clean. Install went like this:
after I load the module, it just brings me back to a prompt with no messages. I checked lsmod and I see
Code:
usbcore ndiswrapper, ehci_hcd, uhci_hcd
Its from here that I'm stuck. iwconfig brings up no wireless extentions.
/var/log/messages and /var/log/syslog I see the same thing which is the following:
Quote:
Ubuntu kernel:
ndiswrapper v 1.38 loaded (preempt=no, smp=yes)
usbcore: registered new driver ndiswrapper
dmesg says this
Code:
ndiswrapper v 1.38 loaded (preempt=no, smp=yes)
usbcore: registered new driver ndiswrapper
usb 4-3: new high speed USB device using ehci_hcd and address 2
usb 4-3: configuration #1 chosen from 1 choice
Linux is so good - it's a shame that it so often starts out in wireless driver hell.
exactly, that is why i'm trying so hard to get this wireless to work. Everything else is great. Plays movies, music, documents, email, and all my basic necessities. The only reason I'm using WinXP still on my desktop is because I use adobe programs for audio/video editing and gaming. Other than that, Linux is great!! Certainly has evolved since the last time I tried taking the plunge years ago. Once I get this wireless figured out, I'm going to do a full reformat and get rid of WinXP on my laptop.
It looks like you have installed the driver with ndiswrapper. I haven't set up a usb successfully, so I'm stuck at this point. Hopefully somebody will help. Is iwconfig supposed to support usb devices? If so, I can't think why it does not report a device with ndiswrapper showing success.
Have you tried enabling the wireless device and configuring it in your network manager (System, Administration, Network). Does it also fail to show any device?
that's the thing, my device doesn't show up anywhere when I blacklist islsm_usb
I officially give up. I feel as if I've tried everything and still doesn't work. I ended up buying one of the wireless USB adapters from the Ubuntu list that "works out of the box"
Got my AWLL3026 WiFi USB in today. Its really slim and smaller than I thought it would be. Anyways, plugged it in, instantly Network Manager popped up with routers around me. Picked mines and entered in my security code and BAM! I was online with my laptop! FINALLY! So I can confirm it works "out of the box" on Edgy. Got a good deal on amazon marketplace for only $20 shipped. As far as performance, I haven't done anything other than check to see if I can get online then I had to rush off to work. I am a happy linux camper now!
Thanks for all those who helped and gave suggestions. The Linux community is just awesome, I tip my hat to you guys, so knowledgeable
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.