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.
I'm trying to set up a DWL-122 in ubuntu with ndiswrapper. Ndiswrapper supports the dongle and I sucessfully have run through installation of ndiswrapper and the tested drivers with no problem.
I then do iwconfig and it tell me
lo no wireless extensions.
eth1 no wireless extensions.
wlan0 no wireless extensions.
sit0 no wireless extensions.
I feel as if I am missing something here because I've had no errors through the installation. Can anyone enlighten me by any chance?
Hi, I'm off to bed shortly but I'd really appreciate any help you could give me. I'm not new to linux (but relatively inexperienced) and am new to ubuntu.
Would it have anything to do with the compiled kernel, i.e. some wireless modules not selected, I personally dont think so but I'm no expert. I'll be back on tomorrow for further discussion hopefully.
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417
Rep:
Dont know if you have done this already but after ndiswrapper -i you must do depmod -a then modprobe ndiswrapper. Check dmesg - should be something like "ndiswrapper version <version> loaded" then try iwconfig. If all well continue as per this http://ndiswrapper.sourceforge.net/m...p/Installation and remember to do ndiswrapper -m then add ndiswrapper to /etc/modules file.
If that fails then there may already be a driver installed for the device - prism2_usb may be already installed by default so lsmod will show if it is there. Did you try to bring up the interface before using ndiswrapper?
"modprobe prism2_usb prism2_doreset=1" has been found to work.
Remove ndiswrapper before you try prism2 and vice-versa ( rmmod ndiswrapper).
Sorry dont know how much you already know so maybe telling you things you're already aware of.
Yeah that wiki page is the installation I tried to follow and still got no luck. The most annoying thing is there are NO ERRORs appearing, everything is working fine until I type iwconfig and it tells me there are no wireless extensions.
I removed the ndiswrapper and tried
"modprobe prism2_usb prism2_doreset=1"
as you suggested and again it didnt through up any errors
I then attempted to restart the network with
"etc/init.d/networking restart"
and it complained of
"DHCPDISCOVER on wlan0 to 255.255.255.255 prot 67 interval XX" (xx is a changin number)
"send_packet: Network is down"
"receive_packet failed on wlan0: Network is down"
I know the network is there because I'm connected through my laptop via windows. I'm becoming very disillusioned with wireless on linux, this my third attempt at getting it working. I previously tried wlan-ng with limited success and was hoping ndiswrapper offered a better solution but its not looking likely
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417
Rep:
This is about it for me Im afraid "If it's a USB driver problem there are known issues with high speed USB and ndiswrapper, module under 2.6 is called ehci_hcd, try modprobe --remove ehci_hcd and then reload the ndiswrapper module, that's worked for some people."
Unfortunately its the hardware manufacturers to blame for the lack of drivers so until they decide its worthwhile we just gotta put up with it :-(
Some info here that may be of help https://launchpad.net/distros/ubuntu...-ng/+bug/37451
Thanks Beagle2 for all your help, I've tried everything you've suggested byt I simply couldnt get ndiswrapper up and going on ubuntu. I found a forum with others (using ubuntu) with the same problem with no offered solution.
Just for anyone looking on this forum, I did eventually get the DWL-122 going using linux-wlan-ng. Luckily there is a repository in ubuntu for this so all I had to do was
1. sudo apt-get install linux-wlan-ng
2. I had to modify my /etc/networking/interfaces to load the wlan0 interface (and include ESSID among other thing, I can post this if any needs it)
3. ifup wlan0
At the time I didnt expect this to work and I may have forgotten a step but this should get any trying close enough.
On a further point after 2 days of trying I could not get WEP/WPA up and running. If anyone knows a way of doing this I'd appreciate the reply but as long as my wireless is up and running and the network is locked down via MAC Address I'm not overly bothered
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.