[oclug] Auto ifdown / ifup
Dan Cardamore
wombat at hld.ca
Thu Feb 1 11:14:39 EST 2001
Your server may go down from the outside world if you don't initiate a
connection from the inside peridically.
If you ping your router every minute, you may find that you stay up.
/bin/ping -i 60 router > /dev/null &
This is because the cable modem stops listneing to the outside world
unless it thinks you are using your computer.
Dan
On Thu, Feb 01, 2001 at 04:07:18PM -0000, Scott Connery wrote:
> For some reason ... unbeknownst to me, Rogers @ Home likes going down
> temporarily o a regular basis (or at least the modem loses connection). When
> the net goes down my server (RedHat 7) hickups. Eventhough the IP stays the
> same, I cannot access the inetnet until I run "ifdown eth1" and "ifup eth1".
> It may be due to a requirment for DHCP authentication, I am not sure.
>
> Is there a way to either:
> -constantly ping the internet, and if it is down, to run a combination
> ifdown / ifup script, when the connection is restored,
> OR
> -to reset the timing for the leasing of the DHCP lease. (It may be that
> although my IP seems static, the lease still runns out).
> OR
> -any other ideas....?
>
> Thanks,
>
> Scott
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> oclug mailing list
> oclug at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug
________________________________________________________________
Dan Cardamore wombat at hld.ca http://www.hld.ca
GnuPGP Key: mailto:wombat at hld.ca?subject=sendpgpkey
Email Stats: http://www.hld.ca/~wombat/emailStats
Opensource projects: http://www.hld.ca/opensource
My Groupware project: http://www.gwpeople.com
________________________________________________________________
More information about the OCLUG
mailing list