Jump to content

Recommended Posts

Posted

[x] ERROR: Failed to open 'mon0' for capturing

Long 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-ng
PHY Interface Driver Chipset

phy0 wlan0 ath9k Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

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!

PID Name
590 NetworkManager
685 wpa_supplicant
814 avahi-daemon
815 avahi-daemon
1548 dhclient

PHY Interface Driver Chipset

phy0 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 590
root@Kali:~# kill 685
root@Kali:~# kill 814
root@Kali:~# kill 815
bash: kill: (815) - No such process
root@Kali:~# kill 1548
bash: kill: (1548) - No such process
root@Kali:~# wash

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

Required Arguments:
-i, --interface=<iface> Interface to capture packets on
-f, --file [FILE1 FILE2 FILE3 ...] Read packets from capture files

Optional 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 help

Example:
wash -i mon0

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:~#

I have read many posts that say to use the cmd "sudo" to get around that error

root@Kali:~# sudo 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

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?)

Posted

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".

Posted

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.
  • 3 weeks later...
Posted

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)"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...