Page 2 of 2 FirstFirst 12
Results 51 to 80 of 80

Thread: Aircrack channel -1 after apt-get upgrade?

  1. #51
    Join Date
    2014-Feb
    Posts
    5
    Any fix for the rt3070?

  2. #52
    Join Date
    2013-Aug
    Location
    Italy
    Posts
    65
    not work with the rt3070 driver
    can someone help me find a solution please

  3. #53
    Join Date
    2013-Aug
    Location
    Italy
    Posts
    65
    Quote Originally Posted by Devil_D View Post
    not work with the rt3070 driver
    can someone help me find a solution please
    Code:
    CH  1 ][ Elapsed: 0 s ][ 2014-02-25 14:06 ][ fixed channel mon0: -1                                         
                                                                                                                   
     BSSID              PWR RXQ  Beacons    #Data, #/s  CH  MB   ENC  CIPHER AUTH ESSID
    I found a small solution to the driver rt2870usb if wlan is down you can change the channel to the monitor
    Code:
    airmon-ng star wlan0
    Code:
    ifconfig wlano down
    Code:
    airodump-ng mon0 -c 1
    Code:
    CH  1 ][ Elapsed: 0 s ][ 2014-02-25 14:06 ]                                        
                                                                                                                   
     BSSID              PWR RXQ  Beacons    #Data, #/s  CH  MB   ENC  CIPHER AUTH ESSID
    Code:
    root@kali:~# aireplay-ng -9 mon0
    14:08:56  Trying broadcast probe requests...
    14:08:56  Injection is working!
    14:08:57  Found 4 APs
    In this way there is no need to configure wlan in monitor mode (ifconfig wlan0 monitor mode) and greatly facilitate scripts kiddie lol

    but this solution has a small bug does not work with reaver does not allow the association with the AP they are forced to use wlan0 in monitor mode sorry for script kiddie
    Code:
    ifconfig wlan0 down
    Code:
    ifconfig wlan0 mode monitor
    Code:
    ifconfig wlan0 up
    in this way wlan will be used as a monitor, as a result of any airtool commands you will have to replace wlan0 with mon0 this will lead to the disuse of many scripts that will be modified with patience
    I love aircrack since, at the moment I'll settle for the small fix on mon 0, waiting for some patch final
    Est modus in rebus
    cd /usr/bin/bad

  4. #54
    Join Date
    2013-Aug
    Location
    Italy
    Posts
    65

    Smile

    Quote Originally Posted by cjen1987 View Post
    Any fix for the rt3070?
    solution found without installing compact wireless I hope it can help you
    from what I could see, the network manager creates some problem for aircrack
    just disable it and aricrack working properly on the new kernel
    Code:
     /etc/init.d/network-manager stop
    once finished using aircrack just need to rehabilitate the network manager
    Code:
     /etc/init.d/network-manager start
    on this forum I posted pictures of my results I hope it can help you
    http://forum.top-hat-sec.com/index.p...37304#msg37304
    Est modus in rebus
    cd /usr/bin/bad

  5. #55
    Join Date
    2013-Oct
    Posts
    56
    Try

    airmon-ng check kill wlan0

    This will kill/stop any processes that may interfere when you are in mon0 mode.

    And as Devil said you can always restart network manager again should you need to connect to the net.

    Rab.

  6. #56
    Join Date
    2014-Jan
    Location
    Lost On The Web
    Posts
    23
    my respected friend Devil_D nice to see you
    stopping the network-manager isn't a fix, but ... thanks for the advice. it may be helpful to someone else

  7. #57
    Join Date
    2013-Aug
    Location
    Italy
    Posts
    65
    Quote Originally Posted by J0K3R-BHS View Post
    my respected friend Devil_D nice to see you
    stopping the network-manager isn't a fix, but ... thanks for the advice. it may be helpful to someone else
    you're right it is not a real fix but at the moment it is the only workable solution I've found to work well ralink drivers
    then reading a bit I found this new patch also works well on the kernel 3.12
    maybe you could give him an eye
    http://www.mathyvanhoef.com/2012/09/...patch-for.html
    also works backports-3.12-1 whit fuzz -F3 this patch fix channel frag and qos
    but for my bad luck as usual does not work with the driver ralink
    so I just have to opt for attempting to disable network manager
    with the disadvantage of not being able to practice attacks such as Evil Twain
    if you happen to find some alternative solution I would be very grateful if posting it
    Est modus in rebus
    cd /usr/bin/bad

  8. #58
    Join Date
    2013-Aug
    Location
    Italy
    Posts
    65
    Quote Originally Posted by cjen1987 View Post
    Any fix for the rt3070?
    I finally found a quite acceptable
    I realized that following the solution of J0K3R-BHS and modifying some steps I can run aircrack-ng with the driver rt2870/3070
    the solution is in this :

    step 1 install compact wireless using two patches the patch mac80211.compat08082009.wl_frag+ack_v1.patch and the patch compatdrivers_chan_qos_frag.patch

    step 2 download last aircrack-ng patch whit Don-t-exit-when-the-AP-and-our-interface-are-on-and-inject-diff.patch and install it

    I'll explain, excuse me if my English is not very good it is the fault of google translate lol
    I could see turning airodump-ng (after installing the driver backport) on a specific channel that the notice fixed channel mon0: -1 was kind false,because they were shown only the networks of the specific channel.
    Giving an eye on http://trac.aircrack-ng.org,I came across a patch quite interesting(http://trac.aircrack-ng.org/attachme...-on-diff.patch)
    This patch forces the output of aireplay-ng and tkiptun-ng to the attack also on different channels while continuing to perform the test without stopping it printing only a warning ,this does not pose any danger because, in my case the channel is a false -1 then everything will work correctly, in case really aireplay-ng will work on different channels, the inject and the attack will work with more or less good http://trac.aircrack-ng.org/attachme...-on-diff.patch
    I have slightly modified the patch to run the test injection, even on different channels
    This fix also allows to use attacks such evil twain smoothly as it allows the simultaneous use of aircrack-ng and any network manager
    (I emphasize that I have only tested the driver rt 3070 on Kali linux 1.0.6 i686 kernel driver with 3.12 backports-3.12-1 I do not assume any responsibility for any malfunction in the case of malfunctions you just uninstall everything )

    WARNING:Airodump-ng will display the alert always fixed channel mon0: -1 but all attacks are possible, even on a different channel from that of AP

    Here is my solution:

    Step 1.Download patch and install backports-3.12.1 driver
    Code:
    cd /usr/src/
    Code:
    sudo wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.12/backports-3.12-1.tar.bz2
    Code:
    sudo tar xvf backports-3.12-1.tar.bz2
    Code:
    cd backports-3.12-1
    Code:
    sudo apt-get install patch
    Code:
    sudo wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
    Code:
    sudo patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
    Code:
    sudo wget -Ocompatdrivers_chan_qos_frag.patch http://pastie.org/pastes/8812042/download
    Code:
    patch -p1 -F3 < compatdrivers_chan_qos_frag.patch
    Code:
    sudo make defconfig-wifi
    Code:
    sudo make
    Code:
    sudo make install
    Code:
    sudo reboot
    Step 2. Download patch and install the latest svn version of aircrack-ng

    Code:
    wget download.aircrack-ng.org/aircrack-ng-1.2-beta2.tar.gz
    Code:
    tar -zxvf aircrack-ng-1.2-beta2.tar.gz
    Code:
    cd /root/aircrack-ng-1.2-beta2
    Code:
    sudo wget -ODon-t-exit-when-the-AP-and-our-interface-are-on-and-inject--Kali-3.12.patch http://pastie.org/pastes/8812973/download/
    Code:
    sudo patch -p1 < Don-t-exit-when-the-AP-and-our-interface-are-on-and-inject--Kali-3.12.patch
    This patch is optional but very useful and recommended this patch will remove the control channel in such a manner that it is not displayed fixed channel -1 this will allow you to view the capture of the handshake
    I recommend to apply or will be hard to tell when the handshake is captured

    Code:
    sudo wget -OAirodump-ng-no-check-channel--1-and-invalid-frequency.patch http://pastie.org/pastes/8813030/download/
    Code:
    sudo patch -p1 < Airodump-ng-no-check-channel--1-and-invalid-frequency.patch
    Code:
    sudo apt-get install libnl-3-dev libnl-genl-3-dev
    Code:
    sudo make libnl=true
    Code:
    sudo make install
    Code:
    sudo reboot
    I hope I can be of help
    thank you
    J0K3R-BHS for the guide on how to install driver backports
    Mathy Vanhoef for the patch compatdrivers_chan_qos_frag.patch
    Carlos Alberto Lopez Perez for the patch Don-t-exit-when-the-AP-and-our-interface-are-on-diff.patch
    Devil_D for the patch Don-t-exit-when-the-AP-and-our-interface-are-on-and-inject--Kali-3.12.patch
    sources
    Don-t-exit-when-the-AP-and-our-interface-are-on-diff.patch http://trac.aircrack-ng.org/attachme...-on-diff.patch
    compatdrivers_chan_qos_frag.patch http://www.mathyvanhoef.com/2012/09/...patch-for.html
    Last edited by Devil_D; 2014-02-28 at 19:53.
    Est modus in rebus
    cd /usr/bin/bad

  9. #59
    Join Date
    2014-Jan
    Location
    Lost On The Web
    Posts
    23
    nice info Devil_D
    i will test it soon , when i'll have fre time, it's quite interesting
    thanks man !!!

  10. #60
    Join Date
    2014-Feb
    Posts
    9
    Hi J0K3R,

    First, thanks very much for your efforts and shared work!

    As at least one other user posted, after executing the commands and rebooting, I can no longer detect my WLAN. For clarity, I am running Kali 1.0.6 on a Virtual Machine, hosted by Virtualbox, running on a Macbook Pro, OS X 10.9.

    More importantly, I am using an Alfa AWUS036H. My Kali VirtualMachine detects that "RTL8187_Wireless_LAN_Adapter" is plugged in and under control of Kali.

    I can say with certainty that it's not a typo (I cut and paste each line over to be sure). I chose the rtlwifi option for the defconfig line.

    My (possibly noobish) observations: In the sudo make and sudo make install execution, I observed multiple references to rtl8723, 8188 & 8192 variations, but NO REFERENCE to any rtl8187. My apologies if my lack of knowledge is showing here but thought that it might be as simple as adding the appropriate rtl8187 lines into the rtlwifi script?

    Code:
     sudo make install
      Building modules, stage 2.
      MODPOST 13 modules
      INSTALL /usr/src/backports-3.12-1/compat/compat.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192de/rtl8192de.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8723ae/rtl8723ae.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl_pci.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl_usb.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtlwifi.ko
      INSTALL /usr/src/backports-3.12-1/net/mac80211/mac80211.ko
      INSTALL /usr/src/backports-3.12-1/net/wireless/cfg80211.ko
      DEPMOD  3.12-kali1-amd64
    depmod will prefer updates/ over kernel/ -- OK!
    Last edited by Mad Medik; 2014-02-28 at 22:12. Reason: fix CODE box

  11. #61
    Join Date
    2013-Aug
    Location
    Italy
    Posts
    65
    Quote Originally Posted by J0K3R-BHS View Post
    nice info Devil_D
    i will test it soon , when i'll have fre time, it's quite interesting
    thanks man !!!
    I have finally solve it
    Now going great with no problems without making any changes to aircrack-ng. The problem are in part the new drivers backport that inhibit the operation of the monitor when wlan is up i have added one pach to fix it
    https://forums.kali.org/showthread.p...2079#post32079
    Est modus in rebus
    cd /usr/bin/bad

  12. #62
    Join Date
    2013-Oct
    Posts
    17
    Quote Originally Posted by J0K3R-BHS View Post
    kali linux 1.0.6 has kernel 3.12 but i came across with aircrack-ng channel -1 error.
    Some people are going back to kali's old kernel 3.7 or wheezy's kernel 3.2.
    but why to play with old toy when you can fix the new one

    here is the fix

    Code:
    cd /usr/src/
    Code:
    sudo wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.12/backports-3.12-1.tar.bz2
    Code:
    tar xvf backports-3.12-1.tar.bz2
    Code:
    cd backports-3.12-1
    Code:
    sudo apt-get install patch
    Code:
    sudo wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
    Code:
    sudo patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
    Code:
    sudo apt-get install libncurses5-dev
    Now check your wireless driver first, mine is ath9k. The simplest way to check yours is by typing airmon-ng in terminal.

    USE ONE THE FOLLOWING COMMANDS TO SELECT YOUR REVELENT WIRELESS CARD DRIVER, NOT ALL OF THEM !!!

    (IN MY CASE IT IS make defconfig-ath9k)

    Code:
    make defconfig-alx
    make defconfig-ar5523
    make defconfig-ath10k
    make defconfig-ath5k
    make defconfig-ath6kl
    make defconfig-ath9k
    make defconfig-b43
    make defconfig-b43legacy
    make defconfig-brcmfmac
    make defconfig-brcmsmac
    make defconfig-carl9170
    make defconfig-drm
    make defconfig-ieee802154
    make defconfig-iwlwifi
    make defconfig-media
    make defconfig-nfc
    make defconfig-regulator
    make defconfig-rtlwifi
    make defconfig-wifi
    make defconfig-wil6210
    Now

    Code:
    sudo make
    Code:
    sudo make install
    Code:
    reboot
    enjoy !!!!

    I have also reported this bug to kali's bugs section

    Injection Rates are awesome

    I have also made a thread here

    http://black-hat-sec.org/index.php?topic=175.0

    Regards J0K3R
    Did this now both my internal and external wificard are not detected :/

  13. #63
    Join Date
    2014-Mar
    Posts
    1
    Quote Originally Posted by Mad Medik View Post
    Hi J0K3R,

    First, thanks very much for your efforts and shared work!

    As at least one other user posted, after executing the commands and rebooting, I can no longer detect my WLAN. For clarity, I am running Kali 1.0.6 on a Virtual Machine, hosted by Virtualbox, running on a Macbook Pro, OS X 10.9.

    More importantly, I am using an Alfa AWUS036H. My Kali VirtualMachine detects that "RTL8187_Wireless_LAN_Adapter" is plugged in and under control of Kali.

    I can say with certainty that it's not a typo (I cut and paste each line over to be sure). I chose the rtlwifi option for the defconfig line.

    My (possibly noobish) observations: In the sudo make and sudo make install execution, I observed multiple references to rtl8723, 8188 & 8192 variations, but NO REFERENCE to any rtl8187. My apologies if my lack of knowledge is showing here but thought that it might be as simple as adding the appropriate rtl8187 lines into the rtlwifi script?

    Code:
     sudo make install
      Building modules, stage 2.
      MODPOST 13 modules
      INSTALL /usr/src/backports-3.12-1/compat/compat.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192de/rtl8192de.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl8723ae/rtl8723ae.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl_pci.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtl_usb.ko
      INSTALL /usr/src/backports-3.12-1/drivers/net/wireless/rtlwifi/rtlwifi.ko
      INSTALL /usr/src/backports-3.12-1/net/mac80211/mac80211.ko
      INSTALL /usr/src/backports-3.12-1/net/wireless/cfg80211.ko
      DEPMOD  3.12-kali1-amd64
    depmod will prefer updates/ over kernel/ -- OK!

    This is a correct observation. Using the "make defconfig-rtlwifi" will not install the RTL8187 drivers. The needed files are actually located in "/backports-3.xxx/net/wireless/RTL818x" folder and don't have a corresponding defconfig for it. I had to use the "make defconfig-wifi" command instead to get them to install. It installs almost everything else too (fyi). I still get the "channel -1" so it hasn't helped much on that front.

  14. #64
    Join Date
    2014-Feb
    Posts
    9
    Thanks Mentu.

    J0K3R, any chance you will you be adding a patch for RTL8187 based devices or are we out of luck?

    Thanks

  15. #65
    Join Date
    2014-Mar
    Posts
    2
    Quote Originally Posted by Halcyon View Post
    Did this now both my internal and external wificard are not detected :/
    same deal here using a dlink dwa160 (rt2800usb)

    Code:
    [  917.356217] usb 1-2: new full-speed USB device number 5 using ohci-pci
    [  918.011466] usb 1-2: New USB device found, idVendor=2001, idProduct=3c1a
    [  918.011469] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [  918.011471] usb 1-2: Product: 11n Adapter
    [  918.011473] usb 1-2: Manufacturer: Ralink
    [  918.011474] usb 1-2: SerialNumber: 1.0
    [  918.023631] rt2x00lib: disagrees about version of symbol ieee80211_register_hw
    [  918.023634] rt2x00lib: Unknown symbol ieee80211_register_hw (err -22)
    [  918.023641] rt2x00lib: disagrees about version of symbol ieee80211_get_hdrlen_from_skb
    [  918.023643] rt2x00lib: Unknown symbol ieee80211_get_hdrlen_from_skb (err -22)
    [  918.023648] rt2x00lib: disagrees about version of symbol ieee80211_wake_queue
    [  918.023649] rt2x00lib: Unknown symbol ieee80211_wake_queue (err -22)
    [  918.023656] rt2x00lib: disagrees about version of symbol ieee80211_get_buffered_bc
    [  918.023657] rt2x00lib: Unknown symbol ieee80211_get_buffered_bc (err -22)
    [  918.023680] rt2x00lib: disagrees about version of symbol wiphy_rfkill_set_hw_state
    [  918.023681] rt2x00lib: Unknown symbol wiphy_rfkill_set_hw_state (err -22)
    [  918.023692] rt2x00lib: disagrees about version of symbol ieee80211_queue_delayed_work
    [  918.023693] rt2x00lib: Unknown symbol ieee80211_queue_delayed_work (err -22)
    [  918.023696] rt2x00lib: disagrees about version of symbol wiphy_rfkill_stop_polling
    [  918.023697] rt2x00lib: Unknown symbol wiphy_rfkill_stop_polling (err -22)
    [  918.023701] rt2x00lib: disagrees about version of symbol ieee80211_ctstoself_get
    [  918.023702] rt2x00lib: Unknown symbol ieee80211_ctstoself_get (err -22)
    [  918.023728] rt2x00lib: Unknown symbol ieee80211_rx (err 0)
    [  918.023733] rt2x00lib: disagrees about version of symbol ieee80211_iterate_active_interfaces
    [  918.023735] rt2x00lib: Unknown symbol ieee80211_iterate_active_interfaces (err -22)
    [  918.023737] rt2x00lib: disagrees about version of symbol ieee80211_free_txskb
    [  918.023739] rt2x00lib: Unknown symbol ieee80211_free_txskb (err -22)
    [  918.023745] rt2x00lib: disagrees about version of symbol ieee80211_tx_status
    [  918.023746] rt2x00lib: Unknown symbol ieee80211_tx_status (err -22)
    [  918.023749] rt2x00lib: disagrees about version of symbol ieee80211_stop_queue
    [  918.023750] rt2x00lib: Unknown symbol ieee80211_stop_queue (err -22)
    [  918.023754] rt2x00lib: disagrees about version of symbol ieee80211_stop_queues
    [  918.023755] rt2x00lib: Unknown symbol ieee80211_stop_queues (err -22)
    [  918.023759] rt2x00lib: disagrees about version of symbol wiphy_rfkill_start_polling
    [  918.023761] rt2x00lib: Unknown symbol wiphy_rfkill_start_polling (err -22)
    [  918.023764] rt2x00lib: disagrees about version of symbol ieee80211_iterate_active_interfaces_atomic
    [  918.023765] rt2x00lib: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err -22)
    [  918.023775] rt2x00lib: disagrees about version of symbol ieee80211_unregister_hw
    [  918.023776] rt2x00lib: Unknown symbol ieee80211_unregister_hw (err -22)
    [  918.023780] rt2x00lib: disagrees about version of symbol ieee80211_beacon_get_tim
    [  918.023781] rt2x00lib: Unknown symbol ieee80211_beacon_get_tim (err -22)
    [  918.023785] rt2x00lib: disagrees about version of symbol ieee80211_rts_get
    [  918.023786] rt2x00lib: Unknown symbol ieee80211_rts_get (err -22)
    [  918.023794] rt2x00lib: disagrees about version of symbol ieee80211_queue_work
    [  918.023795] rt2x00lib: Unknown symbol ieee80211_queue_work (err -22)
    this is the error i get now in dmesg.

    UPDATE:
    not sure how i messed it up, but to fix i just ended up doing a make uninstall, then following the normal steps and using 'make defconfig-wifi', 'make', 'make install', 'update-initramfs -u' and then rebooted. all is well and the negative one stuff is fixed!
    Last edited by iLLNESS; 2014-03-17 at 22:50.

  16. #66
    Join Date
    2014-Mar
    Posts
    4
    Hey,

    is this problem fixed in the new Kali-Linux version (1.0.7) ? In https://bugs.kali.org i dont see an bugreport to this problem.

  17. #67
    Join Date
    2014-Mar
    Posts
    4
    I have reported this bug. Please help me to add more Infos so the bug will be fixed in kali 1.0.7.

  18. #68
    dataghost Guest
    I have 2 different cards, it seems I can only use one im using 2800usb and ath9k, how can i make both work? thanks in advance

    Quote Originally Posted by J0K3R-BHS View Post
    kali linux 1.0.6 has kernel 3.12 but i came across with aircrack-ng channel -1 error.
    Some people are going back to kali's old kernel 3.7 or wheezy's kernel 3.2.
    but why to play with old toy when you can fix the new one

    here is the fix

    Code:
    cd /usr/src/
    Code:
    sudo wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.12/backports-3.12-1.tar.bz2
    Code:
    tar xvf backports-3.12-1.tar.bz2
    Code:
    cd backports-3.12-1
    Code:
    sudo apt-get install patch
    Code:
    sudo wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
    Code:
    sudo patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
    Code:
    sudo apt-get install libncurses5-dev
    Now check your wireless driver first, mine is ath9k. The simplest way to check yours is by typing airmon-ng in terminal.

    USE ONE THE FOLLOWING COMMANDS TO SELECT YOUR REVELENT WIRELESS CARD DRIVER, NOT ALL OF THEM !!!

    (IN MY CASE IT IS make defconfig-ath9k)

    Code:
    make defconfig-alx
    make defconfig-ar5523
    make defconfig-ath10k
    make defconfig-ath5k
    make defconfig-ath6kl
    make defconfig-ath9k
    make defconfig-b43
    make defconfig-b43legacy
    make defconfig-brcmfmac
    make defconfig-brcmsmac
    make defconfig-carl9170
    make defconfig-drm
    make defconfig-ieee802154
    make defconfig-iwlwifi
    make defconfig-media
    make defconfig-nfc
    make defconfig-regulator
    make defconfig-rtlwifi
    make defconfig-wifi
    make defconfig-wil6210
    Now

    Code:
    sudo make
    Code:
    sudo make install
    Code:
    reboot
    enjoy !!!!

    I have also reported this bug to kali's bugs section

    Injection Rates are awesome

    I have also made a thread here

    http://black-hat-sec.org/index.php?topic=175.0

    Regards J0K3R

  19. #69
    Join Date
    2014-Feb
    Posts
    14
    Is there a solution to the problem? when will the Kali 107 out
    AWUS036NH ALFA 2

    Ralink RT2870/3070 rt2800usb

  20. #70
    dataghost Guest
    after useing make defconfig-ath9k I lost my 2800 adapter via usb - rt2870/3070. I dont know how to get that to work as well, how do I get that working without losing the ath9k drivers, please let me know. Its confusing. Thank you

  21. #71
    Join Date
    2013-Aug
    Posts
    2
    Hi Guys,

    i have a question about this command/step: " patch -p1 -F3 < compatdrivers_chan_qos_frag.patch "

    i get a question about the aireplay-ng.c source but i dont have any file with this name on Kali.
    Did this mean i should download the sources and copy this file to /src ? I know its a stupid question, but if there went anything wrong, im not able to determine whats went wrong.

    i hope anyone can tell me what i can do.

    TIA

  22. #72
    Join Date
    2013-Aug
    Posts
    2
    dataghost - you used the wrong driver... looks your rt2870 like ath9k?

    I think you should try this steps again and instead of ath9k you should use make defconfig-wifi

    but why did you not use devils tutorial? he wrote that he updated it for ralink sticks.

  23. #73
    Join Date
    2014-Jan
    Posts
    17
    Hi everyone,
    I am having the same issue on newer kernel-3.14 on kali 1.0.7 x86_64. i tryed patching but i don''t know which patch is needed in this matter so i ended up with getting stuck with out any wireless module on the laptop. only wired connection is working - could anyone suggest how to solve this ?

  24. #74
    Join Date
    2013-Jul
    Posts
    1
    it shows this type of error what should i do!!!
    root@kali:/usr/src/backports-3.12-1# sudo apt-get install libncurses5-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package libncurses5-dev is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    libtinfo-dev

    E: Package 'libncurses5-dev' has no installation candidate
    root@kali:/usr/src/backports-3.12-1# sudo make menuconfig
    /--------------
    | Your kernel headers are incomplete/not installed.
    | Please install kernel headers, including a .config
    | file or use the KLIB/KLIB_BUILD make variables to
    | set the kernel to build against, e.g.
    | make KLIB=/lib/modules/3.1.7/
    | to compile/install for the installed kernel 3.1.7
    | (that isn't currently running.)
    \--
    make: *** [menuconfig] Error 1

  25. #75
    Join Date
    2014-Jul
    Posts
    2
    Hey , i did all the mentioned steps and i received this message when executed <<< make defconfig-ath9k >>>
    | Your kernel headers are incomplete/not installed.
    | Please install kernel headers, including a .config
    | file or use the KLIB/KLIB_BUILD make variables to
    | set the kernel to build against, e.g.
    | make KLIB=/lib/modules/3.1.7/
    | to compile/install for the installed kernel 3.1.7
    | (that isn't currently running.)
    any help guys ?

  26. #76
    Join Date
    2014-May
    Location
    Valencia
    Posts
    48
    does kali 1.0.8 fix the problem? thanks

  27. #77
    Join Date
    2013-Jul
    Posts
    841
    The aircrack-ng negative one issue has a very simple solution. The solution was provided by seen_bawl

    1. You can look at the raw approach by searching thru seen_bawl posts.

    2. Musket Teams took this work and wrote a series of script files when running aircrack-ng,reaver or wash. See A Simple Solution to the Negative One Issue thanks to seen_bawl in these forums.

    You can download these scripts easily at

    http://www.axifile.com/en/9B68074FAF

    If you have no luck write and we will append the raw data here.

    MTD

  28. #78
    Join Date
    2014-Jul
    Posts
    1

    Question

    Hello guys, new here.

    I have the Channel -1 (Running on Realtek rtl8192ce driver) and followed this guide step by step, but when I get to the "Sudo Make" part (after defconfig) I get this error:
    /usr/src/backports-3.12-1/net/wireless/nl80211.c: At top level:
    /usr/src/backports-3.12-1/net/wireless/nl80211.c:8874:24: warning: ‘nl80211_ops’ defined but not used [-Wunused-variable]
    cc1: some warnings being treated as errors
    make[8]: *** [/usr/src/backports-3.12-1/net/wireless/nl80211.o] Error 1
    make[7]: *** [/usr/src/backports-3.12-1/net/wireless] Error 2
    make[6]: *** [_module_/usr/src/backports-3.12-1] Error 2
    make[5]: *** [sub-make] Error 2
    make[4]: *** [all] Error 2
    make[3]: *** [modules] Error 2
    make[2]: *** [modules] Error 2
    make[1]: *** [modules] Error 2
    make: *** [default] Error 2
    Already did the "sudo apt-get install libncurses5-dev" but still give me the same error.
    Help will be appreciated (:

  29. #79
    Quote Originally Posted by Devil_D View Post
    solution found without installing compact wireless I hope it can help you
    from what I could see, the network manager creates some problem for aircrack
    just disable it and aricrack working properly on the new kernel
    Code:
     /etc/init.d/network-manager stop
    once finished using aircrack just need to rehabilitate the network manager
    Code:
     /etc/init.d/network-manager start
    on this forum I posted pictures of my results I hope it can help you
    http://forum.top-hat-sec.com/index.p...37304#msg37304
    You sir are a god. Thank you. That simple solution solved my -1 hijinks for my rtl8187 card. I bow to thee.

  30. #80
    Join Date
    2013-Jul
    Posts
    841
    If you are using kali 1.08
    There may be operations such as phishing where a working network-manager is rqr. In such a case just place --ig in the airodump-ng command line and the problem disappears:

    --ig
    Example:
    airodump-ng -c 6 --ig mon0

    You will see a single negative one warning when you run airbase-ng BUT it does not seem to affect operations.

    MTB
    Last edited by mmusket33; 2014-08-18 at 09:41.

Similar Threads

  1. ra0 is on channel 1, but the AP uses channel 2
    By igli1 in forum TroubleShooting Archive
    Replies: 8
    Last Post: 2016-05-10, 08:38
  2. Strange problems using Aircrack Suite after recent upgrade.
    By crypts3c in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2014-12-09, 18:45
  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
  •