You are not logged in.
Pages: 1
Hello all,
I tried all what I could, impossible to get my hostname back !
I made an upgrade on a machine and lost the hostname !! This computer should be named crystal, but now I have :
$ uname -n
(none)
$ echo $HOSTNAME
Here is /etc/hosts :
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 crystal.localdomain crystal
::1 crystal.localdomain crystal
# End of file
I tried installing everything I could like net-tools, coreutils, ypbind but nothing
I don't have the `hostname` command.
I've also put crystal in /etc/hostname.
Don't now what to do now or where to search.... Any help please ?
Last edited by Kooothor (2011-06-16 09:31:36)
ktr
Offline
Offline
It's in the wiki: https://wiki.archlinux.org/index.php/Be … tc.2Fhosts
github - tweets
avatar: The Oathmeal
Offline
Thanks the problem is solved \o/
Dunno if it was the new /etc/hosts format or the -Syu or both...
Thanks guys
ktr
Offline
Pages: 1