Been using Connman for 3 to 4 years now. Has always been reliable and stable.
Recently, some annoying issue has crept up: when I (warm) reboot, connman does not
reconnect immediately but lags significantly, is slow to (re)connect, even after I login
to the system.
Previously, Connman would already be on/connected once I logged in. (Referring to logging
in to Linux system via login shell as normal user--Linux Console, no X, no display manager
or DE interference.)
Starting about 2 or 3 versions back, on reboot, it does not connect for some time--and
lags significantly before it finally connects. I can check it with "ping
22.214.171.124" for example, and I get the usual "Network Unreachable", etc. It
takes time for Connman to come back "up".
I am thinking it "could " be related to the systemd connman.service unit but not
sure; and I see that the seem to be provided upstream not by my distro.
% cat connman.service
After=dbus.service network-pre.target systemd-sysusers.service
Before=network.target multi-user.target shutdown.target
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SYS_TIME
I cannot see anythin significant related to Connman in journalctl -b"
Couple of lines from the journal:
__connman_inet_get_pnp_nameservers: Cannot read /proc/net/pnp Failed to open file
“/proc/net/pnp”: No such file or directory
Cannot create /var/run/connman/resolv.conf falling back to /etc/resolv.conf
Nothing in dmesg.
I've done the usual searches, and looked at the official docs; and through recent
mailing list archive posts but have not found a solution yet.
I'd appreciate any feedback on how to troubleshoot and resolve this issue.
Please let me know what additional info I may need to provide to help the