Open githolgi opened 4 years ago
I can confirm a similar issue with Kali running in Virtualbox with openSUSE host.
Kali: Linux kali 5.6.0-kali2-amd64 #1 SMP Debian 5.6.14-1kali1 (2020-05-25) x86_64 GNU/Linux
Virtualbox 6.1.8
I can see wireless networks, but as soon as I try to connect to one (either WPA or open), it immediately disconnects with some kernel messages:
Jun 11 23:30:07 kali wpa_supplicant[5170]: wlan0: Association request to the driver failed
Jun 11 23:30:07 kali NetworkManager[6001]: <info> [1591932607.7972] device (wlan0): supplicant interface state: disconnected -> scanning
Jun 11 23:30:16 kali sudo[6012]: kali : TTY=pts/0 ; PWD=/home/kali ; USER=root ; COMMAND=/usr/bin/journalctl -f
Jun 11 23:30:16 kali sudo[6012]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 11 23:30:17 kali systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Jun 11 23:30:23 kali wpa_supplicant[5170]: wlan0: Trying to associate with 00:fe:c8:db:35:5d (SSID='Boingo_5GHz' freq=5500 MHz)
Jun 11 23:30:23 kali wpa_supplicant[5170]: wlan0: Association request to the driver failed
Jun 11 23:30:23 kali NetworkManager[6001]: <info> [1591932623.6307] device (wlan0): supplicant interface state: scanning -> disconnected
Jun 11 23:30:23 kali NetworkManager[6001]: <info> [1591932623.7469] device (wlan0): supplicant interface state: disconnected -> scanning
Jun 11 23:30:33 kali NetworkManager[6001]: <warn> [1591932633.1549] device (wlan0): Activation: (wifi) association took too long, failing activation
Jun 11 23:30:33 kali NetworkManager[6001]: <info> [1591932633.1551] device (wlan0): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Jun 11 23:30:33 kali NetworkManager[6001]: <info> [1591932633.1560] manager: NetworkManager state is now DISCONNECTED
Jun 11 23:30:33 kali NetworkManager[6001]: <warn> [1591932633.3761] platform-linux: do-change-link[3]: failure changing link: failure 1 (Operation not permitted)
Jun 11 23:30:33 kali NetworkManager[6001]: <warn> [1591932633.3766] device (wlan0): set-hw-addr: failed to set MAC address to 72:DF:55:13:07:04 (scanning) (NME_UNSPEC)
Jun 11 23:30:33 kali NetworkManager[6001]: <warn> [1591932633.3790] device (wlan0): Activation: failed for connection 'Boingo_5GHz'
Jun 11 23:30:33 kali NetworkManager[6001]: <info> [1591932633.3796] device (wlan0): supplicant interface state: scanning -> disconnected
Jun 11 23:30:33 kali NetworkManager[6001]: <info> [1591932633.3963] device (wlan0): supplicant interface state: disconnected -> interface_disabled
Jun 11 23:30:33 kali NetworkManager[6001]: <info> [1591932633.3994] device (wlan0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jun 11 23:30:33 kali NetworkManager[6001]: <info> [1591932633.4013] manager: startup complete
Jun 11 23:30:33 kali NetworkManager[6001]: <info> [1591932633.4141] device (wlan0): supplicant interface state: interface_disabled -> disconnected
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4199] policy: auto-activating connection 'Boingo_5GHz' (c049c587-7214-4ef0-9f84-1704f7ba90c0)
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4227] device (wlan0): Activation: starting connection 'Boingo_5GHz' (c049c587-7214-4ef0-9f84-1704f7ba90c0)
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4239] device (wlan0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4283] manager: NetworkManager state is now CONNECTING
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4301] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4309] device (wlan0): Activation: (wifi) connection 'Boingo_5GHz' requires no security. No secrets needed.
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4310] Config: added 'ssid' value 'Boingo_5GHz'
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4310] Config: added 'scan_ssid' value '1'
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4310] Config: added 'bgscan' value 'simple:30:-70:86400'
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.4310] Config: added 'key_mgmt' value 'NONE'
Jun 11 23:30:34 kali wpa_supplicant[5170]: wlan0: Trying to associate with 00:fe:c8:d6:2d:7d (SSID='Boingo_5GHz' freq=5260 MHz)
Jun 11 23:30:34 kali wpa_supplicant[5170]: wlan0: Association request to the driver failed
Jun 11 23:30:34 kali NetworkManager[6001]: <info> [1591932634.5420] device (wlan0): supplicant interface state: disconnected -> scanning
Jun 11 23:30:36 kali systemd[1]: systemd-hostnamed.service: Succeeded.
Jun 11 23:30:49 kali wpa_supplicant[5170]: wlan0: Trying to associate with 00:3a:7d:f5:3d:dd (SSID='Boingo_5GHz' freq=5320 MHz)
Jun 11 23:30:49 kali wpa_supplicant[5170]: wlan0: Association request to the driver failed
I was able to associate with a wireless network once after I restarted NetworkManager, but have not succeeded since.
I'm not sure, but this may be an issue with NetworkManager. I installed wicd and can now join any wireless network. In case anyone else is using Kali (which dropped wicd from the main repo it seems), I did the following to replace NM with wicd:
sudo echo 'deb http://deb.debian.org/debian sid main' > /etc/apt/sources.list.d/sid.list
sudo apt update
sudo apt install wicd wicd-gtk
sudo systemctl stop NetworkManager
sudo systemctl disable NetworkManager
sudo systemctl enable wicd
wicd-client
WICD is a quite old thing these days. I wonder if it is wise to build network on such a discontinued animal?!
I found some differences in the networks: my home router seems to work fine (connecting and stable). I will re-check other network asap.
Hi All,
following problem with my ALFA USB adapter: trying connecting to any network (open) fails with a timeout.
Running on top of latest Ubuntu 20.04
Linux nux 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
within VMware Workstation15 Player on Windows10 hostThe association to the chosen network fails with some kernel complains (see output below).
Any idea? Holger