PDA

View Full Version : Linux wirelessness


Paradigm^
27-10-2005, 11:36 AM
I've flicked through the search button but it's all too complicated and I don't want to actually have to read, that's silly.

We have a brand new wireless network and I want to get it working under Linux. How do I do it? My card is a D-Link G520. I've heard stuff about ndiswrapper, but the D-Link support website links me to MADWiFi (http://madwifi.org/) for Linux drivers. Thing is, they haven't even hit a stable first release yet.

What should I do and where should I go? I'm running the latest version of (k)Ubuntu.

Mozzer
27-10-2005, 01:39 PM
Ndiswrapper is the way forward. unfortunately it can be a nightmare to use. I did it on Ubuntu so hopefully it'll be a fairly similar job. The first thing to do is check to see if you have ndiswrapper installed or not. It was supposed to be included in my Ubuntu installation but it wasn't and that's where half my problems came from.

Go into Terminal (or whatever your command line application is) and type

ndiswrapper -l

(That's a small L by the way.) If you're lucky then it will say something like "no drivers installed" or something like that. If it doesn't recognise the command then you have to install ndiswrapper from scratch.

Do your best to follow the instructions here (http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation) but if you get stuck then I'll try to help you along the way.

Techno
30-10-2005, 01:36 AM
You can install ndiswrapper by going into Synaptic (System > Administration > Synaptic Package Manager), and search for "ndiswrapper-utils". Click on the icon to the left of it to check it for installation, click Apply at the top.

Then you need to get the Windows drivers (an INF file and another file, probably SYS), and do

"ndiswrapper -i inf-file.inf"

Which should then install the driver, then you can check by doing "ndiswrapper -l" to see if the hardware is present (but that didn't give me any indication when I did it).

Then:

ndiswrapper -m


and

modprobe ndiswrapper

After you press return after the modprobe command, it should halt for a few seconds (in that time you should see lights flashing on your wifi card), rather than just returning straight to the prompt.

After that, there's some KDE utility to set up the wireless connection, similar to GNOMEs System > Admin > Networking utility.

(I'm sure there's something I've missed out there :/ )