Results 1 to 6 of 6

Thread: aireplay-ng error -1 channel

  1. #1
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    31

    Question aireplay-ng error -1 channel

    i know there are threads on how to fix this, but i followed then and i patched the kernel as per the instructions on
    https://forums.kali.org/showthread.p...rt2870-3070usb

    and also on

    http://www.aircrack-ng.org/doku.php?id=compat-wireless

    with the aircrack-ng instruction when i do the make wlunload i get the following error
    "make: *** No rule to make target `wlunload'. Stop."

    so i just skiped to the next step and it showed that everything was fine

    but i still get the following message

    19:44:16 Waiting for beacon frame (BSSID: xx:xx:xx:xx:xx:xx) on channel -1
    19:44:16 Couldn't determine current channel for mon0, you should either force the operation with --ignore-negative-one or apply a kernel patch


    it works with the --ignore-negative-one, but i thought patching will fix that

    airmon-ng shows the followng driver

    airmon-ng


    Interface Chipset Driver

    mon0 Atheros AR9462 ath9k - [phy0]
    wlan0 Atheros AR9462 ath9k - [phy0]


    thanks again

    Nix
    “A goal without a plan is just a wish.”

  2. #2
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    31
    actually even the --ignore-negative-one won't work
    it looks like it's working but it's not dauthenticating
    “A goal without a plan is just a wish.”

  3. #3
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    31
    anyone ?...i can't be the only one that ran into this issue
    “A goal without a plan is just a wish.”

  4. #4
    Join Date
    2013-Mar
    Posts
    57
    for me following is working: (no patches applied or using other drivers than in Kali)

    Code:
    airmon-ng check      // will list services that could effect airmon
    airmon-ng check kill // will list services and kill it
    
    airmon-ng start wlan0
    without doing code above I am also fixed to channel 1

    after that channel 1 issue is gone - using Alfa USB NH36... (sorry don't have the exact model at the moment)

    written here: http://www.aircrack-ng.org/doku.php?id=airmon-ng
    <check|check kill> “check” will show any processes that might interfere with the aircrack-ng suite. It is strongly recommended that these processes be eliminated prior to using the aircrack-ng suite. “check kill” will check and kill off processes that might interfere with the aircrack-ng suite

    if check kill fails:
    http://www.aircrack-ng.org/doku.php?...eck_kill_fails
    Last edited by tr00n3r; 2014-03-20 at 13:29.

  5. #5
    Join Date
    2013-Mar
    Location
    Canada
    Posts
    31
    yes that works, and also if you just bring down wlan0 ifconfig wlan0 down

    but it use to work without all those steps, that's why i was surprised when it stoped working and you need to do this now.

    my problem with airmon-ng check kill is that once i was done i could not bring back up my interface, i had to reboot, is there another wy to bring them up?
    “A goal without a plan is just a wish.”

  6. #6
    Join Date
    2013-Mar
    Posts
    57
    following these steps after you have done your airmoning
    this should remove your mon0 interface (without bringing interfaces down)
    Code:
    airmon-ng stop mon0
    
    Interface	Chipset		Driver
    
    mon0		Atheros AR9271	ath9k - [phy0] (removed)
    wlan0		Atheros AR9271	ath9k - [phy0]
    also check with iwfconfig if it has been removed:
    Code:
    iwconfig
    eth0      no wireless extensions.
    
    lo        no wireless extensions.
    
    wlan0     IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
    if you want you network working properly after airmoning:
    Code:
    service network-manager start
    dhclient <interface> example: wlan0
    hope this helps!

Similar Threads

  1. aireplay-ng fixed channel problem
    By sps0094 in forum General Archive
    Replies: 3
    Last Post: 2013-09-16, 18:16

Posting Permissions

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