Wifi using EAP-MSCHAPv2 instead of PAP, when it's configured to use PAP

REPRODUCIBILITY: Yes
OS VERSION: 5.2.0.17
HARDWARE: Jolla Phone 2026
UI LANGUAGE: Norwegian
REGRESSION: Yes

DESCRIPTION:

The phone is unable to connect to WiFi at work(Eduroam), I’ve set it up according to how it’s supposed to be configured according to the documentation we have for manual setup of Eduroam.

PRECONDITIONS:

A wireless network usit WPA-EAP TTLS with PAP as authentication mode

STEPS TO REPRODUCE:

  1. Configure network with the correct credentials etc.

  2. Try to connect to the nettwork see that it fails after trying for a long time

  3. Try to connect again and it fails imidiatly

EXPECTED RESULT:

The phone should be connected to the network.

ACTUAL RESULT:

The phone don’t connect to the network, I don’t remember the excact wording of the error message in the wifi settings

MODIFICATIONS:

No patches installed, and no repos or other packages should have any impact on this.

ADDITIONAL INFORMATION:

The configuration file made by the wifi-settings, with certain fields redacted

[Network-name-random-string]
Name=eduroam 
SSID=656475726f616d 
Frequency=5580
Security=ieee8021x 
EAP=ttls 
Identity=<username>@uio.no 
CACertFile=/etc/ssl/certs/ca-bundle.crt 
DomainSuffixMatch=uio.no 
Phase2=PAP
Passphrase=<password>
IPv4.method=dhcp
IPv6.method=auto
IPv6.privacy=disabled
Proxy.Method=direct

This is what I think are the relevant log messages from journualctl -t wpa_supplican

aug. 21 15:37:54 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: Trying to associate with SSID ‘eduroam’
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: Associated with 00:3a:7d:b7:e9:6f
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=21
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject=‘/C=GR/O=Hellenic Academic and Research I nstitutions CA/CN=HARICA TLS ECC Root CA 2021’ hash=3f99cc474acfce4dfed58794665e478d1547739f2e780f1bb4ca9b133097d401
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject=‘/C=GR/O=Hellenic Academic and Research I nstitutions CA/CN=GEANT TLS ECC 1’ hash=6cdf0ba1711e856d228ba00ca04c5c1c3d79944c037b713b155a4ee4b47ec53c
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject=‘/C=NO/ST=Oslo/O=Universitetet i Oslo/CN= radius-edu02.uio.no’ hash=610cfd74837b4a5a5b1dd2b582a4190436bb993022d63dee278a2c0b8ae12c75
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:radius-edu02.uio.no
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: EAP-MSCHAPV2: failure message: ‘Authentication rejected’ (retry allowed, error 691 )
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-REQ-IDENTITY-0:Identity needed for SSID eduroam
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-REQ-PASSWORD-0:Password needed for SSID eduroam
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: nl80211: send_event_marker failed: Source based routing not supported
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:3a:7d:b7:e9:6f reason=3 locally_generated=1
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid=“eduroam” auth_failures=1 duration=10 reas on=AUTH_FAILED
aug. 21 15:37:55 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: Trying to associate with SSID ‘eduroam’
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: Associated with 00:3a:7d:b7:e9:6f
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=21
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject=‘/C=GR/O=Hellenic Academic and Research I nstitutions CA/CN=HARICA TLS ECC Root CA 2021’ hash=3f99cc474acfce4dfed58794665e478d1547739f2e780f1bb4ca9b133097d401
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject=‘/C=GR/O=Hellenic Academic and Research I nstitutions CA/CN=GEANT TLS ECC 1’ hash=6cdf0ba1711e856d228ba00ca04c5c1c3d79944c037b713b155a4ee4b47ec53c
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject=‘/C=NO/ST=Oslo/O=Universitetet i Oslo/CN= radius-edu02.uio.no’ hash=610cfd74837b4a5a5b1dd2b582a4190436bb993022d63dee278a2c0b8ae12c75
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:radius-edu02.uio.no
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: EAP-MSCHAPV2: failure message: ‘Authentication rejected’ (retry allowed, error 691 )
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-REQ-IDENTITY-0:Identity needed for SSID eduroam
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-REQ-PASSWORD-0:Password needed for SSID eduroam
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: nl80211: send_event_marker failed: Source based routing not supported
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:3a:7d:b7:e9:6f reason=3 locally_generated=1
aug. 21 15:38:01 JollaPhone2026 wpa_supplicant[3348]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid=“eduroam” auth_failures=1 duration=10 reas on=AUTH_FAILED

Based on thes logmessages am I assuming that it tries the wrong authentication method when connecting to the nettwork.

1 Like