-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTL8812AU [X] ERROR: pcap_activate status -1 #265
Comments
what driver do you use for the 8812 ? what distro ? does it work when you put the card into monitor mode before starting reaver ? |
Driver: card in monitor mode work well (Ex. airodump-ng)!!!but when i use reaver ver >= 1.6.4 I get : |
try this #202 (comment) |
hi @kcdtv ! glad you're back. in case you can reproduce this issue, could you test the potential fix i pointed out anyway? |
Hi again! |
odd. if it affects tcpdump too, then reaver can't be blamed... if you feel adventurous, you could try to use |
It affects tcpdump if i use it over wash
The problem is that the issue appears since the first publication of this version of the drivers (v5.3.4). Reaver and wash never worked with them. To solve the issue i also edited
In the link you gave i understood it was only pcap_set_rfmon, maybe you were speaking about bothes. |
thanks. i reported the issue here aircrack-ng/rtl8812au#238 . let's wait a little to see what @kimocoder has to say... |
I have noticed this. Offline due to work offshore, brb! |
@rofl0r and @kcdtv I've been looking a bit on it, can't really say whats wrong there. This base is from Edimax, don't really know what changes/additions they've added to the drivers besides MESH mode and some other fixes, but I think the other dev had to disable the MESH mode support as it gave issues to other functions/parts of the driver. Anyway, scanning with "iw" and issues like that have been fixed in that release and it 'seems' more stable than the others. Also noticed "lwfinger" (Larry Finger) additions to the drivers, so it seems it is based on https://github.com/lwfinger/rtl8812au which is fairly known for making good Realtek drivers. We've got together and we're trying to get in touch of Realtek about the matter on these issues/drivers or at least make an effort in getting it linux staging or something. If chip-designers would go for a Realtek chipset, it is clearly that providing a working driver with it/them would be useful for both ends of the party and the rest of us 3rd-party. Just updated the v5.2.20(.2) branch a bit and pushed it to Kali, wont push a non-Reaver-functional v5.3.4 driver as the reason we work on it as the main use of it is ment for it's penetration testing abilities (injection support). |
Thanks for the updating... The drivers 5.2.20 works pretty well for me and have already some interesting patches like this anti KRACK ones. And it works as one module for all chipset so it is very handy (well, for the weird people that have several devices with chipsets form this kind, it might not be so relevant for normal users)
Good luck with that and thanks for your efforts 😺 Maybe speak about it with Alfa Network, it might help to get in touch with the adequate people from realtek. If you go through regular channel of communication it is pretty hard to get somewhere... Cheers |
I've added some penetration testing abilities to the new Realtek (clean Realtek base, not from vendor this time) multichip driver from 2018, the rtl8188eus (with support for rtl8188eu and rtl8188etv too) and I was shocked, cause the base is v5.3.9 and actually got much better code quality and stability than prior. Anyhow, with this driver, Realtek actually added frame injection themselves (wtf?) and also got this "pcap_activate" status.. really annoying when I found this new base. repo is here |
@kimocoder interesting. does the potential fix i suggested in #265 (comment) help ? |
I'll check tomorrow 👍
Som the injection is faster than the 8812au (v5.2.2 base originally), packetloss (peaking) is fixed and they've been all over the place cleaning up, cause it's the same main base they always used for their multichip solution. Easy to pick patches/fixes from one to other though. I'll give you feedback, cause I need it resolved so the 8812/14/21 experience could jump up a notch at least. And also for those other chipsets, they must have reaver aupported 🥇 |
Great news! I'll be around this weekend to check out and give you feedback. I have to try your latests commits in monitor mode. I tested some day ago hostapd in 5Ghz band with ac support and it worked smoothly. Reay cool. See you! |
Great, jumped over to v5.3.4 and fixed the injection just now, also lots of data wasn't dropped in txdesc film and urb was leaking a bit. But overall it should be better than the 5.2.20(2). Will fiddle around and try find the cause of the pcap_activate status |
is the fix to this found yet ? |
@ligmaDX800 check PR #276 |
rtl8188eu I have this one |
you actually checked out the branch of that PR, compiled it, and still get the error ? |
I am actually new to linux so I dunno how it works correct me if I am wrong. |
update |
alright thanks for testing |
I have come across another issue after running the reaver command following happens: reaver -b 98:DE:D0:B2:F6:CA -i wlan0 -c 10 -vv Reaver v1.6.5-git-18-g48a0a8b WiFi Protected Setup Attack ToolCopyright (c) 2011, Tactical Network Solutions, Craig Heffner cheffner@tacnetsol.com |
new issue -> [new issue] but check https://github.com/t6x/reaver-wps-fork-t6x/wiki/Troubleshooting first |
ok since #276 was merged this can be closed. |
@kimocoder where to locate this file in directory for editing |
grep for pcap_set_snaplen. |
grep -r pcap_set_snaplen . do you have the file path ???? |
try it inside the source directory of reaver |
Where do i find the source directory of reaver? I am new to linux so i really dont know how to find it. I also tried using grep, but it doesn't gives a proper output. |
May you please tell me what are the steps you did to fix it? |
Where is the destination of the mentioned file that should be edited ? My output from "reaver -i wlan0 -b MAC is : |
there's no need to edit anything, the patches mentioned here are already merged into master. |
Raver Error "RTL8812AU [X] ERROR: pcap_activate status -1" from ver. 1.6.4 to 1.6.5
(only ver form 1.4 to 1.6.3 work)
err:
Reaver v1.6.5 WiFi Protected Setup Attack Tool
Copyright (c) 2011, Tactical Network Solutions, Craig Heffner cheffner@tacnetsol.com
[X] ERROR: pcap_activate status -1
[X] PCAP: generic error code
couldn't get pcap handle, exiting
my wifi device :
Bus 004 Device 010: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter
The text was updated successfully, but these errors were encountered: