Using D-Link DWL-G510 Wireless Card in Linux

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.

  1. Good work. Clear, to the point and very useful information. I was hunting for this sort of info googleing with: wireless dwl g510 adaptor linux drivers
    Will now try the info out.

    Thanks,
    nk

  2. I agree with NK – your description is very precise and useful

    I am also on Debian Lenny and have a D-Link card

    Will try out your approach shortly

    Keep up the good work – and lets continue keeping the pressure on Silly Billy aka Micro-something

    FK

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>