Skip to main content
Topic: Hostname keep changing to "debian" automatically post boot (Read 484 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Hostname keep changing to "debian" automatically post boot

Issue: Hostname keep changing to "debian" automatically post boot

- /etc/hosts & /etc/hostname both have right machine name listed.
- while booting the original hostname assigned shows up offering you to login.
- But once you open qterminal post complete bootup hostname has changed to debian.

Unable to figure up why it is happening and this happens every bootup.


Re: Hostname keep changing to "debian" automatically post boot

Reply #2
Is the output of hostname -f correct?
If so, you might try to temporarily move .config/qterminal.org to some other name/location and start and check qterminal again.

 

Re: Hostname keep changing to "debian" automatically post boot

Reply #3
Did you boot up debian live image on this machine? If so, the hostname could come from dhcpd (youre router). dhcpd caches mac-ip-hostname for some time. You could flush it from your router or wait for 1 or 2 days. The cache will expire and your new hostname will be accepted.

Re: Hostname keep changing to "debian" automatically post boot

Reply #4
Did you boot up debian live image on this machine? If so, the hostname could come from dhcpd (youre router). dhcpd caches mac-ip-hostname for some time. If could flush it from your router or wait for 1 or 2 days. The cache will expire and your new hostname will be accepted.
This is another possibility. See here: https://forum.artixlinux.org/index.php/topic,3017.msg21421.html#msg21421