connman

connman is a lightweight nework manager.

You can connect to wifi APs through its CLI with connmanctl. The steps are usually as follows:

  1. Enable Wi-Fi: hardware switch or enable wifi
  2. Scan for APs: scan wifi
  3. List found APs: services
  4. Enable auth agent: agent on
  5. Connect to AP: connect <id>

DNS is managed automatically by connman through its internal DNS proxy.

See also https://wiki.archlinux.org/title/ConnMan

eduroam networks

Create /var/lib/connman/eduroam.config with:

[service_eduroam]
Type=wifi
Name=eduroam
EAP=peap
CACertFile=/etc/ssl/certs/certificate.cer
Phase2=MSCHAPV2
Identity=user@foo.edu
AnonymousIdentity=anonymous@foo.edu
Passphrase=password

Restart connman and wpa_supplicant