If you are trying to get a device working with ndiswrapper, please help ndiswrapper project wiki by contributing your findings. See HowToContribute

D-Link DWL-G630 rev c2

From NDISWrapper
Jump to: navigation, search

D-Link AirPlus DWL-G630 (Hardware revision C2)

  • Chipset: Atheros Communications, Inc. AR5212 Multiprotocol MAC/baseband processor (rev 01)
  • pciid: 168c:001a (rev 01)
  • Driver: Download WindowsXP driver version 300 from D-Link website.


  • Distribution: Fedora Core 5
  • Ndiswrapper version: 1.16
  • wpa_supplicant version: 0.4.9
  • System: Dell Inspiron 8000

WinXP driver ver 300 will not work with the regular Fedora 5 kernel (2.6.15-1.2054_FC5, i686), due to the 4K stack limit (you will see this warning when you build ndiswrapper with regular FC5 kernel). Download Fedora Core 5 kernel from Linuxant.com, built with 16K stack. To download the kernel go to Linuxant.com, click Download under DriverLoader section (choose your distribution and your Kernel architecture) and you will be taken to a page where you can download the 16k kernel. For FC5 i686, download the kernel (2.6.15-1.2054_FC5) and the kernel headers (2.6.15-1.2054_FC5smp). Install both the packages. Uninstall any version of ndiswrapper you installed with regular version of FC5 kernel. Shutdown and reboot your machine with FC5.stk16 kernel (GRUB will let you choose the kernel). Build ndiswrapper with the 16K kernel headers. Copy all 4 files (net5211.inf, cat and the two sys files) present in WinXP drivers ZIP file into one folder and use the INF file to install the driver. Now your system will not crash when you execute modprobe ndiswrapper. Follow the rest of the instructions to configure ndiswrapper. Using wpa_supplicant, I could get my card to use WPA-PSK, AES and TKIP. I built my wpa_supplicant with CONFIG_DRIVER_WEXT=y (in addition to CONFIG_DRIVER_NDISWRAPPER=y and CONFIG_CTRL_IFACE=y). Lastly if you made a mistake in the wpa_supplicant.conf about the WPA protocol to use to communicate to with your AP, try rebooting your machine for your changes to take effect. I kept getting weird errors when I started wpa_supplicant (like "no keys found" and "driver does not support WPA"). Remeber to use -Dwext option with wpa_supplicant instead of -Dndiswrapper. cheers. Ndis rocks !!