![]() Registered Member ![]()
|
In windows we can check internet connection when planet earth is in colour, if there are any problem to stablish connection, we can see a Tv with a yellow signal. In my job i need to confirm if i've internet connection or i'm only connected to the LAN. I know that i can make a ping Ej: google.com but it would be easier to check it in a network manager indicator.
|
![]() Manager ![]()
|
the network management widget (plasma-nm) in the system tray or standalone widget indicates a connection or not, it can be enabled with system tray settings or added to the desktop or panel with add widgets
|
![]() Registered Member ![]()
|
I think you missed the point of this suggestion: the OP makes a difference between a connection to "the LAN" (which is what the NM applet shows) and a usable connection to "the internet" (which is _not_ indicated by that applet). I second the OPs opinion that this would be a very valuable information that should be right at hand. However I also feel that this is not that trivial to implement. So how do you actually test if there _is_ a usable connection to the internet? What _is_ "the internet" actually? I mean just try to answer that in a precise manner... |
![]() Registered Member ![]()
|
You could ping 8.8.8.8. If google is down you have got bigger problems |
![]() Registered Member ![]()
|
Easy and straight forward, but not really a solution: * what if google decides to block ping requests? All KDE desktops are suddenly broken? Not good... * this would mean that all KDE desktops always and repeatedly ping that ip address. I would not be amused if I were their administrator. In other words: this is a pretty aggressive and unacceptable strategy. Instead some more flexible and broader based "test suite" would be required. Something that orientates more on the users habits too, that the test is more individual. First (and best) thing would be to centrally evaluate all already existing connection attempts done in background an a periodic base: akonadi, NTP client, irc, ... And in case of doubt the test suite could still fall back to active tests to get a clear information about the current situation. This might also make sense for an initial test... |
![]() Registered Member ![]()
|
What makes "search" command in /etc/resolv.conf?
I think, it will define domain to ping.
Lachu, proud to be a member of KDE forums since 2008-Nov.
|
![]() Registered Member ![]()
|
Not really. It tries to "guess" the domain of a hostname that is not fully qualified. So that if you do a "ping mysystem" inside your local network the system will try the combinations of that hostname and all domains specified in the search command, so mysystem.local, mysystem.hubby.local, mysytem.somedomain.org This is helpful, but has nothing to do with the problem discussed here I am afraid... |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell