Re: [arch-general] Detect broken DHCP setup

2017-09-08 Thread Eli Schwartz
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 m

Re: [arch-general] Detect broken DHCP setup

2017-09-06 Thread Leonid Isaev via arch-general
On Wed, Sep 06, 2017 at 11:27:13AM +0200, Giovanni Santini via arch-general wrote: > Il 06/09/2017 01:09, Leonid Isaev via arch-general ha scritto: > > > > What does it mean a valid DHCP setup? By reconnection you mean that your > > client > > re-request a lease from the server? Also, dbus has n

Re: [arch-general] Detect broken DHCP setup

2017-09-06 Thread Giovanni Santini via arch-general
Il 06/09/2017 01:09, Leonid Isaev via arch-general ha scritto: > > What does it mean a valid DHCP setup? By reconnection you mean that your > client > re-request a lease from the server? Also, dbus has nothing to do with dhcp > settings... I know DBus has nothing to do with DHCP; what I meant is

Re: [arch-general] Detect broken DHCP setup

2017-09-05 Thread Leonid Isaev via arch-general
On Wed, Sep 06, 2017 at 12:09:52AM +0200, Giovanni Santini via arch-general wrote: > On that device I am using *systemd-networkd + systemd-resolved* for the > network setup. However, I saw no real method to check if the DHCP > configuration is valid (while NetworkManager provides an element throug

[arch-general] Detect broken DHCP setup

2017-09-05 Thread Giovanni Santini via arch-general
Good morning, tl;dr: I was wondering what could be the best way to check a DHCP setup. Briefly: our landlord provides us Wifi through a telephonic company service. However, the routers placed in the building after some time lose the DHCP settings. While I can fix it on my computer with a reconnect