[arch-general] Detect broken DHCP setup

Eli Schwartz eschwartz at archlinux.org
Fri Sep 8 22:03:11 UTC 2017


On 09/06/2017 06:19 PM, Leonid Isaev via arch-general wrote:
> Again, when it comes to network settings, there is nothing to expose over dbus.
> systemd and NM have this obscure concept of a "system being online" but it is
> nothing more than a simple ping fedoraproject.org. This test fails in many
> legitimate cases which makes it useless...

Are you referring to NetworkManager's connectivity check? Because that
checks to see if http://www.archlinux.org/check_network_status.txt
returns the body content "NetworkManager is online", see
/usr/lib/NetworkManager/conf.d/20-connectivity.conf and
NetworkManager.conf(5) for details.

It is a pretty robust check, unless archlinux.org is offline or banned
by a proxy/filter.

-- 
Eli Schwartz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20170908/7d1b388f/attachment.asc>


More information about the arch-general mailing list