Any fix for the rt3070?
Any fix for the rt3070?
not work with the rt3070 driver
can someone help me find a solution please
I found a small solution to the driver rt2870usb if wlan is down you can change the channel to the monitorCode: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
Code:airmon-ng star wlan0Code:ifconfig wlano downCode:airodump-ng mon0 -c 1Code:CH 1 ][ Elapsed: 0 s ][ 2014-02-25 14:06 ] BSSID PWR RXQ Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSIDIn this way there is no need to configure wlan in monitor mode (ifconfig wlan0 monitor mode) and greatly facilitate scripts kiddie lolCode: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
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 downCode:ifconfig wlan0 mode monitorin 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 patienceCode:ifconfig wlan0 up
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
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
once finished using aircrack just need to rehabilitate the network managerCode:/etc/init.d/network-manager stop
on this forum I posted pictures of my results I hope it can help youCode:/etc/init.d/network-manager start
http://forum.top-hat-sec.com/index.p...37304#msg37304
Est modus in rebus
cd /usr/bin/bad
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.
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
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.bz2Code:sudo tar xvf backports-3.12-1.tar.bz2Code:cd backports-3.12-1Code:sudo apt-get install patchCode:sudo wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patchCode:sudo patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patchCode:sudo wget -Ocompatdrivers_chan_qos_frag.patch http://pastie.org/pastes/8812042/downloadCode:patch -p1 -F3 < compatdrivers_chan_qos_frag.patchCode:sudo make defconfig-wifiCode:sudo makeCode:sudo make installStep 2. Download patch and install the latest svn version of aircrack-ngCode:sudo reboot
Code:wget download.aircrack-ng.org/aircrack-ng-1.2-beta2.tar.gzCode:tar -zxvf aircrack-ng-1.2-beta2.tar.gzCode:cd /root/aircrack-ng-1.2-beta2Code: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/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 handshakeCode:sudo patch -p1 < Don-t-exit-when-the-AP-and-our-interface-are-on-and-inject--Kali-3.12.patch
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.patchCode:sudo apt-get install libnl-3-dev libnl-genl-3-devCode:sudo make libnl=trueCode:sudo make installI hope I can be of helpCode:sudo reboot
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
nice info Devil_D
i will test it soon , when i'll have fre time, it's quite interesting
thanks man !!!
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
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
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.
Thanks Mentu.
J0K3R, any chance you will you be adding a patch for RTL8187 based devices or are we out of luck?
Thanks
same deal here using a dlink dwa160 (rt2800usb)
this is the error i get now in dmesg.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)
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.
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.
I have reported this bug. Please help me to add more Infos so the bug will be fixed in kali 1.0.7.
Is there a solution to the problem? when will the Kali 107 out
AWUS036NH ALFA 2
Ralink RT2870/3070 rt2800usb
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
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
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.
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 ?
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
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 ?
does kali 1.0.8 fix the problem? thanks
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
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:
Already did the "sudo apt-get install libncurses5-dev" but still give me the same 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
Help will be appreciated (:
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.