my aircrack-ng suite was working correctly until i updated to 15.04 i unsintal evrything and intsaled again form repositories to discard weird stuff and the problem is stil there:
sudo airmon-ng Interface Chipset Driver wlan0 Atheros AR9565 ath9k - [phy0] kcdtv@profezorapplestruff:~$ sudo airmon-ng start wlan0 Found 5 processes that could cause trouble. If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you may want to kill (some of) them! PID Name 595 avahi-daemon 599 NetworkManager 678 avahi-daemon 749 wpa_supplicant 795 dhclient Interface Chipset Driver wlan0 Atheros AR9565 ath9k - [phy0]SIOCSIFFLAGS: Le nom n'est pas unique sur le réseau (monitor mode enabled on mon0) kcdtv@profezorapplestruff:~$ sudo airodump-ng mon0 ioctl(SIOCSIFFLAGS) failed: Name not unique on network
I tryed to habilitate and deshabilitate network manger etc...
the only walk around i found is to bring down the interface and activate mode monitor with iwconfig Which does not satisfy me. if i install aircrack-ng svn version i get the same fail but a more details in the shell:
kcdtv@profezorapplestruff:~$ sudo airodump-ng wlan0mon [sudo] password for kcdtv: ioctl(SIOCSIWMODE) failed: Device or resource busy ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211, ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make sure RFMON is enabled: run 'airmon-ng start wlan0mon <#>' Sysfs injection support was not found either.
My host file look like that
127.0.0.1 localhost 127.0.1.1 profezorapplestruff # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
and efectivly the device is til in managed mode:
/sbin/iw dev phy#0 Interface wlan0mon ifindex 4 wdev 0x2 addr 4c:bb:58:0f:ba:aa type managed
Does anyone have a clue? thank you
edit solved with this trick! : Edit NewtorkManager.conf to prevent conflicts with airmon-ng (no check kill)