Sample Header Ad - 728x90

network manager can't connect to WPA2 Enterprise EAP

3 votes
1 answer
15383 views
I am trying to connect to this WPA2 Enterprise network but it is not working. I am able to connect with my android (on my mobile I put certificate as Do not validate) phone but not with the computer, using same credentials. I am using Debian 9 with Network Manager 1.4.2. My Android phone recognize the network as [WPA-EAP-CCMP][WPA2-EAP-CCMP+TKIP][ESS]. This is the configuration I am using on my debian laptop: [connection] id=myid uuid=uid generated by the system type=wifi permissions= secondaries= [wifi] mac-address-blacklist= mac-address-randomization=0 mode=infrastructure seen-bssids= ssid=network-ssd [wifi-security] group= key-mgmt=wpa-eap pairwise= proto= [802-1x] altsubject-matches= anonymous-identity=username (same that is working on android) eap=peap; identity=username password=password (same that is working on android) phase2-altsubject-matches= phase2-auth=mschapv2 [ipv4] dns-search= method=auto [ipv6] addr-gen-mode=stable-privacy dns-search= ip6-privacy=0 method=auto This is the error I gen in syslog: Nov 2 17:51:56 debian wpa_supplicant: wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started Nov 2 17:51:56 debian NetworkManager: [1478105516.3576] device (wlan0): supplicant interface state: associating -> associated Nov 2 17:51:56 debian wpa_supplicant: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25 Nov 2 17:51:56 debian wpa_supplicant: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected Nov 2 17:51:56 debian wpa_supplicant: wlan0: CTRL-EVENT-EAP-FAILURE EAP authentication failed cat /usr/share/dbus-1/system-service/fi.epitest.hostap.WPASupplicant.service output: [D-BUS Service] Name=fi.epitest.hostap.WPASupplicant Exec=/sbin/wpa_supplicant -u -s -O /run/wpa_supplicant User=root SystemdService=wpa_supplicant.service UPDATE: I have tried also TTLS instead of PEAP but nothing, in this case the only meaningful log I get is Nov 3 11:04:47 debian wpa_supplicant: wlan0: SME: Trying to authenticate with 6c:XX:XX:XX:XX:XX (SSID='my-ssid' freq=2437 MHz) Nov 3 11:04:47 debian kernel: [ 5587.074393] wlan0: authenticate with 6c:XX:XX:XX:XX:XX Nov 3 11:04:47 debian kernel: [ 5587.090537] wlan0: send auth to 6c:XX:XX:XX:XX:XX (try 1/3) Nov 3 11:04:47 debian kernel: [ 5587.093252] wlan0: authenticated Nov 3 11:04:47 debian NetworkManager: [1478167487.1252] device (wlan0): supplicant interface state: scanning -> authenticating Nov 3 11:04:52 debian kernel: [ 5592.093412] wlan0: aborting authentication with 6c:XX:XX:XX:XX:XX by local choice (Reason: 3=DEAUTH_LEAVING) Nov 3 11:04:52 debian NetworkManager: [1478167492.1457] device (wlan0): supplicant interface state: authenticating -> disconnected UPDATE 2: since Network Manager is installed, there is no wpa_supplicant.conf file configuration. Any ideas?
Asked by Giorgio (31 rep)
Nov 2, 2016, 04:58 PM
Last activity: Oct 6, 2019, 09:18 PM