hostname and more
Hello I got some Problems with the hostname and login, and shutdown. the shutdown did not work before I install, and reinstall different distros.
I start to have this issue by using antix 19.4 with runit
there it was
algori@dhcppc4:~
$ hostname
dhcppc4
algori@dhcppc4:~
$ cat /etc/hostname
thmus
algori@dhcppc4:~
$
by the way the entry for
/etc/hosts
127.0.0.1 localhost
127.0.0.1 thmus
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# BEGIN (below) – IPs added by antiX Advert Blocker #
……
but I got the same issue by useing artix
the hostname I want to have is thmus!
I post it already as code, but
if I cat /etc/hostname it is mentioned as thmus
if I run hostname it says dhcppc4
also in /etc/hosts
it’s thmus
here is some more weird about this,
but maybe it’s also important to mention, my laptop isn’t able to shut down, if I try, it seem to shut everything down, but instead my laptop reboot. shutdown and instant goes up again. I got this Problem for a while, even before I started to do the following, wich will proceed something to the host issue.
to get used to some init systems, grub, and other package manager, and to get a general picture of some differences between distros, I started to install some as multiboot.
right now I’m on
antix 19.4 runit, debian
artix open rc, pacman (maybe adding some tools for using the aur database, but not right now)
and void, xbps
first install was antix
second artix
third void
while I install void startup of artix kinda crash, not even the bios boot mentioned its existence anymore, so I reinstall artix.
and here comes the weird thing
as I try to login after the reinstall, on the top of the loginscreen it is “thmus”,
enter, nothing happens, seem to crash, reboot by button, kind of a shutdownscreen mentioned:
broadcast message root@dhcppc0
new login, loginscreen now on the top “dhcppc0”
first try by password after press enter nothing happens, but a loginscreen move, second try I’m able to enter artix, everything seem to work fine, but I’m also algori@dhcppc0
since than, If I go back to antix,
here its the same issue like before, but the host now change to dhcppc0!
so I guess it’s something messing with these broadcast thing,
however even if I make all the changes
/etc/hostname
/etc/hosts
nothing changes its still
dpcppc0
if I run hostname
and also the terminal says
algori@dhcppc0
I really want to change that.
could you please give me some advise?
thank you for your support!
best regards
diffeom