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

Re: [cobalt-users] PortSentry ain't impotent



On Fri, 25 May 2001, Carrie Bartkowiak wrote:

> > Except you should not have to reboot,
> 
> I didn't know what to restart in order to reload the hosts table.
> Hints?  :)
> 
> CarrieB
> 

well I think that a .sh like this:

#!/sbin/sh

cd /etc/sysconfig/network-scripts
./ifdown eth0
./ifup eth0

run the script with: scriptname.sh &
(don't forget the & - it takes it to the background, otherwise the first
command (ifdown) will disconnect you, and the second will never happen and
your cobalt will disappear from the net.)

It's better to be in contact with the NOC whenever you do such dangerous
thing, so they can boot manually if something goes wrong :-)

- shimi.