My Host name is reverting back to Default Why?

My default Hostname was linux-hubu

I went to yast networkservices hostnames and changed the name to It changed and stayed for a few days now all of a sudden even though etc/hosts still has the correct name
I see the default name linux-hubu at the command promp.
Wghat in the world is going on?

here is my hosts file below

hosts This file describes a number of hostname-to-address

mappings for the TCP/IP subsystem. It is mostly

used at boot time, when no name servers are running.

On small systems, this file can be used instead of a

“named” name server.


IP-Address Full-Qualified-Hostname Short-Hostname localhost

special IPv6 addresses

::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts Bill
“/etc/hosts” [readonly] 23L, 678C

Someone please explain what in the world is going on here?

  • bperrotta,

Yast, Network Devices, Network Settings, is “Change hostname through DHCP” checked?
Uncheck it.


That worked.