How to Install and Use ndiswrapper [Video]

 in

Hardware manufacturers often don't release specifications of their products to the open source community, so programs like ndiswrapper become necessary. This video demonstrates how to use Windows wireless drivers in Linux using ndiswrapper.

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Thanks

913fred's picture

Although this doesnt seem to work for my AirLink 101 card -awll6070- in Mint Linux 8, it is a fine presentation and thanks to Elliot for the effort preparing the transcript! This type of information is of great help to those trying to learn Linux

Why can't there just be an

Anonymous's picture

Why can't there just be an icon I click and it does all this for me?

Why can't there just be....

913fred's picture

You are correct. If you think of the relative ease of installing programs and devices in Windows compared to what it takes in Linux, it is clear that Linux will never be a significant player in OS's for the average user. Sad, because Linux is a good product.

This is hardly worth all the

Anonymous's picture

This is hardly worth all the work. The install of freespire is so easy then you have to deal with this just to get a usb windows driver installed.......OI?? Ubuntu is pretty plain, and makes it not worth learning this for a new Linux person. This would be easy if I was used to terminals and linux, but from day 1 this is hard.

need to install belkin N wireless driver

Charles 's picture

I just installed ubuntu and downloaded ndiswrapper. I followed your video to the T, but keep getting the same errors. I am out of options and need some help. Here is the shell output I keep getting.

charles@charles-desktop:/usr/src/ndiswrapper-1.52$ sudo make
make -C driver
make[1]: Entering directory `/usr/src/ndiswrapper-1.52/driver'
make -C /usr/src/linux-headers-2.6.28-11-generic SUBDIRS=/usr/src/ndiswrapper-1.52/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CC [M] /usr/src/ndiswrapper-1.52/driver/iw_ndis.o
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c: In function ‘ndis_translate_scan’:
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1039: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1039: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1039: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1039: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1049: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1049: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1049: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1049: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1055: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1055: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1055: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1055: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1066: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1066: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1066: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1066: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1081: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1081: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1081: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1081: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1095: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1095: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1095: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1095: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1106: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1106: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1106: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1106: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1122: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1122: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1122: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1122: error: too few arguments to function ‘iwe_stream_add_value’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1133: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1133: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1133: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1133: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1139: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1139: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1139: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1139: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1162: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1162: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1162: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/usr/src/ndiswrapper-1.52/driver/iw_ndis.c:1162: error: too few arguments to function ‘iwe_stream_add_point’
make[3]: *** [/usr/src/ndiswrapper-1.52/driver/iw_ndis.o] Error 1
make[2]: *** [_module_/usr/src/ndiswrapper-1.52/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/ndiswrapper-1.52/driver'
make: *** [all] Error 2
charles@charles-desktop:/usr/src/ndiswrapper-1.52$

Same problem

Anonymous's picture

I have the same error messages...did you ever find a solution???

This Worked! - Ubuntu user w/ Belkin Wireless N USB Adapter

PammiePi's picture

Thanks so much! I just installed Ubuntu & have a wireless N USB Belkin adapter. I found references to the ndiswrapper thingy, and another tidbit about using the .ini & .sys files from the XP2K folder, then followed your tutorial step by step, and am now operational! Never would have been able to do it without your tutorial. I also discovered that with Ubuntu, I had to use "sudo su" to get to the root to do some of the stuff. Sure was glad when I saw that blue light blinking on my adapter.

"ifconfig wlan0 up" command not working as expected

ArmyKid93's picture

This is a great tutorial, and, for the most part, everything worked exactly as it should. NDISWrapper installed, and the driver for my card installed, but when I put in the command "ifconfig wlan0 up", I get "No such file or directory" in response. Up until that point, everything went exactly the same as it had on the video, so I don't know what went wrong.

Please help!

Thanks... but didn't work

Slightly Frusturated's picture

Hey! I first wanted to thank you very much for this thread, it was very helpful! I'm a 1 day Linux user now and right after the installation I came to notice my wireless internet wasn't seen by my computer. I kept looking for answers to make my netgear usb adapter work but nothing would do the trick. Finally I found this video and followed all the instructions (learning a lot) except that i manually got the drivers from the installation cd i had. Despite all my efforts, in the end, I was unable to make the internet work. Everything went perfectly until the end when I scanned for the internet and got no results. I'm guessing my usb adapter is incompatible with Ubuntu but I was just wondering if you knew of any other way to make this work.
Even if you don't, that's ok, this was very appreciated!
If you answer on this thread I'll see it.
Thanks

NDA and friends

Luis Coronado's picture

It must be clarified that most of the time the problems with wireless and other drivers not being written is the lack of proper documentation freely available without the need to sign NDA and other legal documents that only takes away the freedom to the community. OpenBSD devs for example knows that and still manage to write drivers for most of the wifi cards/chips out there. Using nndiswrapper is just another way to make gnu/linux worse. If we want source code freedom we need free documentation as well.

From source :-)

Galactic-ac's picture

Thank you, thank you, for doing this from source. This is exactly the kind of advice needed out there for new Linux users. When the video started, I was fully expecting to start hearing about Ubuntu repositories, but you didn't make the false and irritating assumption that new users are using *buntu. Please Linux Journal, keep producing _generic_ advice!

Would like see a transcript

oldcity's picture

Would like see a transcript of the
how to video of ndiswrapper. The video
is hard to follow for doing an install.
tia
oldcity

Would like see a transcript

Elliot_Isaacson's picture

Please see http://dark-code.bulix.org/9docul-66517

Hope it helps.

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState