Fedora NetworkManager and dhclient help request

Pete Snider pds100 at gmail.com
Fri Oct 7 12:50:27 EDT 2011


On Fri, Oct 7, 2011 at 12:04 PM, Ken D'Ambrosio <ken at jots.org> wrote:
> Hey, Pete -- I refer you to the e-mail thread from when I asked the very same
> question:
> http://answerpot.com/showthread.php?2777045-Dynamic+DNS%3A+Ubuntu+vs.+CentOS.
> or http://tinyurl.com/6hav84b
>
> (I know there are other archives, but this was the first Google hit.)
>
> Shawn's response (search for "Shawn") was the magic that did the trick for me.
>
> -Ken
>
>
>
> On Fri, 7 Oct 2011 11:42:54 -0400 Pete Snider <pds100 at gmail.com> wrote
>
>> Hi,
>>
>> As numerous places of work are, I am in a mostly windows shop.  I'm
>> having problems with fedora network manager not setting the hostname
>> through dhclient to the windows dns and dhcp server.  There are 2
>> people here that are using Ubuntu without any problems.  I tried the
>> same setup but it fails.  I created /etc/dhclient-eth0.conf with the
>> following entries below and still not working.  The values do are in
>> /var/run/nm-dhclient-eth0.conf used by dhclient.
>>
>> Any ideas on what to check next or how to resolve the issue.
>>
>> thanks,
>> -pete
>>
>>
>> contents of /etc/dhclient-eth0.conf:
>>
>> option rfc3442-classless-static-routes code 121 = array of unsigned integer
>> 8;
>>
>> send fqdn.fqdn "pds-lnxt500.xyz.com.";
>> send fqdn.server-update on;
>> send option host-name "pds-lnxt500";
>>
>> request subnet-mask, broadcast-address, time-offset, routers,
>>         domain-name, domain-name-servers, domain-search, host-name,
>>         netbios-name-servers, netbios-scope, interface-mtu,
>>         rfc3442-classless-static-routes, ntp-servers;
>>
>> interface "tun0" {
>>      send option fqdn.fqdn "pds-lnxt500-vpn.xyz.com.";
>>      send option host-name "pds-lnxt500-vpn";
>>      send option fqdn.server-update on;
>>      }
>> _______________________________________________

I did see your's and other google pages about this.  I've tried both
'send option host-name "pds-lnxt500";' and 'send host-name
"pds-lnxt500";'   without success.   Notice that fqdn.fqdn and
fqdn.server-update are also sent.  The ps output: 6102 ?        S
0:00 /sbin/dhclient -d -4 -sf /usr/libexec/nm-dhcp-client.action -pf
/var/run/dhclient-eth0.pid -lf
/var/lib/dhclient/dhclient-5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03-eth0.lease
-cf /var/run/nm-dhclient-eth0.conf eth0

In examining /var/run/nm-dhclient-eth0.conf the 'send host-name
"pds-lnxt500";' is present along with the other modifications.

If the dhclient was the problem, I wouldn't expect the other 2 Ubuntu
machines to work either.

-pete



More information about the gnhlug-discuss mailing list