Re: Fedora NetworkManager and dhclient help request

2011-10-07 Thread John Abreau
Hi, Pete.

In your reply, you refer to

/etc/dhclient-eth0.conf:

but I see no mention in your reply of

/etc/sysconfig/network-scritps/ifcfg-eth0

I've had problems with NetworkManager in the past that I finally
resolved by editing ifcfg-eth0. The behavior I observed was that
whenever I made changes to the network settings elsewhere,
NetworkManager would quickly notice them and then silently
change them back to match what was in ifcfg-eth0.

If dhclient-eth0.conf looks correct but ifcfg-eth0 is not, then
maybe that's why it's not working.

If you haven't already done so, I suggest trying what Shawn
O'Shea suggested earlier in this thread: put a line in ifcfg-eth0
that reads

DHCP_HOSTNAME=pds-lnxt500



On Fri, Oct 7, 2011 at 12:50 PM, Pete Snider  wrote:
> On Fri, Oct 7, 2011 at 12:04 PM, Ken D'Ambrosio  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  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
>
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>



-- 
John Abreau / Executive Director, Boston Linux & Unix
Email j...@blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Fedora NetworkManager and dhclient help request

2011-10-07 Thread Shawn O'Shea
I can't verify, but according to an article comment on serverfault[1],
requesting the domain-name and host-name from the server negates the "send
host-name" option. There were a few other suggestions in that article as
well. Normally MS DHCP/DNS only allows secure updates, and this must be
expressly changed to allow insecure updates. Either the insecure updates are
enabled and that's how the Ubuntu machines work, or possibly the Ubuntu
machines are doing something else (joined to the domain with likewise-open
maybe? Using nsupdate to do a secure update, which according to a 2008
thread on a bind list is conceivable with BIND 9.5's nsupdate[2]).

-Shawn

[1]
http://serverfault.com/questions/104220/update-hostname-from-debian-machine-with-dhcp-to-a-windows-2008-dns-server
[2]
http://groups.google.com/group/comp.protocols.dns.bind/browse_thread/thread/b6f803d7594be3d0

On Fri, Oct 7, 2011 at 12:50 PM, Pete Snider  wrote:

> On Fri, Oct 7, 2011 at 12:04 PM, Ken D'Ambrosio  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  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
>
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Fedora NetworkManager and dhclient help request

2011-10-07 Thread M D L
Debian (Ubuntu) and Red Hat (Fedora) put their config files in
different places.  On Fedora, it looks like the file should
be /etc/dhcp/dhclient.conf

You can look at:  /usr/share/doc/dhclient-4.2.1/dhclient.conf.sample for other 
examples that may help.

Michael


On Fri, 7 Oct 2011 11:42:54 -0400
Pete Snider  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;
>  }
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


signature.asc
Description: PGP signature
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Fedora NetworkManager and dhclient help request

2011-10-07 Thread Pete Snider
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;
 }
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/