Ticket #391 (new defect)

Opened 2 years ago

Last modified 6 months ago

Aireplay-ng freezing (usleep and gettimeofday)

Reported by: misterx Owned by:
Priority: major Milestone: 1.1
Component: aireplay-ng Version: 1.0-dev
Keywords: usleep gettimeofday rtc Cc:

Description

Source:  http://tinyshell.be/aircrackng/forum/index.php?topic=3064

root@Omega:~# aireplay-ng -2 -r arp-request1.cap ath0
open(/dev/rtc) failed: Device or resource busy
No source MAC (-h) specified. Using the device MAC (00:C0:A8:C1:6B:59)


        Size: 68, FromDS: 0, ToDS: 1 (WEP)

              BSSID  =  00:04:E2:46:8A:47
          Dest. MAC  =  FF:FF:FF:FF:FF:FF
         Source MAC  =  00:C0:A8:C1:6B:59

        0x0000:  0841 0201 0004 e246 8a47 00c0 a8c1 6b59  .A.....F.G....kY
        0x0010:  ffff ffff ffff 8001 d03f b800 035a 333b  .........?...Z3;
        0x0020:  322c 145b 2204 9953 d33f 9932 bbb3 2b8b  2,.["..S.?.2..+.
        0x0030:  7f9a 94f3 ba05 5f6c bf02 4209 2ff2 832d  ....._l..B./..-
        0x0040:  92ef 34e0                                ..4.

Use this packet ? y

Saving chosen packet in replay_src-0127-213226.cap
You should also start airodump-ng to capture replies.

And nothing happens.

The reason:

If rtc is not found/cannot be used, aireplay-ng tries to compensate that
by using usleep() together with gettimeofday() to have some sort of timer.
However the "bug" is, that gettimeofday together with usleep sometimes
just stalls the process (...)

Attachments

Change History

Changed 2 years ago by misterx

  • summary changed from Aireplay-ng freezing to Aireplay-ng freezing (usleep and gettimeofday)

Workaround:

try to use macchanger to change your card to the mac adress you are
inserting after the -h

I had the same problem, but after making sure the -h xxx and my card
matched, voila.. no more problems!

Changed 23 months ago by hirte

  • milestone changed from 1.0 to 1.1

Changed 19 months ago by intonnataLosy

I'm new here, just wanted to say hello and introduce myself.

Changed 19 months ago by netrolller3d

"open(/dev/rtc) failed: Device or resource busy"

This looks like an old version to me...

Changed 19 months ago by P1ro

im pretty sure this its fixed on lastest, i have almost the same problem with rtc on old version but not anymore!

Add/Change #391 (Aireplay-ng freezing (usleep and gettimeofday))

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.