[oclug] Auto ifdown / ifup
Scott Connery
scott_connery at hotmail.com
Thu Feb 1 11:07:18 EST 2001
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.
More information about the OCLUG
mailing list