On Fri, 2014-01-03 at 22:59 +0000, Robert Horovitz wrote:
> Hi Dan,
> 
> thanks for your reply.
> 
> > If you're using 'keyfile' configuration files, you can add the line
> > "dhcp-send-hostname=false" to the [ipv4] block to prevent sending the
> > hostname to the DHCP server.  I don't believe it's exposed anywhere in
> > the nm-connection-editor UI at least.  Note that setting that option
> > does not prevent a custom dhclient.conf with "send host-name" from
> > working, so make sure it's not their either.
> 
> After reading your reply, I tried to add:
> 
> "
> [ipv4]
> dhcp-send-hostname=false
> "
> 
> to /etc/NetworkManager/NetworkManager.conf
> but that wasn't very successful.
> 
> There are not much files under /etc/NetworkManager at all.

Ah, sorry.  That block is for the connection files
in /etc/NetworkManager/system-connections, if that's where the
connection is stored.

If the connection is instead stored in an ifcfg file on Fedora or RHEL,
then you'll want to use "DHCP_SEND_HOSTNAME=no" in the ifcfg file for
the connection in /etc/sysconfig/network-scripts/

Dan

_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to