# 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 `` 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: ```sh [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 # Wired interface 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 ```ini [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