Kismet Wireless

Kismet Forums

 

Posted by:skan
Subject:my interfaces get destroyed
Date:17:39:46 22/01/2008

I've also seen this in another forum



There's a "bug" in udev where the madwifi device (athX) stack up (increase in name from ath0 > ath1 > ath2 when using aircrack-ng.

This line in /etc/udev/persistent-net-generator.rules
# ignore "secondary" raw interfaces of the madwifi driver
KERNEL=="ath*", ATTRS{type}=="802", GOTO="persistent_net_generator_end"

causes multiple athX devices to be listed in this file:
/etc/udev/rules.d/z25_persistent-net.rules
(you'll see multiple athX devices there.

To fix this so the device name ath0 is ALWAYS used in future uses of aircrack-ng change the line in
/etc/udev/persistent-net-generator.rules
to:
# ignore "secondary" raw interfaces of the madwifi driver
KERNEL=="ath*", GOTO="persistent_net_generator_end"

and delete all athX devices in:
/etc/udev/rules.d/z25_persistent-net.rules

You can observe this phenomona when using airmon-ng:
airmon-ng start wifi0 11 #where 11 = desired channel
will show ath1 instead of ath0 and the next time you use airmon-ng it will show ath2, and so on until someday you are using ath677!


I'll try it


Reply to this message