ImmobileBlock Posted August 25, 2015 Posted August 25, 2015 [x] ERROR: Failed to open 'mon0' for capturingLong time viewer, first time writer haha. I am trying to learn how to do WPS attacks, you know to test network security. I have been following a tutorial on-line. I'm crazy new to all of this so I don't really know what I'm doing.I have a ASUS K50IJ it has a Qualcomm Atheros AR9285 PCI-E rev1 in it. its using the driver ath9k which all the Linux forums say is the correct one for that chipset. oh and the OS is Kali 2.0 root@Kali:~# airmon-ngPHY Interface Driver Chipsetphy0 wlan0 ath9k Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)root@Kali::~# airmon-ng start wlan0Found 5 processes that could cause trouble.If airodump-ng, aireplay-ng or airtun-ng stops working aftera short period of time, you may want to kill (some of) them! PID Name 590 NetworkManager 685 wpa_supplicant 814 avahi-daemon 815 avahi-daemon 1548 dhclientPHY Interface Driver Chipsetphy0 wlan0 ath9k Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01) (mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon) (mac80211 station mode vif disabled for [phy0]wlan0)root@Kali:~# kill 590root@Kali:~# kill 685root@Kali:~# kill 814root@Kali:~# kill 815bash: kill: (815) - No such processroot@Kali:~# kill 1548bash: kill: (1548) - No such processroot@Kali:~# washWash v1.5.2 WiFi Protected Setup Scan ToolCopyright © 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com>mod by t6_x <t6_x@hotmail.com> & DataHead & Soxrok2212Required Arguments: -i, --interface=<iface> Interface to capture packets on -f, --file [FILE1 FILE2 FILE3 ...] Read packets from capture filesOptional Arguments: -c, --channel=<num> Channel to listen on [auto] -o, --out-file=<file> Write data to file -n, --probes=<num> Maximum number of probes to send to each AP in scan mode [15] -D, --daemonize Daemonize wash -C, --ignore-fcs Ignore frame checksum errors -5, --5ghz Use 5GHz 802.11 channels -s, --scan Use scan mode -u, --survey Use survey mode [default] -P, --output-piped Allows Wash output to be piped. Example. wash x|y|z... -g, --get-chipset Pipes output and runs reaver alongside to get chipset -h, --help Show helpExample: wash -i mon0root@Kali:~# wash -i mon0Wash v1.5.2 WiFi Protected Setup Scan ToolCopyright © 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com>mod by t6_x <t6_x@hotmail.com> & DataHead & Soxrok2212[X] ERROR: Failed to open 'mon0' for capturingroot@Kali:~# I have read many posts that say to use the cmd "sudo" to get around that error root@Kali:~# sudo wash -i mon0Wash v1.5.2 WiFi Protected Setup Scan ToolCopyright © 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com>mod by t6_x <t6_x@hotmail.com> & DataHead & Soxrok2212[X] ERROR: Failed to open 'mon0' for capturing so yeah I'm not sure what to try next to get this working(also I run "service networking start" and "service network-manager start" but my network connection never comes back so i have to restart the whole comp, is there a faster way to get but up?) Quote
ImmobileBlock Posted August 25, 2015 Author Posted August 25, 2015 I did see that it said "enabled for [phy0]wlan0 on [phy0]wlan0mon" so i tried sudo wash -i wlan0mon but got the same error Quote
cooper Posted August 25, 2015 Posted August 25, 2015 After killing the programs you should've verified it now reports no programs as possibly causing problems (they could've been auto-restarted by the system). I also recall there being the advice to put the interface down before putting it into monitoring mode. So before "airmon-ng start wlan0" do "ifconfig wlan0 down". Quote
Mr-Protocol Posted August 25, 2015 Posted August 25, 2015 There is a bug with updating aircrack-ng on Kali. I haven't tested with Kali 2.0 yet. View this thread for my fix on aircrack-ng on Kali 1.x https://forum.aircrack-ng.org/index.php/topic,1010.0.html Quote
ImmobileBlock Posted August 29, 2015 Author Posted August 29, 2015 Hey guys thanks for your help. Mr-Protocol I did follow the link you left and it did work. re-installing was a little bit harder then that post let on but i got it done. the really strange thing is now I have to run through it twice to get it working root@Kali:~# airmon-ng Interface Chipset Driver wlan0 Atheros ath9k - [phy0] root@Kali:~# 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! -e PID Name 591 NetworkManager 685 wpa_supplicant 819 avahi-daemon 820 avahi-daemon 31198 dhclient Process with PID 31198 (dhclient) is running on interface wlan0 Interface Chipset Driver wlan0 Atheros ath9k - [phy0] (monitor mode enabled on mon0) root@Kali:~# kill 591 root@Kali:~# kill 685 root@Kali:~# kill 819 root@Kali:~# kill 820 bash: kill: (820) - No such process root@Kali:~# kill 31198 bash: kill: (31198) - No such process root@Kali:~# wash root@Kali:~# wash -i mon0 Wash v1.5.2 WiFi Protected Setup Scan Tool Copyright © 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com> mod by t6_x <t6_x@hotmail.com> & DataHead & Soxrok2212 [X] ERROR: Failed to open 'mon0' for capturing root@Kali:~# airmon-ng Interface Chipset Driver mon0 Atheros ath9k - [phy0] wlan0 Atheros ath9k - [phy0] root@Kali:~# airmon-ng start wlan0 Interface Chipset Driver mon0 Atheros ath9k - [phy0] wlan0 Atheros ath9k - [phy0] (monitor mode enabled on mon1) root@Kali:~# wash root@Kali:~# wash -i mon1 Wash v1.5.2 WiFi Protected Setup Scan Tool Copyright © 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com> mod by t6_x <t6_x@hotmail.com> & DataHead & Soxrok2212 BSSID Channel RSSI WPS Version WPS Locked ESSID --------------------------------------------------------------------------------------------------------------- XX:XX:XX:XX:XX:XX 4 00 1.0 No MOTOROLA-F0DD3 XX:XX:XX:XX:XX:XX 6 00 1.0 No FBI_SURVEILLANCE <- this guy really dude XX:XX:XX:XX:XX:XX 1 00 1.0 No CenturyLink0295 its working now I guess. I keep triggering the WPS lock any of my routers, but that something I'm working on it. Quote
anode Posted September 14, 2015 Posted September 14, 2015 I got frustrated with this too. I've just made a small bash kluge: #! /bin/bash cli="$(airmon-ng | grep mon)" arr=($cli) mon=${arr[1]} echo $mon then in a bash script just call it: .... mon="$(getmon)" Quote
deadlyhabit Posted September 14, 2015 Posted September 14, 2015 You can also run: airmon-ng check kill prior to bringing your interface up to kill any processes that may cause issues. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.