Re: Starting programs when no internet connection is available

2018-03-14 Thread Joe Zeff
On 03/14/2018 07:14 PM, Tim wrote: Joe Zeff: Considering that not all computers use DHCP, NETWORK_LOCAL should probably include pinging the gateway but probably doesn't. That still wouldn't prove the internet is accessible. My ISP could be failing, or suspended my account, or the cable between

Re: Starting programs when no internet connection is available

2018-03-14 Thread Tim
Samuel Sieb wrote: >> NetworkManager has a few different states of connected. There are >> at least NETWORK_LOCAL which seems to mean it has an IP address and >> NETWORK_GLOBAL which means it has internet access. There might >> another one in between as well. Joe Zeff: > Considering that not all

Re: Starting programs when no internet connection is available

2018-03-14 Thread ni . ls
On 03/14/2018 06:24 PM, stan wrote: > On Wed, 14 Mar 2018 12:48:35 +0100 > Thoughts only, not sure if they are true. My suspicion is that they > are made aware of the connection from network manager as if it is > active, so try to access it, and then have to wait a period of time > until they deci

Re: Starting programs when no internet connection is available

2018-03-14 Thread Joe Zeff
On 03/14/2018 12:24 PM, Samuel Sieb wrote: NetworkManager has a few different states of connected.  There are at least NETWORK_LOCAL which seems to mean it has an IP address and NETWORK_GLOBAL which means it has internet access.  There might another one in between as well. Considering that

Re: Starting programs when no internet connection is available

2018-03-14 Thread Samuel Sieb
On 03/14/2018 10:24 AM, stan wrote: A few months ago there was a discussion here about how network manager decides that a network connection is live before it has actually connected. I think it would be neat if network manager did a ping of a / the dns address associated with a connection before

Re: Starting programs when no internet connection is available

2018-03-14 Thread stan
On Wed, 14 Mar 2018 12:48:35 +0100 ni...@posteo.de wrote: > Hello, > > I'm encountering a strange issue with my Fedora 27 Gnome installation. > I'm sometimes connected to a WiFi network without a working Internet > connection. When that's the case, some programs like Firefox, > Thunderbird or eve

Starting programs when no internet connection is available

2018-03-14 Thread ni . ls
Hello, I'm encountering a strange issue with my Fedora 27 Gnome installation. I'm sometimes connected to a WiFi network without a working Internet connection. When that's the case, some programs like Firefox, Thunderbird or even LibreOffice take really long to start. As soon as I disable the conne