Title: Setup D-Link DWL-G132 Version A2 using ndiswrapper Subject: Steps to get DWL-G132 Version A2 working in linux using the D-Link driver for WinXP and ndiswrapper ------------------------------------------------ # Gentoo install of ndiswrapper emerge --deep --newuse ndiswrapper eix ndiswrapper [I] net-wireless/ndiswrapper Available versions: 1.2-r1 1.15 1.16 1.17 [M]1.21 [M]1.23 Installed: 1.17 Homepage: http://ndiswrapper.sourceforge.net/ Description: Wrapper for using Windows drivers for some wireless cards # Non-gentoo install of ndiswrapper from source cd /tmp svn co https://svn.sourceforge.net/svnroot/ndiswrapper/tags/VERSION_1_23 cd VERSION_1_23/ make svn status make install ------------------------------------------------ REFERENCE Driver for DWL-G132: http://ndiswrapper.sourceforge.net/mediawiki/index.php/List Card: D-Link DWL-G132 Airplus XtremeG rev. A2 (USB) * Chipset: Atheros * Driver: neta5agu.inf 1.01.41 from D-Link's site. Need to compile utils/load_fw_ar5523 and use it to load firmware that ships w/ driver (ar5523.bin) before loading ndiswrapper. * Other: Working w/ ndiswrapper-1.6rc1. Full step-by-step posted in forum [44]. * Other: With ndiswrapper version 1.7 (and later), load_fw_ar5523 is not used; instead, install both neta5agu and athfmwdl drivers. With that, ndiswrapper will load the firmware when necessary. Note: we are using ndiswrapper version >= 1.7 ------------------------------------------------ #GET THE DRIVER from D-Link # Device Home Page: http://www.dlink.com/products/?pid=358 # D-link Driver Download:: http://www.dlink.com/products/support.asp?pid=358&sec=0#drivers # ftp://ftp.dlink.com/Wireless/dwlg132/Driver/ # # Download: DWLG132_driver_102.zip wget ftp://ftp.dlink.com/Wireless/dwlg132/Driver/DWLG132_driver_102.zip # List contents ( We need Neta5agu.in, athfmwdl.inf, and ar5523.bin ) unzip -l DWLG132_driver_102.zip Archive: DWLG132_driver_102.zip Length Date Time Name -------- ---- ---- ---- 0 10-29-04 11:15 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/ 9641217 10-30-04 02:14 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/setup.exe 0 10-29-04 11:15 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/Drivers/ 283904 10-07-04 01:39 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/Drivers/A5AGU.sys 143688 10-06-04 09:49 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/Drivers/ar5523.bin 8505 10-20-04 15:30 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/Drivers/athfmwdl.cat 1667 09-30-04 12:40 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/Drivers/athfmwdl.inf 43392 10-04-04 21:28 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/Drivers/athfmwdl.sys 8499 10-20-04 15:30 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/Drivers/NetA5AGU.cat 12373 10-08-04 14:23 D-Link AirPlus XtremeG Utility (V1.02 Build 41027) US version driver 1.0.1.41(cat)/Drivers/NetA5AGU.inf -------- ------- 10143245 10 files ------------------------------------------------ # Extract Windows Driver and firmare into /wlan directory mkdir /wlan unzip -j DWLG132_driver_102.zip "*NetA5AGU.inf" -d /wlan/ unzip -j DWLG132_driver_102.zip "*athfmwdl.inf" -d /wlan/ unzip -j DWLG132_driver_102.zip "*ar5523.bin" -d /wlan/ unzip -j DWLG132_driver_102.zip "*.sys" -d /wlan/ ------------------------------------------------ # Load Driver pushd /wlan ndiswrapper -i athfmwdl.inf ndiswrapper -i NetA5AGU.inf ------------------------------------------------ # List loaded driver ndiswrapper -l Installed drivers: athfmwdl driver installed, hardware present neta5agu driver installed, hardware present ------------------------------------------------ # List driver coppied to /etc/ndiswrapper ls -alF /etc/ndiswrapper/* /etc/ndiswrapper/athfmwdl: total 200 drwxr-xr-x 2 root root 208 Sep 10 23:56 ./ drwxr-xr-x 4 root root 144 Sep 10 23:56 ../ -rw-r--r-- 1 root root 149 Sep 10 23:56 2001:3A01.F.conf -rw-r--r-- 1 root root 149 Sep 10 23:56 2001:3A03.F.conf -rw-r--r-- 1 root root 143688 Sep 10 23:56 ar5523.bin -rw-r--r-- 1 root root 1667 Sep 10 23:56 athfmwdl.inf -rw-r--r-- 1 root root 43392 Sep 10 23:56 athfmwdl.sys /etc/ndiswrapper/neta5agu: total 448 drwxr-xr-x 2 root root 208 Sep 10 23:56 ./ drwxr-xr-x 4 root root 144 Sep 10 23:56 ../ -rw-r--r-- 1 root root 376 Sep 10 23:56 2001:3A00.F.conf -rw-r--r-- 1 root root 376 Sep 10 23:56 2001:3A02.F.conf -rw-r--r-- 1 root root 283904 Sep 10 23:56 a5agu.sys -rw-r--r-- 1 root root 143688 Sep 10 23:56 ar5523.bin -rw-r--r-- 1 root root 12373 Sep 10 23:56 neta5agu.inf ------------------------------------------------ # Activate the card and card lights light up depmod -a modprobe ndiswrapper lsmod |grep ndis ndiswrapper 152848 0 usbcore 97408 7 ndiswrapper,ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd ------------------------------------------------ # To Remove drivers when finished ifconfig wlan0 down ndiswrapper -e athfmwdl ndiswrapper -e neta5agu rmmod ndiswrapperiwco