Hi. I have this problem: I have an X-Micro Wifi USB dongle. After searching and googling long time, I concluded that the only way to make it work on Linux was the ndiswrapper way.
I installed ndiswrapper, installed the Windows driver, and everything works fine: Wireless interface wlan0 is there, I can configure it using iwconfig, I can see the wireless net, i can connect, i can surf the web, etc.
The problem comes when I reboot my box. Then the wireless interface doesn't show up. dmesg shows:
vicente@VICENTE-P4:~$ dmesg | grep ndisw
[ 24.256000] ndiswrapper version 1.38 loaded (preempt=no,smp=yes)
[ 24.789208] ndiswrapper: driver net5523 (,03/10/2005,1.2.0.25) loaded
[ 39.820889] ndiswrapper (NdisWriteErrorLogEntry:231): log: C0001389, count: 4, return_address: f8d36d1b
[ 39.820897] ndiswrapper (NdisWriteErrorLogEntry:234): code: 0xf7f207c8
[ 39.820901] ndiswrapper (NdisWriteErrorLogEntry:234): code: 0x28
[ 39.820905] ndiswrapper (NdisWriteErrorLogEntry:234): code: 0xf8b94000
[ 39.820909] ndiswrapper (NdisWriteErrorLogEntry:234): code: 0xf8b94000
[ 39.821068] ndiswrapper (miniport_init:275): couldn't initialize device: C0000001
[ 39.821080] ndiswrapper (pnp_start_device:426): Windows driver couldn't initialize the device (C0000001)
[ 39.821113] ndiswrapper (miniport_halt:339): device f7f20400 is not initialized - not halting
[ 39.821128] ndiswrapper: device eth%d removed
[ 39.821153] ndiswrapper: probe of 3-6.4.2:1.0 failed with error -22
[ 39.821173] usbcore: registered new interface driver ndiswrapper
So, it says ndiswrapper can't initialize my device using the windows driver. Even if i switch to Windows, I can't use the dongle. I have to unplug it, and plug it again. The n it works on Windows. After that, i switch to Linux again and it works perfectly again, dmesg showing:
vicente@VICENTE-P4:~$ dmesg | grep ndisw
[ 24.082381] ndiswrapper version 1.38 loaded (preempt=no,smp=yes)
[ 24.432764] ndiswrapper: driver net5523 (,03/10/2005,1.2.0.25) loaded
[ 25.175485] usbcore: registered new interface driver ndiswrapper
My dongle has two leds: Power & Link. I also noticed that when i reboot from Linux, the power Led starts to blink, so it seems like ndiswrapper leaves the device on an unstable state or something like that.
My configuration is:
Distro: Ubuntu Feisty (7.04)
Kernel: 2.6.20
ndiswrapper: 1.38
Wifi USB Card: X-Micro (
http://www.x-micro.com/main-product-108usbadapter.html)
Chipset: Atheros AR5523
Driver: From Manufacturer CD (Windows XP)
This version of ndiswrapper was installed using apt-get. I tried installing the newer version from source (1.47), but the problem remains.
Please help me to solve this, i only use linux on my work, and want to do the same at home, but this problem is holding me from saying good bye to Virus XP .