note:
every thing work good and i do not recive any problem during current situation.
hope help me understand next points:
1- did current situation (no static hostname), effect by some how?
2- did i need set hostname, can i also change the Transient hostname?
3- how set them during installation, if they both important?
Phew, I have never made such a fuss about static hostnames. Just edited /etc/hostname with “kdesu kwrite”. Also, I have never bothered about this:
From:
127.0.1.1 localhost
To:
127.0.1.1 ln-sg-vpn1
I don’t know if it is wise to assign a hostname to 127.0.1.1. Here it is “localhost” on all machines. I am using static IP addresses and wicked on all machines except the laptop which I can not access today. On the laptop I am using network manager but still the host is known due to /etc/hosts on all machines. And the Fritz!Box will always assign the same IP address to it. For sure I didn’t mess about 127.0.1.1.
What does
cat /etc/hostname
tell you?
Can you ping that machine using it’s hostname from other boxes?
Hi
As long as 127.0.0.1 is localhost or localhost.localdomain, likewise in the past I’ve added 127.0.0.2 to localhost but never needed to. Now if you want to play with a service on 127.0.0.1, then use nip.io or sslip.io to resolve to localhost on the fly;
ping forums.opensuse.org.127.0.0.1.nip.io
PING forums.opensuse.org.127.0.0.1.nip.io (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.049 ms
....
ping forums.opensuse.org.127.0.0.1.sslip.io
PING forums.opensuse.org.127.0.0.1.sslip.io (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.029 ms
....
I have never ever even added 127.0.1.1 to any host list. In a nutshell, I don’t think it is required to do any change to either of both in order to get a static hostname.