On Thu, Dec 14, 2000 at 05:02:49PM -0600, Matt Fair wrote:
> I am managing my server remotely using ssh. If my network connection
> goes down for some reason, I have no control over it, is there a way
> where I could check to see if there is a network connection and then
> restart the connection?
fping some.internet.host.seldom.down || ifdown -a; ifup -a
put this in cron, you can replace the ifdown,ifup stuff with your
network stuff.
--
,-------------------------------------------.
> Name: Alson van der Meulen <
> Personal: [EMAIL PROTECTED] <
> School: [EMAIL PROTECTED] <
`-------------------------------------------'
System coming down in 0 min....
---------------------------------------------
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]