Control: retitle -1 airmon-ng/airodump-ng: ioctl(SIOCSIFFLAGS) failed: Name not unique on network Thanks.
Hi, I'm not sure if this is a bug on aircrack-ng, on your kernel or driver of your wireless card, or on your specific network or system configurations. After grepping the kernel, it seems to me that the error ENOTUNIQ ("Name not unique on network") happens when you try to create some interface with a duplicate MAC address and one of this interfaces is not in monitor mode. The interface mon0 is going to have the same MAC than the parent (wlan1), so either one of mon0 or wlan1 has to be in monitor mode. The interface that airmon-ng enables on mon0 should be a interface of type NL80211_IFTYPE_MONITOR, so it shouldn't give ENOTUNIQ error. You say that it works if you manually first put wlan1 in monitor mode. So that matchs my understanding of the situation. Seems that for some reason (read:bug) the interface mon0 is not beeing created in monitor mode mode by default. Can you try the following: 1) First stop NetworkManager $ service network-manager stop And retry creating mon0 with airmon-ng. If it still fails with the same error. 2) Try using airmon-zc instead of airmon-ng to bring the interface up: $ sudo airmon-zc start wlan0 3) If it still fails, try creating the mon0 interface manually: sudo iw dev wlan1 interface add mon0 type monitor 4) You are running a propietary driver (wl) for the interface wlan0. This may cause problems. Can you try to temporally remove this driver from your kenel and booting without it, to check if that makes a difference ? 5) If all the above fails, can you please paste here the output of the following commands (after the error has happened): /sbin/iw list /sbin/iw dev /sbin/ip addr /sbin/ifconfig -a Regards!
signature.asc
Description: OpenPGP digital signature