Re,
Tsukasa a écritmarielle@alfred:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 marielle-X200CA
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
marielle@alfred:~$ cat /etc/hostname
alfred
Tu as vu le problème ?
Le nom de l'ordinateur est alfred dans hostname, mais le nom originel du PC est marielle-X200 dans hosts, c'est ce nom qui a été saisi lors de l'installation.
Donc le nom de l'ordinateur a été changé dans hostname après l'installation.
michel@Michel-E320:~$ cat /etc/hosts
127.0.0.1 localhost Michel-E320
127.0.1.1 Michel-E320
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
michel@Michel-E320:~$
michel@Michel-E320:~$ cat /etc/hostname
Michel-E320
michel@Michel-E320:~$
Si tu n'arrive pas à remettre le nom marielle-X200 dans hostname avec :
sudo nano /etc/hostname
Tu peux le faire en démarrant une Live session.
A+