Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
and ndiswrapper. I'm OK down to part 2, line 5. When I run "ndiswrapper -l" it returns "ndiswrapper is not installed. You can get it by typing apt-get install ndiswrapper" And of course, when I type that, it fails. I have a Directory for ndiswrapper in my home directory, as well as a directory for the belkin pre-n driver that the Airlink needs. How can I get the terminal to "see" ndiswrapper?
You'll need to either:
1) Hook the PC to the router through a wired connection and download ndiswrapper. Or:
2) From another OS/PC download the ndiswrapper-common and ndiswrapper-utils packages (from packages.ubuntu.com) and place them in the /var/cache/apt/archives folder on the PC you want to install ndiswrapper on. Then install from apt-get.
download the ndiswrapper-common and ndiswrapper-utils packages (from packages.ubuntu.com) and place them in the /var/cache/apt/archives folder on the PC you want to install ndiswrapper on.
You may also need ndiswrapper-dkms but I can't find it and I'm not going to look for it unless you need it (I know Debian Squeeze needs it but not sure about Ubuntu 10.10).
Now follow this code sequence in a terminal.
Code:
cd Desktop
cd NameOfYourNewFolder
sudo dpkg -i *.deb
Doing this will install the debs in your new folder IF all the dependencies are ok. If your have dependencies that need grabbing I would suggest you hook up to a wired connection
Once that is done go to System > Administration > Windows Wireless Drivers, install the driver, wait about 15 seconds and you should have a wireless connection.
Thanks for all the help! I'd rather have several options, and this gives me a lot of different ways of going at this. It's morning here, and I'm about to leave for work, will try "all of the above" and see what happens. I've gotten this to work already, but whenever I get a kernel update or reinstall an operating system, I run through this and it always seems to stop at the "ndiswrapper is not installed" road block. Maybe now I'll see where I've screwed up! Thanks.
Well fudgesickels, I'm hosed! The guide referenced by K3ltO1 is word-for-word a duplicate of the guide I used. Thanks, though. /var/cache/apt/archives does show that ndiswrapper-common and ndiswrapper-utils packages are there. I went to packages.ubuntu.com and searched ndiswrapper-common, and it shows that they have it, but I don't see a way to download it as a .tar file. Assume that's what you meant.
I think ndisgtk is what I really need. I had it installed, but somehow it got broken, maybe when I removed stuff at the start of the guide directions. ndisgtk shows as being installed from Synaptic, but when I try and open it, it vanishes. I've tried reinstalling it, and bash shows it as the latest version. Ubuntu forum is no help with that so far, I posted a few hours ago. I had a chuckle though as Ubuntu downloaded a new kernel this morning. Guess it saved me from the aggravation of getting it working just to have to redo it tonight!
I thought at this point it couldn't hurt to go back and try and see if re-running the commands for ndiswrapper would get something to work that it hasn't so far, but no change after running them. Either I'm repeating whatever I'm doing wrong, or the guide has a boo-boo. If it's the guide's "fault", then how come all the other Airgos are working?
I went to packages.ubuntu.com and searched ndiswrapper-common, and it shows that they have it, but I don't see a way to download it as a .tar file. Assume that's what you meant.
I linked directly to the files I know you need, follow the instructions in the "HowTo" that explain how to remove the bits of ndiswrapper you have already installed. Then click on the links and install them as debs with either gDebi or Ubuntu Software Center. Once you have done that use ndisgtk which becomes "Windows Wireless Drivers" in System > Administration and install the driver that way. If that doesn't work let us know and we can work through it another way but you are always best to try installing things as a deb before doing it from source.
Every time I run "make install" on the ndiswrapper directory, it runs, but at the end I get a string of errors, and it exits with "Error 2", which as I understand things means "Dude, this ain't gonna work."
Code:
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c: In function ‘set_multicast_list’:
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c:953: error: ‘struct net_device’ has no member named ‘mc_count’
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c:956: error: ‘struct net_device’ has no member named ‘mc_count’
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c:960: error: ‘struct net_device’ has no member named ‘mc_count’
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c:960: warning: type defaults to ‘int’ in declaration of ‘_min2’
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c:960: error: ‘struct net_device’ has no member named ‘mc_count’
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c:967: error: ‘struct net_device’ has no member named ‘mc_list’
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c:968: error: dereferencing pointer to incomplete type
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c:969: error: dereferencing pointer to incomplete type
/home/pottzie/ndiswrapper-1.56/driver/wrapndis.c:971: error: dereferencing pointer to incomplete type
make[3]: *** [/home/pottzie/ndiswrapper-1.56/driver/wrapndis.o] Error 1
make[2]: *** [_module_/home/pottzie/ndiswrapper-1.56/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-28-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/pottzie/ndiswrapper-1.56/driver'
make: *** [all] Error 2
root@pottzie-DA236A-ABA-6420NX-NA910:/home/pottzie/ndiswrapper-1.56#
Hey K3ltO1, I didn't see your post before I posted just now! I didn't know those were links (and they were "weird" as there was no page info showing where the download came from!/?)
But when I did what you said to, I now have a working ndisgtk, it shows "device present," and when I run ndiswrapper -l, I get a line saying that the driver is on board! So that's better news than I've had for a day or so, at least!
Actually posting this from the computer I'm trying to get it working on. I've got a "G" receiver that works, it's just slow. The "N" type is a lot faster..if I can get it to hook up!
Just finished rebooting. The Airgo still doesn't connect, ifconfig and iwconfig go nowhere unless I plug in the G usb, but it's gotta be closer than it was prior. Ubuntu has ndiswrapper available through Synaptic, but I'd read that going with the Sourceforge tar file worked better. Guess not.
Sometimes Ubuntu won't access the internet without a little bit of work so if you are having difficulty getting online even though ndiswrapper is seeing your wireless I wouldn't worry to much just try this post out.
Added the line to /etc/dhcp3/dhclient.conf, but still no connection. I'm seeing no wlan when I use ifconfig and no wireless extensions with iwconfig. I don't think it gets as far as using DHCP- it doesn't start, so there's no request as far as I can see.
I'm trying to find a guide I found for trouble shooting wireless. It was Fedora based, but it had a great series of commands for getting wireless going, after the drive was working. Had it saved in my bookmarks, but of course now that I need it...
Might as well mark the thread as "solved." My original problem has certainly been taken care of!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.