Results 1 to 50 of 51

Thread: HOW TO FIX Airodump-ng fixed channel -1 Kali kernel 3.12 also on rt2870/3070usb

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    dataghost Guest
    apt-get install gcc make linux-headers-$(uname -r) try that first

    what backport are you trying, propaply the old 3.12 kernel which isnt working for me try this. This is copy and pasted from the backbox forums

    I saw so many pain in the *** with same issue, over, and over again. I'm sure that you are just lazy like any *** on summer day.

    Maybe our wiki is not good for you, or it can't click and make copy/paste in your place.

    This tutorial was tested with "Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter" some China SignalKing adapter. Same ralink run with Alfa AWUS036NH version.

    I will try to resolve all this mess from last few months with one line of command (or two, first need reboot), if you you have some issues, keep me posted or move your *** and give some solution. I don't have time to write bash script for this. First run system update.

    Quote
    sudo -i; apt-get update; apt-get upgrade; apt-get install linux-headers-generic-lts-saucy build-essential; reboot

    Run this if you are not already root:

    sudo -i

    Then:

    Quote
    cd /usr/src/;wget https://www.kernel.org/pub/linux/ker...15.1-1.tar.gz; tar -zxvf backports-*; cd backports-*; apt-get install patch; wget http://patches.aircrack-ng.org/mac80...+ack_v1.patch; patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch; wget -Ocompatdrivers_chan_qos_frag.patch http://www.pastie.org/pastes/8846771/download; patch -p1 < compatdrivers_chan_qos_frag.patch; make defconfig-wifi; make; make install; update-initramfs -u; echo "REBOOT"; sleep 5; reboot

    And you are done ! If this don't help you, then do something better, like fishing Smiley

    If you want to remove all what you just made before and start from 0 run this command:

    Quote
    sudo -i; cd /usr/src/backports-*; make uninstall; cd .. ; sudo rm -rf /usr/src/backports-*

    ATH5K same lines just last one is (run as root, type sudo -i)

    Quote
    cd /usr/src/;wget https://www.kernel.org/pub/linux/ker...15.1-1.tar.gz; tar -zxvf backports-*; cd backports-*; apt-get install patch; wget http://patches.aircrack-ng.org/mac80...+ack_v1.patch; patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch; wget -Ocompatdrivers_chan_qos_frag.patch http://www.pastie.org/pastes/8846771/download; patch -p1 < compatdrivers_chan_qos_frag.patch; make defconfig-ath5k; make; make install; update-initramfs -u; echo "REBOOT"; sleep 5; reboot

    I tested this with my laptop with Atheros AE242x / AR542X Wireless Adapter, scanning and injection are working Wink

    ATH9K same lines just last one is (run as root, type sudo -i to get your root)

    Then:


    Quote
    cd /usr/src/;wget https://www.kernel.org/pub/linux/ker...15.1-1.tar.gz; tar -zxvf backports-*; cd backports-*; apt-get install patch; wget http://patches.aircrack-ng.org/mac80...+ack_v1.patch; patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch; wget -Ocompatdrivers_chan_qos_frag.patch http://www.pastie.org/pastes/8846771/download; patch -p1 < compatdrivers_chan_qos_frag.patch; make defconfig-ath9k; make; make install; update-initramfs -u; echo "REBOOT"; sleep 5; reboot

    Tested on adapter with Atheros AR9280 chipset.

    Cheers!


    Edit:
    Swearing
    Last edited by g0tmi1k; 2015-10-21 at 08:52. Reason: Swearing

  2. #2
    Join Date
    2014-Jul
    Posts
    16
    Quote Originally Posted by dataghost View Post
    apt-get install gcc make linux-headers-$(uname -r) try that first

    what backport are you trying, propaply the old 3.12 kernel which isnt working for me try this. This is copy and pasted from the backbox forums

    I saw so many pain in the *** with same issue, over, and over again. I'm sure that you are just lazy like any *** on summer day.

    Maybe our wiki is not good for you, or it can't click and make copy/paste in your place.

    This tutorial was tested with "Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter" some China SignalKing adapter. Same ralink run with Alfa AWUS036NH version.

    I will try to resolve all this mess from last few months with one line of command (or two, first need reboot), if you you have some issues, keep me posted or move your *** and give some solution. I don't have time to write bash script for this. First run system update.

    Quote
    sudo -i; apt-get update; apt-get upgrade; apt-get install linux-headers-generic-lts-saucy build-essential; reboot

    Run this if you are not already root:
    !
    <<<<<<<<<<<<<<snipp>>>>>>>>>>>>>>>>>>

    I appreciated dataghost reply.... despite the fact that it was rather surly, he did summarize a lot of things with enough detail to remove some prior confusion.

    However.... I encounter the same issue as others in this thread... Namely when it comes to running the apparent "custom patch" , or -Ocompatdrivers_chan_qos_frag.patch from http://www.pastie.org/pastes/8846771/download.

    When I patch using this patch file, I get the following:


    root@kali - $ patch -p1 < compatdrivers_chan_qos_frag.patch
    patching file drivers/net/wireless/rtl818x/rtl8187/dev.c
    Hunk #1 succeeded at 251 (offset -1 lines).
    patching file net/mac80211/cfg.c
    Hunk #1 FAILED at 826.
    1 out of 1 hunk FAILED -- saving rejects to file net/mac80211/cfg.c.rej
    patching file net/mac80211/tx.c
    Hunk #1 FAILED at 1482.
    1 out of 1 hunk FAILED -- saving rejects to file net/mac80211/tx.c.rej
    patching file net/wireless/chan.c
    patch unexpectedly ends in middle of line
    Hunk #1 succeeded at 689 with fuzz 1 (offset 209 lines).


    Now iirespective of the output of the remaining steps, I highly question the integrity of any of it since I get this error (shown above).

    And...just as an FYI... this exact same problem has happened to me since the beginning of the thread.... I always get an error when patching with this "custom" patch.

    Thanks you for an advice in advance. By the way, I am using this for airbase-ng, and other items, primarily in trying to (once again) fine-tune an easy-cred type script based on some recent defcon presentations.

    Thanks!
    Paul

    PS: I am using ath9K (AR9271 chipset).


    Edit: Quote Swearing
    Last edited by g0tmi1k; 2015-10-21 at 10:03. Reason: Quote Swearing

Similar Threads

  1. Airodump, fixed channel mon0 -1
    By SMS90 in forum General Archive
    Replies: 9
    Last Post: 2015-02-24, 13:37
  2. Replies: 1
    Last Post: 2014-08-01, 07:22
  3. Replies: 1
    Last Post: 2014-03-26, 23:34

Posting Permissions

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