2010年12月15日 星期三

Ubuntu 10.10 Using D-link N150 DWA-525 PCI Wireless Adapter

If you want to use D-link N150 DWA-525 PCI Wireless Adapter in Ubuntu 10.10, you will get some problems on it. Even you can see your wireless device in system tray, but you can't discover/show any of wireless network in range. That's because Ubuntu use wrong driver for your PCI wireless adapter.

1. First, you have block the wrong driver
> sudo vi /etc/modprobe.d/blacklist
=> add this following line in this configure file
blacklist rt2800pci
then save and reboot, and you will find out your wireless device is disappear

2. Second, copying drivers of Windows XP(32bit) from driver CD included with your PCI wireless adapter. You will see some file in directory, and these file name should be "Drt2860" and some other files.

3. Third, installing Ndiswrapper, is a Linux module which allows Ubuntu to use Windows driver for wireless cards.
> sudo apt-get install ndisgtk
ps. You could see some data in there

4. Fourth, installing Windows driver. After you installed ndisgtk, click on System | Administration | Windows wireless drivers (you can see some screenshots on here), and load the Drt2860.inf file. Then you can see drt2860 in your driver lists.



5. Fifth, load the new driver modules.
> sudo depmod -a
> sudo modprobe ndiswrapper
> sudo ndiswrapper -m
Check some error messages by tail /var/log/messages

6. Finally, reboot your computer, and you will see your Network Manager

Reference:
D-Link n150 dwa525 only half working on 10.10
Ndiswrapper Docs