ndiswrapper and the D-Link DWL-G122

In the past few days I’ve noticed a bunch of people referred to this blog from Google and they’re all searching for info on using the D-Link DWL-G122 with ndiswrapper. In short, I got it to work.

Looking back on my previous two entries on the subject, it may be a bit confusing as to how I got it going so I thought in the interest of contributing to the greater good, I’d go over what I did.

First, the only way I was able to get the DWL-G122 to work perfectly was using ndiswrapper 1.1. Prior versions resulted in it either not working or the machine locking up when the device was removed. Second, in order to use the DWL-G122 on a 2.4 kernel you must run ndiswrapper 1.1. Version 1.0 will not properly compile as it doesn’t “have hashing”. Version 1.1 of ndiswrapper provided wrapper macros. Third, make sure you grab the proper driver from the D-Link site. I struggled for a couple hours needlessly because I had downloaded the driver for the DWL-122 not the DWL-G122. Don’t download the driver from anywhere but the DLink site and don’t use any direct links to drivers from any site other than DLink. I say this as there are multiple revisions of the same DWL-G122 product and they all use different drivers. Fourth, make sure you have the wireless-tools package installed so that you can configure your newly working USB wireless device. Finally, if you plan to connect to an encrypted access point, out of the box you will only be able to use WEP. If you want to use WPA you will need to install WPA Supplicant. I don’t have a WPA access point so I never tried this.

I have the DWL-G122 working on both the 2.4.x and 2.6.x kernels (I tried 2.4.27, 2.4.28 and 2.6.10) and the device can connect to open and WEP-enabled access points. The device can be plugged into a USB port and be immmediately activated and can be removed from the usb port without any adverse effects on the host machine.

Summary
Distribution: Gentoo
Kernel: 2.4.x or 2.6.x
ndiswrapper: 1.1
Device: DWL-G122 (revision A2)
Driver: prisma02 version 3.00.21.0

Still can’t get it to work? Email me. You do that by taking my two initials (look in the URL of this blog) and add @zymeta.com.

Wed, 30 Mar 2005 00:10 Posted in

Comment ndiswrapper and the D-Link DWL-G122


RSS