You are not logged in.

#1 2022-05-12 15:27:53

LuizF
Member
Registered: 2020-12-27
Posts: 30

Connecting to eduroam wi-fi with iwctl

Hello, I am trying to connect to the  eduroam wi-fi, and I tried the following:

[Security]
EAP-Method=PEAP
EAP-Identity=anonymous@ufmg.br
EAP-PEAP-CACert=/var/lib/iwd/ca.pem
EAP-PEAP-ServerDomainMask=auth-eduroam.rede.ufmg.br
EAP-PEAP-Phase2-Method=MSCHAPV2
EAP-PEAP-Phase2-Identity=myemail@ufmg.br
EAP-PEAP-Phase2-Password=mypassword

[Settings]
AutoConnect=True

However, it does not connect, did I do something wrong?

The file i generated with the script available in the website is:

network={
        ssid="eduroam"
        key_mgmt=WPA-EAP
        pairwise=CCMP
        group=CCMP TKIP
        eap=PEAP
        ca_cert="/home/luizf/.cat_installer/ca.pem"
        identity="myemail@ufmg.br"
        altsubject_match="DNS:auth-eduroam.rede.ufmg.br"
        phase2="auth=MSCHAPV2"
        password="mypassword"

}

In my Android, i just choose to not validate the certificate and I am able to login.

I moved the certifcate to the correct directory, but it still doesn't work, I am not sure about the  EAP-PEAP-ServerDomainMask field.

Offline

#2 2022-05-12 15:45:02

LuizF
Member
Registered: 2020-12-27
Posts: 30

Re: Connecting to eduroam wi-fi with iwctl

Obs: systemctl status iwd returns me this:

May 12 09:42:30 arch iwd[452]: Received Deauthentication event, reason: 23, from_ap: true
May 12 09:42:31 arch iwd[452]: resolve-systemd: Failed to modify the DNS entries. org.freedesktop.resolve1.LinkBusy: Link wla>
May 12 09:42:31 arch iwd[452]: resolve-systemd: Failed to modify the domains entries. org.freedesktop.resolve1.LinkBusy: Link>
May 12 09:42:33 arch iwd[452]: resolve-systemd: Failed to modify the DNS entries. org.freedesktop.resolve1.LinkBusy: Link wla>
May 12 09:42:33 arch iwd[452]: EAP server tried method 4 while client was configured for method 25
May 12 09:42:33 arch iwd[452]: PEAP: Tunnel has disconnected with alert: bad_certificate
May 12 09:42:34 arch iwd[452]: EAP completed with eapFail
May 12 09:42:34 arch iwd[452]: 4-Way handshake failed for ifindex: 3, reason: 23

Offline

Board footer

Powered by FluxBB