On Fri, 5 Jul 2002, Bruce Endries uttered these words of wisdom:
I use a cable modem, and the cable company provides a dynamic
IP address. I'd like to know a command that will tell me when the
lease on my IP address is up. The computer uses a standard dhcp
request when it starts, to get it's IP address.
Any help will be appreciated.
I think you would have to write some type of script to do that - maybe
something that would pipe the output of ifconfig to a file then compare it
and notify you of changes? I know that www.dyndns.org has some tools that
deal with having a changing ip (of course, that's what they do).
I'm curious though, does your ip actually change when the lease is up? I
have a router that I've been using for about two years with dsl and the
only time my ip actually changes (yes, it's dynamic also) is when there
has been some kind of down time from the either my end or the server side
(verizon). Other than that my ip has remained the same throughtout.
From what I understand, DHCP usually gives preferentual treatment to a mac
address which has already had a certain IP address.
Mike
--
Michael Holt
Banning, CA(o_
[EMAIL PROTECTED](o_ (o_ //\
www.holt-tech.net(/)_ (/)_ V_/_www.mandrake.com
AOL for Dummies is kind of redundant, don't you think?
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com