Dear List

Until we find a permanent solution it seems I may be able to do a temporary fix.

Firstly I note that during a download I can run

ifconfig em0 down; ifconfig em0 up

without apparently interrupting the download!  This fixes the problem - until 
it occurs again.  Looking around (using Google and 
Diagnostics: Edit File ) it seems I may be able to edit this file /etc/crontab 
thus:

{start}
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#minute hour    mday    month   wday    who      command
#
#
# pfSense specific crontab entries
# Created: August 26, 2007, 7:50 am
#

0 * * * * root /usr/bin/nice -n20 newsyslog
1,31 0-5 * * * root /usr/bin/nice -n20 adjkerntz -a
1 * 1 * * root /usr/bin/nice -n20 /etc/rc.update_bogons.sh
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 
sshlockout
1 1 * * * root /usr/bin/nice -n20 /etc/rc.dyndns.update
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 
virusprot
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -t 3600 snort2c
*/5 * * * * root /usr/local/bin/checkreload.sh
*/5 * * * * root /etc/ping_hosts.sh
*/300 * * * * root /usr/local/sbin/reset_slbd.sh

#DH Addition Start
# Hopefully his will run every minunte
#ping returns 1 when successful
#run ping to the first hop gateway (a.b.c.1) , if it fails run the fix...
*/1 * * * * root if (ping -c1 a.b.c.1 != 1) then ifconfig em0 down; ifconfig 
em0 up endif
#DH Addition End

#
# If possible do not add items to this file manually.
# If you do so, this file must be terminated with a blank line (e.g. new line)
#

{end}

Is this correct syntax?  Can I just paste it into the window and save it?  
Anything else needed?

The immediate goal here is to be able to continue remote terminal sessions and 
keep the site up!  (Or be able to log back in within 
a minute, instead of having to wait maybe hours until someone is on site to fix 
it...)

Any guidance would be greatly appreciated.

Kind regards
David Hingston 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to