I have problems with madwifi-ng and recent kernels. When i switch my card to master mode (wlanconfig ath0 create wlandev wifi0 wlanmode ap) after two system completely hangs. It happened on two of my boxes amd64 and x86. Problem appears with kernel (gentoo-sources) 22+ and madwifi >= 0.9.3.3. Downgrading to earlier releases helps. I also compiled CVS version of madwifi (0.9.3.5?) on 23 (amd64) kernel an it did not hang and worked but writes to syslog (i filtered it away) "Virtual device ath0 asks to queue packet!" Even if it works sometimes ksoftirq/0 begins to eat 99% of CPU which can be stoped by "ifconfig ath0 down". Madwifi now makes a lot of problems. It worked flawlessly several months ago (( Reproducible: Always Steps to Reproduce: 1.install madwifi-ng and use master (host AP) mode 2. 3. Actual Results: system hangs Expected Results: madwifi work without problems as it was before.
*** Bug 212183 has been marked as a duplicate of this bug. ***
Please report this upstream, anything under 0.9.3.3 has security issues
Now i am on x86 box with 19 kernel and 0.9.3.1 madwifi Atheros Communications, Inc. AR5005G 802.11abg NIC. I have downgraded kernel and madwifi and it works perfectly.
kernel 2.6.24-gentoo-r3 madwafi-ng 0.9.4 1. run iwconfig ath0 channel 'you channel from conf.d/net' 2. run /etc/init.d/net.ath0 start 3. worked:)))) auto run from script preup(){ if [ "${IFACE}" = "ath0" ] then /sbin/iwconfig ath0 channel you channel return $? fi } Problem switching channel by face up ... step testing 1. iwconfig ath0 mode master 2. iwconfig ath0 essid test 3. iwconfig ath0 cannel 10 4. ip link set up dev ath0 5. worked.... 6. iwconfig ath0 cannel 11 7. ip link set up dev ath0 8. system hangs this is worked starting script (net.lo etc) but if 1...5 6 ip link set down dev ath0 7. iwconfig ath0 cannel 11 8. ip link set up dev ath0 9. worked Sorry my English:)))