Mailinglist Archive: opensuse (1540 mails)
| < Previous | Next > |
Re: [opensuse] Script to check interface & restart network service
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Wed, 17 Feb 2010 01:06:36 +0100 (CET)
- Message-id: <alpine.LSU.2.00.1002170103210.2328@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, 2010-02-16 at 17:09 -0600, David C. Rankin wrote:
There is an advantage with using ping to the outside: it keeps the connection up. Some providers use a timeout and if they see no activity, they kill the connection.
- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkt7MxMACgkQtTMYHG2NR9WlqQCfbYqipdwKJ7yndiV4NlhjQhfO
QOsAnAr8q1LUBvwHa5ZA4FRyWUGutAVT
=fTt5
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Hash: SHA1
On Tuesday, 2010-02-16 at 17:09 -0600, David C. Rankin wrote:
The following should do what you want based on ifconfig instead of
ping. Enjoy:
There is an advantage with using ping to the outside: it keeps the connection up. Some providers use a timeout and if they see no activity, they kill the connection.
- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkt7MxMACgkQtTMYHG2NR9WlqQCfbYqipdwKJ7yndiV4NlhjQhfO
QOsAnAr8q1LUBvwHa5ZA4FRyWUGutAVT
=fTt5
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |