connman is a lightweight nework manager.
You can connect to wifi APs through its CLI with connmanctl. The steps are usually as follows:
enable wifiscan wifiservicesagent onconnect <id>DNS is managed automatically by connman through its internal DNS proxy.
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
Connect to a new wired ethernet interface (regular, android hotspot, etc)
Configure manually under /var/lib/connman/ethernet_XXXXXXX_cable/settings
Template for DHCP, should work most of the time
[ethernet_8a0d2241dceb_cable] Name=Wired AutoConnect=true Modified=2026-06-03T02:01:24Z IPv4.method=dhcp IPv4.DHCP.LastAddress= IPv6.method=auto IPv6.privacy=disabled
Restart connman and voila