Once again, Redhat has gone and changed their default dhcp client.  In the
7.x series it was dhcpcd.  Seems as if they try and deprecate as much of
the software they can in each release just to make a mess of things :)  I
would recommend removing dhclient and install dhcpcd instead since that is
the one you know already.  Redhat doesn't have a dhcpcd rpm however, so
you will need to get a 3rd party rpm if you choose to go that route or use
the rpm from the 7.x series.

Cheers,

--
Personal:

Trevor Lauder
Web: http://www.thelauders.net
E-Mail: [EMAIL PROTECTED]

Work:

Trevor Lauder
Technical Services Specialist
Wireless Networks Inc.
Web: http://www.wirelessnetworksinc.com
E-Mail: [EMAIL PROTECTED]

Curtis Sloan said:

> Aw, man!  You're supposed to have dhcpcd installed because it's the only
> thing I researched.  ;-)
>
> Option 1:  Install dhcpcd.
> Option 2:  Learn dhclient.
>
> Here's a man page for dhclient:
> http://resin.csoft.net/cgi-bin/man.cgi?section=8&topic=dhclient
> Some info on dhclient.conf:
> http://resin.csoft.net/cgi-bin/man.cgi?section=5&topic=dhclient.conf
>
> Here's an example dhclient.conf file from a very old blog site (1998A):
> http://www.freebsddiary.org/dhclient.php
>
> timeout 60;
> retry 60;
> reboot 10;
> select-timeout 5;
> initial-interval 2;
> script "/etc/dhclient-script";
>
> prepend domain-name "mydomain.com ";
> prepend domain-name-servers 127.0.0.1;
>
> interface "ed0" {
>         request subnet-mask, broadcast-address, routers,
> domain-name-servers,
>         domain-name, host-name;
>         require domain-name-servers;
>         media "link2";
> }
>
> And, last but not least, some interesting options for dhclient:
> http://linuxcommand.org/man_pages/dhclient8.html
>
> You could watch the .conf file referred to in the documentation for
> changes.
> Maybe Tripwire would work for this (instead of a periodic check using
> cron)?
> I haven't tried, so I don't know.
>
> I may get a chance to look at this in more detail this weekend, but
> tonight
> is out, I have a date with my sweetheart.  :-)
>
> Also, there was this posting from Jesse Kline earlier:
>
>>I also got this response from Richi Plana:
>>"Or, if you're using dhclient, modify the /sbin/dhclient-script script.
>>There's a section there that actually handles a change in IP address.
>>Just email the contents of $new_ip_address to your external mail
>>account."
>>This one may relate more directly to what you are trying to do.
>>
>>I hope this helps,
>>
>>Jesse
>
> Good luck, and keep us posted!  I'm interested to see if dhclient has the
> same functionality as dhcpcd.
>
> Curtis.

Reply via email to