Use Ndiswrapper AFTER unloading other wireless drivers!!!
Ubuntu 7.04, Dlink wireless adapter DWA 130
After the landlord changed the Internet provider, changing the wireless network name and password two times, somehow my Ubuntu 7.04 kept trying to connect to the wireless network for a long time, the whole pc became very slow, even keyboard was not responding, it seemed like two drivers[ndiswrapper and a native linux driver from updates] tried to control one dlink dwa 130 wireless adapter, then after forcefully restart the pc a few times, I could not start the GUI anymore... error messages: "failed to start X server. X server disabled. Restart GDM when it is configured correctly... nm_hal_d... var/log/Xorg.0.org ... using config file /etc/X11/Xorg.conf..., failed to load module fglrx, module does not exist... No drivers available...
Fatal Server Error..."
eventually, I reinstalled Ubuntu.
So make sure you disable all other wireless drivers...
references:
https://help.ubuntu.com/community/Wi...er/Ndiswrapper
--Display list of modules
$ lsmod ...lists currently loaded kernel modules
$ lsmod | grep ndis ... list only one driver "ndis*"
--Blacklist other modules
$ sudo gedit /etc/modprobe.d/blacklist
$ sudo kate /etc/modprobe.d/blacklist (for Kubuntu)
Adding similar lines below for all wireless related modules at the end of this file
[Make sure neither the Ubuntu, nor the RaLink modules are loaded (the former doesn't work, while the latter causes conflicts]. If you are using ndiswrapper, you do NOT want any Ralink rtxx modules!!
blacklist rt2400
blacklist rt2570
...
blacklist bcm43xx
... the modules usbcore and ohci_hcd are standard because
$ lsmod | grep ndis
ndiswrapper 192920 0
usbcore 146028 3 ndiswrapper,ohci_hcd
reboot, if the module is still being loaded...
...make sure another module does not depend on this module
$ modprobe --show-depends moduleName (it will list itself there too)
or rename module dependencies so it won't load...
$ cd /lib/modules/`uname -r`/ubuntu/wireless/rt2x00
$ sudo mv rt2500usb.ko rt2500usb.ko_bak ...manually rename rt2570 module dependencies