LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-07-2011, 09:11 PM   #1
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Rep: Reputation: 15
"ndiswrapper is not installed"


I'm trying to get an Airgo agn100 working in Ubuntu 10.10, 32 bit using this guide
:http://welcometoubuntu.blogspot.com/...i-enabled.html

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?

Last edited by pottzie; 03-07-2011 at 09:17 PM.
 
Old 03-07-2011, 09:41 PM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,583

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Try this instead.
 
Old 03-07-2011, 09:52 PM   #3
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 266

Rep: Reputation: 30
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.
 
Old 03-07-2011, 10:13 PM   #4
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,583

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Originally Posted by fbsduser View Post
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.
Put these in a folder on your desktop, call it ndiswrapper or something.
ndiswrapper-common, ndiswrapper-utils, ndisgtk.

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.
 
Old 03-08-2011, 05:35 AM   #5
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
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.
 
Old 03-08-2011, 03:37 PM   #6
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
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?
 
Old 03-08-2011, 04:03 PM   #7
jefro
Guru
 
Registered: Mar 2008
Posts: 11,118

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Look over this page maybe. https://help.ubuntu.com/community/Wi...er/Ndiswrapper

Might even look at this page. http://www.bgevolution.com/blog/ndis...-4-easy-steps/
 
Old 03-08-2011, 05:36 PM   #8
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,583

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Originally Posted by pottzie View Post
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.
 
Old 03-08-2011, 08:11 PM   #9
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
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#
This happens no matter what method I use.
 
Old 03-08-2011, 08:30 PM   #10
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
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!
 
Old 03-08-2011, 08:34 PM   #11
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,583

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Glad to see something started going right for you.

You are much better off trying to do this with deb packages and not trying to compile ndiswrapper from source unless you absolutely must.

Do you have a net connection? i.e. are you actually able to browse the web?

Last edited by k3lt01; 03-08-2011 at 08:36 PM.
 
Old 03-08-2011, 08:46 PM   #12
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
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.
 
Old 03-08-2011, 08:48 PM   #13
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,583

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
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.
 
Old 03-08-2011, 09:23 PM   #14
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
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!

Last edited by pottzie; 03-09-2011 at 08:59 AM.
 
  


Reply

Tags
ndiswrapper


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] just installed Slackware....Lilo>Select "Ubuntu">>> "Ubuntu is in low graphics mode"? Ubunoob001 Slackware 14 09-16-2010 04:47 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Post back , How to get "yum" and "ndiswrapper" to work? BootLaptop Linux - Wireless Networking 1 07-17-2007 08:27 PM
How to correct "yum" and "modprobe" when using ndiswrapper? BootLaptop Linux - Wireless Networking 2 07-15-2007 07:14 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM


All times are GMT -5. The time now is 02:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration