Errr! DSL is here, DSL is gone.
Bob Bell
bbell at hp.com
Tue Jul 15 09:52:59 EDT 2003
On Tue, Jul 15, 2003 at 03:00:59AM -0400, Bill Mullen <moon at lunarhub.com> wrote:
> On Mon, 14 Jul 2003 bscott at ntisys.com wrote:
> >
> > FWIW, it should also be possible to have the firewall fix-up script
> > invoked automatically when the "dhcpcd" daemon sees the new IP address.
> > It is supposed to be able to invoke an external program when that
> > happens. I've never tried it, though.
>
> It works, too. On RH/Mandrake systems (at least), you just name the script
> /etc/dhcpc/dhcpcd-<interface>.exe, and it will run whenever dhcpcd gets a
> new IP address on <interface>. I use it to update my system's "A record"
> on ZoneEdit's DNS servers, and then mail me my new IP address.
On my RH9 system I use /etc/dhclient-enter-hooks to modify my
system's /etc/resolv.conf file to my liking. You can also use
/etc/dhclient-exit-hooks (see the dhclient-script man page).
--
Bob Bell <bbell at hp.com>
-------------------------------------------------------------------------
"Good judgement comes from experience, and experience comes
from bad judgement."
-- Frederick Brooks
More information about the gnhlug-discuss
mailing list