[CentOS] Prevent network setup from changing the hostname
Robert Nichols
rnicholsNOSPAM at comcast.net
Mon Apr 27 00:25:27 UTC 2015
On 04/26/2015 06:31 PM, Peter Larsen wrote:
> On 04/26/2015 07:26 PM, Robert Nichols wrote:
>> How can I block network setup (via NetworkManager) from changing
>> the machine's hostname whenever the network configuration changes?
>
> Make it a system connection instead of a user connection. Or give the
> host a static name on install and don't allow dhcp to override it.
Making my wireless connection a system connection increases the
exposure of my WPA key and doesn't solve the problem of the network
configuration changing, perhaps because I connected or disconnected
an ethernet cable or the machine went to sleep on one WLAN and woke
up on another.
Do you know of a place I can set a static name that NetworkManager
won't override? That would be ideal. I just doesn't make sense
that the machine's internal relationships would depend on its
external connections.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
More information about the CentOS
mailing list