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
nl80211: Driver does not support authentication/association or connect commands #1
Comments
Strange... Are you sure that you loaded proper driver? I had same issue when I used https://github.com/lwfinger/rtl8188eu driver. So make sure that you removed old driver. Try to: And next: If this does not work then disconnect and connect wifi card and look into dmesg to check if driver is used (or if there is any error): Regarding to your box setup I use same configuration Win10 + Virtualbox with same kali and it works for me. |
First of all dude, thanks for the quick reply, and you are a legend for writing this. I think for most people just adding that rmmod 8188eu command will do the trick for anyone else facing this problem. However, when I try to use wifi on my virtualbox instance I still cannot see any networks (bridged adapter if that makes any difference). Any ideas? |
But wait, what do you want to achieve? If you want to connect to an wifi network then you do not need wifi.sh and remove: Bridged adapter? You should attach usb card directly to Kali VM ( Virtualbox->Devices->USB->Realtek ) |
What I want to achieve is to use this wifi usb adapter to intercept and inject packets using aircrack, to be honest I don't care much about connecting to wifi but I thought that was part of the process, sorry I misunderstood! Anyways yes it is connected via usb and like I said I was able to get the correct output from the wifi.sh script however after appempping to use airodump-ng the device is now renamed to wlan0mon, how do I revert that and use airodump using this driver? (Sorry I realise this is off-topic) |
Ah ok. Sorry I have not tested it with aircrack. I only needed AP to make MiTM. So unfortunately you have to figure out it on your own or maybe some other users of this driver done it already... |
Hi @SebastianSmolorz. I've been able to successfully place this adapter into Monitor mode -- have not yet tried an injection, but interception should certainly be possible. I did not use @mfruba Thank you so much for this work -- I ordered x3 WL722N's, not knowing that there was now a v2 that had an entirely different chipset to v1. This modified driver has really saved me! |
@JosephRedfern Sir can you please guide me how did you do that because i have make and make install the driver and also insmod then. And now i can use browse the internet but airmon-ng shows me ???? in the Driver section.. what to do now? |
@Rajssss If just used iwconfig, rather than airmon-ng. Assuming your adapter has been named wlan0 (it's likely to be something else, but just swap the name out), try:
|
After 10h hard focus i found a solution (by coincident) for this error "nl80211: Driver does not support authentication/association or connect commands" Never use wpa_supplicant but "ifup". Pls read below work on beaglebone black , debian "buster" (also stretch I guess) wifi stick: i try 2 different I believe with this trick below, it will work on all linux distribution which run on PC, raspberry. root@beaglebone:~# lsmod|grep 81 https://www.youtube.com/watch?v=LAwlnBhbi4A my old: new:
BUT a script /etc/rc.local . This script will activate the wifi during the reboot. It kill the faulty "/sbin/wpa_supplicant" process and then "up" the interface. Sometime the first "ifup" failed, so just try again. root@beaglebone:~# cat /etc/rc.local PATH="/sbin:/bin:/usr/bin" ps -ef|grep wpa|awk '{print $2}' |xargs -i kill {} #END chmod 755 /etc/rc.local DONE TEST: My other files root@beaglebone:~# cat /etc/wpa_supplicant.conf root@beaglebone:~# cat /etc/network/interfaces GOOD LUCK ps: yes "wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -B -d" still fail...but who cares :-) |
just try on another mini linux box , odroid. I just put the rc.local at /etc (keep the same wifi module rt2800usb.ko).....it works if using wpa_supplicant , i got another error and wlan0 is still DOWN using the ifup (rc.local) trick: 00usb 28672 0 root@odroid:~# lshw root@odroid:~# ps -ef|grep wpa ip a |
Hey dude,
I followed your README instructions however I ran into a problem when running the wifi.sh script. This is the output I got:
net.ipv4.ip_forward = 1
Configuration file: /etc/hostapd.conf
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211 driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
Here are some relevant command outputs:
uname -a:
Linux kali 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux
lsusb
Bus 001 Device 003: ID 2357:010c <---- the wifi card
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I'm running Kali in Virtualbox on Windows 10 host and I copied and pasted your versions of /etc/hostapd.conf and /etc/NetworkManager/NetworkManager.conf. Any idea what could be causing this? I have run apt-get update and upgrade. Thanks in advance!
The text was updated successfully, but these errors were encountered: