View Full Version : [ubuntu] driver on NDiswrapper hangs Hardy Heron

April 27th, 2008, 03:08 PM

I have a compaq C768TU with the following Atheros AR242x Wireless card,

home@home-laptop:/etc/ndiswrapper$ lspci | grep Wireless
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

This was working perfectly fine with ndiswrapper on Gutsy gibbon, but on upgrading to Hardy the machine hangs on booting after the login screen. The wireless driver being used is Net5416.inf from the vendor Atheros site. Now disabling the Wifi [pressing the wifi button] allows the laptop to boot normally. Hence I have uninstalled the misbehaving driver .

root@home-laptop:~/Desktop# sudo ndiswrapper -l

Please let me know the correct driver to install.Thank you.


April 27th, 2008, 03:18 PM
Boot into the machine. Do a depmod -a. Load the driver inside ndiswrapper. Check dmesg for errors. What does ndiswrapper -l say at this point along with modinfo ndiswrapper. Then load ndiswrapper into the kernel and hopefully check dmesg again. There is most likely a driver conflict.

April 27th, 2008, 04:46 PM
Hi kevdog

I did a Depmod -a followed by ndiswrapper -l

home@home-laptop:~$ ndiswrapper -l
net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)

how do i check dmesg for errors ? this is the output of modinfo ndiswrapper :

home@home-laptop:~$ sudo modinfo ndiswrapper
filename: /lib/modules/2.6.24-16-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko
license: GPL
version: 1.52
description: NDIS wrapper driver
author: ndiswrapper team <ndiswrapper-general@lists.sourceforge.net>
srcversion: 0B3A678F6DE891D9F074C3E
depends: usbcore
vermagic: 2.6.24-16-generic SMP mod_unload 586
parm: if_name:Network interface name or template (default: wlan%d) (charp)
parm: proc_uid:The uid of the files created in /proc (default: 0). (int)
parm: proc_gid:The gid of the files created in /proc (default: 0). (int)
parm: debug:debug level (int)
parm: hangcheck_interval:The interval, in seconds, for checking if driver is hung. (default: 0) (int)
parm: utils_version:Compatible version of utils (read only: 1.9) (charp)

Please let me know how to check dmesg and driver conflict

Thx .Praveen

April 27th, 2008, 05:05 PM
please post

lsmod| grep ath

type dmesg
post only section related to ndiswrapper and not entire output

April 27th, 2008, 05:15 PM
home@home-laptop:~$ sudo lsmod| grep ath
[sudo] password for home:

home@home-laptop:~$ type dmesg
dmesg is /bin/dmesg

This is the only output that I got.


April 27th, 2008, 05:19 PM
Please try to do some additional reading

lsmod | grep ath

April 27th, 2008, 05:24 PM
Here it is

home@home-laptop:~$ lsmod | grep ath

ok I get this on typing dmesg

home@home-laptop:~$ dmesg | grep ndiswrapper
[ 37.540547] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
[ 37.649597] ndiswrapper: driver net5211 (,11/15/2006, loaded
[ 37.649875] ndiswrapper (ZwClose:2227): closing handle 0xdfaaf728 not implemented
[ 38.062417] ndiswrapper: using IRQ 22
[ 38.274728] usbcore: registered new interface driver ndiswrapper
[ 182.559940] ndiswrapper (iw_set_ap_address:575): setting AP mac address failed (00010003)
[ 212.269816] ndiswrapper (iw_set_ap_address:575): setting AP mac address failed (00010003)

Thank You,

April 27th, 2008, 07:10 PM
I have no idea what this means:

[ 182.559940] ndiswrapper (iw_set_ap_address:575): setting AP mac address failed (00010003)
[ 212.269816] ndiswrapper (iw_set_ap_address:575): setting AP mac address failed (00010003)

Although this is the source of the error you may have to google around what causes this and what possible solutions may be.

April 27th, 2008, 07:26 PM
Hi Kevdog

Googling doesnt return any results...I am planning to unload the existing
net5211.inf and restart from the begining.


April 27th, 2008, 08:05 PM
No way you can just use the madwifi drivers for this card? Something seems strange for sure.

April 28th, 2008, 06:48 AM
Hi Kevdog

So should I use Ndiswrapper or madwifi ,
I have used ndiswrapper and it worked but hangs the machine,
Dont know how to use madwifi, can u let me know how do go about it.

Thank you.