-----Original Message-----
From: Joel Robert Oliveira <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, June 09, 1998 12:20 PM
Subject: Re: IP masquerading


>Make sure you're local to the machine !!! If you're telneting into it
>you'll have to haul your ass to wherever the machine is and do the
>`network start` over there.  If you're remotely doing this I would
>suggest `shutdown -r now`.


"at" is useful for this.

Say, something along the lines of:

echo /etc/rc.d/init.d/network stop | at now + 2 minutes
echo /etc/rc.d/init.d/network start | at now + 4 minutes

Log off, go get a coke.  In ~4.5 minutes things will be back to normal.  If
you're a fast typist and know your machine will finish shutting networking
down quickly, you could substitute 1 minute and 2 minutes.  I'd hate to be
halfway through typing the second line when the first one shut me down,
however.


Of course, that's a hell of a lot more work than just echoing something into
/proc.




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to