Results 1 to 3 of 3

Thread: fix aireplay-ng --ignore-negative-one or apply a kernel patch

  1. #1
    Join Date
    2014-May
    Posts
    3

    fix aireplay-ng --ignore-negative-one or apply a kernel patch

    I'm not responsible if you use this for illegal things

    HI this is my first thread here

    if any one have this trouble when you type airplay-ng -1 0 -a XX:XX:XX:XX:XX:XX mon0 or anything like it


    Code:
    root@kali:~# aireplay-ng -1 0 -a XX:XX:XX:XX:XX:XX mon0
    No source MAC (-h) specified. Using the device MAC ( XX:XX:XX:XX:XX:XX)
    11:41:04  Waiting for beacon frame (BSSID:  XX:XX:XX:XX:XX:XX) on channel -1
    11:41:04  Couldn't determine current channel for mon0, you should either force the operation with --ignore-negative-one or apply a kernel patch
    Please specify an ESSID (-e).

    when i was playing in terminal i didn't know the solution but it was very easy and because of that i didnt thought of it the solution is to kill the process NetworkManager when you type in terminal airmon-ng walnX start it will show up like this

    Code:
    Found 3 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
    2959	NetworkManager
    3728	wpa_supplicant
    4096	dhclient
    kill it and for the best kill all of them


    important after you kill it you can't connetct to any bssid beacuse the NetworkManger will shutdown you most reactivate it by typing in terminal NetworkManager

    i want to added something but i don't know if this right i thing when you kill NetworkManager will solve the fixed channel -1 because of third line
    Code:
    Waiting for beacon frame (BSSID:  XX:XX:XX:XX:XX:XX) on channel -1
    but like i said maybe it will fix it i don't know but you can try it nothing to lose right

    that's it
    i make this thread to help everybody was in this trouble like me and if any one did this thread before then i'm sorry to repeat it


    Goodbye Everyone
    Last edited by mustapha; 2014-05-04 at 18:19. Reason: i wrote it wrong (do to did)

  2. #2
    Join Date
    2014-Jun
    Posts
    1
    Hello mustapha

    I had the same problem.
    You could kill the NetworkManager process to 'fix' the channel -1 error, but I just brought my interface down after turning on my monitor-interface.
    Commands:
    First, launch monitor-interface:
    airmon-ng start <INTERFACE>

    Example:
    Code:
    root@vlenik:~# airmon-ng start wlan0
    Second, bring down the interface:
    ifconfig <INTERFACE> down

    Example:
    Code:
    root@vlenik:~# ifconfig wlan0 down

  3. #3
    Join Date
    2014-May
    Posts
    3
    Quote Originally Posted by VleNik View Post
    Hello mustapha

    I had the same problem.
    You could kill the NetworkManager process to 'fix' the channel -1 error, but I just brought my interface down after turning on my monitor-interface.
    Commands:
    First, launch monitor-interface:
    airmon-ng start <INTERFACE>

    Example:
    Code:
    root@vlenik:~# airmon-ng start wlan0
    Second, bring down the interface:
    ifconfig <INTERFACE> down

    Example:
    Code:
    root@vlenik:~# ifconfig wlan0 down
    thanks this worked to me too
    HI :
    If i Helped say: Thanks

Similar Threads

  1. need hid patch for 4.4.177 kernel
    By liiu in forum NetHunter General Questions
    Replies: 0
    Last Post: 2021-02-07, 13:31
  2. aireplay-ng --ignore-negative-one
    By leevai in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2015-01-07, 23:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •