Sie sind auf Seite 1von 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

Das könnte Ihnen auch gefallen