[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remote management

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:       alson@linuxfreak.nl       <
> School:       alson@gymnasiumleiden.nl    <
System coming down in 0 min....

Reply to: