Cannot join mschapv2 WIFI wpasupplicant

Hi guys,

don’t know when this happened but since kernel 4.18.0-parrot06 (could be also earlier) I am not able to connect to any Wireless which uses radius (NPS server from M$) and peap in combination with MSCHAPv2
anymore.


What version of Parrot are you running? (include version, edition, and architecture)

security
4.18.0-parrot10-amd64

What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)

fresh installed - USB drive - gtk installer

Configured to multiboot with other systems? (yes / no)
NOPE

If there are any similar issues or solutions, link to them below:

If there are any error messages or relevant logs, post them below:
no, I am just getting the prompt for authentication again

were there any changes for wpa-supplicant?
with other linux distros like kali, ubuntu, etc… I am able to join these networks without problem
Android is also working - credentials are the same and also correct and working

/var/log/messages:

Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7424] device (wlan0): Activation: (wifi) connection 'cuda-employee' has security, and secrets exist.  No new secrets needed.
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7424] Config: added 'ssid' value 'cuda-employee'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7424] Config: added 'scan_ssid' value '1'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7425] Config: added 'bgscan' value 'simple:30:-65:300'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7425] Config: added 'key_mgmt' value 'WPA-EAP'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7425] Config: added 'auth_alg' value 'OPEN'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7425] Config: added 'password' value '<hidden>'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7425] Config: added 'eap' value 'PEAP'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7425] Config: added 'fragment_size' value '1266'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7425] Config: added 'phase2' value 'auth=MSCHAPV2'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7425] Config: added 'domain_suffix_match' value 'domain.com
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7426] Config: added 'identity' value 'username'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7426] Config: added 'proactive_key_caching' value '1'
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7658] device (wlan0): supplicant interface state: inactive -> disconnected
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7673] device (wlan0): supplicant interface state: disconnected -> inactive
Nov 19 11:03:41 parrot NetworkManager[820]: <info>  [1542621821.7734] device (wlan0): supplicant interface state: inactive -> scanning
Nov 19 11:03:44 parrot kernel: [41398.231102] wlan0: authenticate with 2c:33:11:6d:88:1e
Nov 19 11:03:44 parrot NetworkManager[820]: <info>  [1542621824.9900] device (wlan0): supplicant interface state: scanning -> authenticating
Nov 19 11:03:44 parrot kernel: [41398.238659] wlan0: send auth to 2c:33:11:6d:88:1e (try 1/3)
Nov 19 11:03:44 parrot kernel: [41398.240063] wlan0: authenticated
Nov 19 11:03:44 parrot kernel: [41398.241338] wlan0: associate with 2c:33:11:6d:88:1e (try 1/3)
Nov 19 11:03:44 parrot kernel: [41398.244532] wlan0: RX AssocResp from 2c:33:11:6d:88:1e (capab=0x111 status=0 aid=132)
Nov 19 11:03:44 parrot kernel: [41398.247700] wlan0: associated
Nov 19 11:03:45 parrot NetworkManager[820]: <info>  [1542621825.0022] device (wlan0): supplicant interface state: authenticating -> associating
Nov 19 11:03:45 parrot NetworkManager[820]: <info>  [1542621825.0048] device (wlan0): supplicant interface state: associating -> associated
Nov 19 11:03:47 parrot kernel: [41400.275336] wlan0: deauthenticating from 2c:33:11:6d:88:1e by local choice (Reason: 3=DEAUTH_LEAVING)
Nov 19 11:03:47 parrot NetworkManager[820]: <warn>  [1542621827.0349] sup-iface[0x5562575dda40,wlan0]: connection disconnected (reason -3)
Nov 19 11:03:47 parrot NetworkManager[820]: <info>  [1542621827.0393] device (wlan0): supplicant interface state: associated -> disconnected
Nov 19 11:03:47 parrot NetworkManager[820]: <info>  [1542621827.1397] device (wlan0): supplicant interface state: disconnected -> scanning
Nov 19 11:04:07 parrot NetworkManager[820]: <warn>  [1542621847.3582] device (wlan0): Activation: (wifi) association took too long

thanks in advance

EDIT:
found another thread with exact same issue but it seems not being resolved:
https://forums.linuxmint.com/viewtopic.php?t=233085

I havent experienced this so cant give a direct fix. But to give a bit of help, the error of interest:

Nov 19 11:03:47 parrot kernel: [41400.275336] wlan0: deauthenticating from 2c:33:11:6d:88:1e by local choice (Reason: 3=DEAUTH_LEAVING)

First result after a google for me was: https://unix.stackexchange.com/questions/386925/aborting-authentication-by-local-choice-reason-3-deauth-leaving-when-trying. Have a look see if anything looks useful.

thanks, will give it try

as I have seen in archlinux forums that it is related to the kernel …
downgrade should work but this not really an option for me …
https://bbs.archlinux.org/viewtopic.php?id=222805

holy shit!

takes really long to get that working!
the problem seems to be wpasupplicant

apt list --installed wpasupplicant
wpasupplicant/now 2:2.4-1+deb9u2 amd64 [installed,upgradable to: 2:2.6-18]

as you can see I have manually install wpasupplicant 2:2.4-1 from
https://packages.debian.org/search?keywords=wpasupplicant

after a reboot I was able to connect immediatly the MSCHAPv2 network.

Nov 19 15:40:38 p4rr0t NetworkManager[833]: <info>  [1542638438.9742] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "SUPERNETWORK"

also put the 2:2.6-18 on hold

apt-mark hold wpasupplicant

I cannot tell what are the diferences in wpasupplicant but maybe one of the devs could have a look into it?

1 Like