DWL-G120 + ndiswrapper + Ubuntu
June 27th, 2007
Inside: steps to getting a D-Link DWL-G120 B1 USB wireless card working on Ubuntu 7.04 (linux 2.6.20-15-generic). Have been using it heavily for about a half-hour and it seems to work. Sharing the wealth.
Bibliography
- Ubuntu wiki: ndiswrapper (by far the most useful source)
- ndiswrapper chipset list
- D-Link DWL-G120 drivers page
Step-by-step
$ sudo -s # apt-get install ndiswrapper-utils # curl -O ftp://ftp.dlink.com/Wireless/dwlg120/Drivers/DWL-G120_driver_112.zip # mkdir DWL-G120 ; cd DWL-G120 ; unzip ../DWL-G120_driver_112.zip # apt-get install unshield # unshield x data1.cab # cp Inf/PRISMA02.inf DrvME ; cd DrvME # ndiswrapper -i PRISMA02.inf # ndiswrapper -l prisma02 : driver installed device (2001:3701) present (alternate driver: prism54usb) # depmod -a # modprobe ndiswrapper # tail /var/log/messages Jun 27 10:00:40 pd06 -- MARK -- Jun 27 10:04:53 pd06 kernel: [61505.442684] ndiswrapper version 1.38 loaded (preempt=no,smp=yes) Jun 27 10:04:54 pd06 kernel: [61505.806582] usb 1-2: reset full speed USB device using uhci_hcd and address 2 Jun 27 10:04:54 pd06 kernel: [61506.030430] ndiswrapper: driver prisma02 (GlobespanVirata,11/11/2003, 1.00.5.0) loaded Jun 27 10:04:56 pd06 kernel: [61508.736920] wlan0: ethernet device 00:0f:3d:48:0b:b3 using NDIS driver: prisma02, version: 0x10005, NDIS version: 0x500, vendor: 'D-link AirPlus G DWL-G120 Wireless USB Adapter', 2001:3701.F.conf Jun 27 10:04:56 pd06 kernel: [61508.737056] wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA Jun 27 10:04:56 pd06 kernel: [61508.737268] usbcore: registered new interface driver ndiswrapper Jun 27 10:04:58 pd06 kernel: [61510.739276] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready # ifconfig [...] wlan0 Link encap:Ethernet HWaddr 00:0F:3D:48:0B:B3 inet6 addr: fe80::20f:3dff:fe48:bb3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:38 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4232 (4.1 KiB) TX bytes:558 (558.0 b) # ndiswrapper -m