After some test, the problem boils down to:

With HAL free madwifi version, for AR5008 chipset and linux kernel 2.6.29.1, sta, ap modes work, monitor mode freezes system.
With HAL-non-free madwifi version, sta, monitor modes work, ap mode doesn't work.

Also for AR5008 chipset, lspci shows the model AR5008, however in dmesg it shows another two numbers AR5418 and 5416.

Hope this information can do some help. Thanks.

Leo


From: lsablex@hotmail.com
To: madwifi-users@lists.sourceforge.net
Date: Wed, 27 May 2009 00:31:46 +0000
Subject: [Madwifi-users] System freezes on switching to monitor mode (more detail)

Hi guys,

Let me put in more details for my problem.
I use CentOS and linux kernel is 2.6.29.1. The wifi card is AR5008. Madwifi I use:  madwifi-trunk-r4029-20090525.tar.gz.
After I followed the how to, build and install, I switch the mode to monitor with the following command:
ifconfig ath0 down
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode monitor

The system freezes as soon as I switch it. In the /var/log/messages file, there is no log event for this.
Please let me know any other method that I can provide more information.

Thanks,

Leo




Hotmail® has ever-growing storage! Don’t worry about storage limits. Check it out.

Hotmail® has ever-growing storage! Don’t worry about storage limits. Check it out.