0% found this document useful (0 votes)
135 views3 pages

Aircrack-Ng, Using Airmon-Ng To Change To Monitor Mode - Ask Ubuntu

The document is a question posted on Ask Ubuntu about using aircrack-ng and airmon-ng to change a wireless interface to monitor mode in order to capture packets for cracking passwords. Several respondents provided answers explaining that the user needs to first put the wireless interface in monitor mode using airmon-ng before using airodump-ng, and that the interface name created may not always be mon0 so they need to check the output of airmon-ng to see what interface was created.

Uploaded by

Mariana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
135 views3 pages

Aircrack-Ng, Using Airmon-Ng To Change To Monitor Mode - Ask Ubuntu

The document is a question posted on Ask Ubuntu about using aircrack-ng and airmon-ng to change a wireless interface to monitor mode in order to capture packets for cracking passwords. Several respondents provided answers explaining that the user needs to first put the wireless interface in monitor mode using airmon-ng before using airodump-ng, and that the interface name created may not always be mon0 so they need to check the output of airmon-ng to see what interface was created.

Uploaded by

Mariana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

26.9.

2016
Community

Ask!

Developer

Design

Discourse

Hardware

Insights

Juju

Shop

More

Ubuntu

Aircrackng,usingairmonngtochangetomonitormodeAskUbuntu

AskUbuntuisaquestionandanswer
siteforUbuntuusersanddevelopers.
Jointhemitonlytakesaminute:

signup

login

tour

help

Here'showitworks:

Signup
Anybodycanask
aquestion

Anybodycan
answer

Thebestanswersarevoted
upandrisetothetop

Aircrackng,usingairmonngtochangetomonitormode
I'vefollowedthistutorialoninstallingaircrackonUbuntu14.04:https://www.youtube.com/watch?
v=xdvGZlUzfRs&src_vid=OF0UjeoTXoI&feature=iv&annotation_id=annotation_1882595149
Ihadtotweakafewthingstogetittodownloadsuccessfully,buthereiswhatI'mhavingissueswith(andwhatIcan'tfindasolutionfor):
Thiscommand:
sudoairodumpngmon0

ofwhichIgettheerror:
Interfacemon0:
ioctl(SIOCGIFINDEX)failed:Nosuchdevice

Thecommandiwconfigshows:
eth0nowirelessextensions.
lonowirelessextensions.
wlan0IEEE802.11abgESSID:"nameofmynetwork"
Mode:ManagedFrequency:5.765GHzAccessPoint:05:B1:51:42:A1:5D
Retrylonglimit:7RTSthr:offFragmentthr:off
PowerManagement:on

Regardingmon0,whatisit?Itriedsomesolutions,suchaskillingprocessesandupdatingtothelatestaircrack,butIstillreceiveanerror.
Anyhelpisappreciated!
aircrackng

askedNov13'14at4:02

boop
8

It'sconceivablethatyouhaveawirelesscardthatsimplycan'tbeputinmonitormodeatleastwithitsLinuxdrivers.
Suchcardsaren'tallthatcommonbuttheycertainlyexist.Unfortunately,ifyouhaveone,theonlythingyoucando
aboutitistoreplaceit.DaraelNov20'15at12:51

5Answers

youdon'tneedtouseairmonngatall.youcansimply:
sudoifconfigwlan0down

thangoonwith
sudoiwconfigwlan0modemonitor

andfinally
sudoifconfigwlan0up

thatsbasicallywhatairmonngdoes.
answeredJul15'15at19:41

Gewure
101

Theproblemiswiththenameoftheinterface.Usethefollowingcommands:
Startyourwirelessinterfaceinmonitoringmode

http://askubuntu.com/questions/549026/aircrackngusingairmonngtochangetomonitormode

1/3

26.9.2016

Aircrackng,usingairmonngtochangetomonitormodeAskUbuntu

airmonng

Killalltheinterferingprocesses
airmonngcheckkill

Insteadof airodumpngmon0 ,typethis airodumpngwlan0mon


Pleaseletmeknowifthisworksforyou.
editedFeb7at10:06

Shagun
530

answeredFeb7at8:36

Hari
31

11

Youneedtoreadmoreabouthowtouse aircrackng .
Thecommandyouexecuted, sudoairodumpngmon0 ,tellsyourcomputertostartcapturing
packetsontheinterfacecalled mon0 ,butyoudon'thavethatinterfaceyet,that'swhyittellsyou
Nosuchdevice .
Thegeneralstepsinusing aircrackng is:
1. sudoairmonngstartwlan0
Thisputsyourwirelessinterfaceintomonitormode,whichisthemodewhereyoucan
captureallpackets,eveniftheyweren'tdirectedtoyourcomputer.Whatthecommand
actuallydoesisitcreatesanotherinterfacecalled mon0 ,whichyoucanseewhenyou
do iwconfig .Thisisthecommandthatyouprobablydidn'texecute.Ifyoudidrunitbut
youcan'tsee mon0 afterwards,letusknowwhatwasthecommand'soutput.
2. sudoairodumpng<options>mon0
Thisstartscapturingpackets.
3. sudoaireplayng<options>mon0
YouusethistoattempttoincreasethenumberofIVsbeingcapturedsoyoucaneasily
crackthepassword.
4. sudoaircrackng<options><file>
Thisistheapplicationthatthencracksthecaptureyoutooktoextractthepassword.
answeredNov13'14at4:22

AlaaAli
15.2k

50

71

Thanksforyourreply.Theoutputforsudoairmonngstartwlan0isthis:pastebin.com/FjPyvcpg boop Nov14'14


at6:16
Areyousurethatwasthecommandyoudid?Didyoudo sudoairmonngstartwlan0mon ?Pleasegiveusthe
completeoutputof sudoairmonngstartwlan0;iwconfig .AlaaAliNov15'14at21:35
Yeahprettysure,here'sthepastebinimageoftheoutputforthecommandyouaskedfor:pastebin.com/KNHrCXBV
boop Nov24'14at5:21

Fromwhati'veseen,inthelatestubuntuversion(15.10)thereisaproblemwhenenabling
monitormodeonmon0.
Todoitcleanandclear,usethiscommandtokillanyprocessthatcancauseproblems sudo
airmonngcheckkill ,thenusethiscommandtoenablemonitormodeonmon0 sudoairmonng
startwlan0 .
Nowyoucanusemon0withother*ngcommands.
answeredJan6at17:24

Sidahmed
31

Okay,firstofalllet'sstartwithkillingallprocesseswith sudoairmonngcheckkill ,then


enablingmonitormodewith sudoairmonngstartwlan0 ,nowtheanswertoyourquestionisin
theoutputofthiscommand.Noticethatitsaysinthebottom(experimentalwlmonitormodevif
enabledfor[phy0]wlan0on[phy0]prism0)formeitsaysprism0thisistheinterfacethatwas
createdformewhenIusedthe airmonngstartwlan0 commandwhichisingeneralcalledmon0
butit'snotalwaysthesamesoyouneedtocheckthenameoftheonethatwascreatedforyou
anduseitinthenextcommand.Forexampleinmycase,tostartcapturingpacketsIwilltype
airodumpngprism0 notmon0.Ihopethisanswersyourquestion.
answeredSep18at20:33

PazzoG
1

http://askubuntu.com/questions/549026/aircrackngusingairmonngtochangetomonitormode

2/3

26.9.2016

Aircrackng,usingairmonngtochangetomonitormodeAskUbuntu

http://askubuntu.com/questions/549026/aircrackngusingairmonngtochangetomonitormode

3/3

You might also like