Re: sending persistent host name in DHCP interaction

On Thursday 02 of December 2010 15:30:52 Peter Frederick Patel-Schneider 
> Is there an easy way in NetworkManager to always send the persistent
> host name in DHCP interactions?  I can't seem to find one.
> My understanding is that most of this is left to the distribution
> plugin.  Under Fedora it appears that sending the host name is not done
> unless configuration files (like /etc/dhclient-wlan0.conf or
> /etc/sysconfig/network-scripts/ifcfg-eth1) are modified.  So in Fedora
> it is possible to send *a* host name, but I wouldn't call the way of
> doing it easy.
> It appears that NetworkManager can get the persistent host name (from a
> plugin) and use that.  However, no host name is sent unless
> NM_SETTING_IP4_CONFIG_DHCP_SEND_HOSTNAME is true, and this defaults to
> false.  I guess, then, that I'm asking how to easily set this variable.
> Peter F. Patel-Schneider
> PS: I would count as "easy" changing the default for

There are several bugs about the issue in Red Hat bugzilla:
 - there are three ways how to send the hostname to DHCP server (though they 
do require to manually edit the connection)
 - Dan prefers sending persistent hostname without GUI configuration
  - you will find how to edit connection to add DHCP hostname via gconf-editor
 - there is a patch adding GUI for sending DHCP hostnames to nm-connection-
 - contains a patch to make NM_SETTING_IP4_CONFIG_DHCP_SEND_HOSTNAME true by 

Dan, is there any reason why we don't change 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]