atom feed4 messages in org.freebsd.freebsd-questionsPPP, dynamic IPs, and handling renumb...
FromSent OnAttachments
Louis LeBlancSep 29, 2002 5:25 pm 
Mikko TyöläjärviSep 29, 2002 6:49 pm 
Matthew EmmertonSep 29, 2002 7:16 pm 
Louis LeBlancSep 29, 2002 7:35 pm 
Subject:PPP, dynamic IPs, and handling renumbering
From:Louis LeBlanc (lebl@outgoing.verizon.net)
Date:Sep 29, 2002 5:25:11 pm
List:org.freebsd.freebsd-questions

I have a new question. I have ppp set up on interface tun0, got my IP and all, handling the DSL connection quite nicely - so far.

Now the question: Since the IP is dynamic, I have some things that need doing anytime it changes, like update the Apache config and restart it, update the zoneedit dns records so I still get my mail, etc. Where do I handle this? Is there an exit hook I can specify for ppp to call when it gets a new IP?

I can't even find the dhcp lease or the network broadcast info. When I was with AT&T, it was basic DHCP and it all went into /var/db/dhclient.leases. The only place I can get the IP from now is ifconfig tun0

So is there an exit hook mechanism for ppp?

If not, I'm very interested in knowing what other people are doing out there to handle this issue.

Thanks a lot.

Lou

-- Louis LeBlanc lebl@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org Ô¿Ô¬

I used to work in a fire hydrant factory. You couldn't park anywhere near the place. -- Steven Wright

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message