Today I bought a D-Link DWL-G510 Wireless G PCI Adapter for one of my linux desktops. Once I got the card installed I was thrilled to find that this card is not natively supported under linux. I thought I was going to have to return the card and get a different one until I remembered reading about using Windows network drivers under linux. Sure enough, this card can be used in linux using a program called NdisWrapper. Here are the steps I took to get it working under a Debian based distribution.
- Install NdisWrapper:
]$ apt-get install ndiswrapper-utils
- Mount driver CD and install windows drivers:
]$ mount /dev/cdrom0 /media/cdrom ]$ cd /media/cdrom/Drivers/Drivers ]$ ndiswrapper -i NetA3AB.inf ]$ ndiswrapper -l (Verify driver was installed correctly)
- Load NdisWrapper module:
]$ modprobe ndiswrapper
Now you will be able to find your wireless card as wlan0 and be able to use wireless-tools to setup and configure your wireless settings. You can also scan for wireless networks using the
iwlist wlan0 scan command. I would also add ndiswrapper to /etc/modules so the card is loaded on startup.