[PLUG] RPi firmware disregards host name change,

Paul Heinlein heinlein at madboa.com
Fri Jun 13 22:29:16 UTC 2025


On Fri, 13 Jun 2025, Chuck Hast wrote:

> I have gone in and changed the hosts, hostname, and saved both of 
> them. After a reboot both show the new name but the machine still 
> replies to raspberrypi2 as the hostname.

Is there an /etc/cloud directory, or perhaps /etc/netplan? The 
cloud-config and netplan utilities often (over)write configuration 
files at boot time.

Or, of course, NetworkManager might be involved. Its configs are 
usually in /etc/NetworkManager.

I would do something like 'grep -lr raspberrypi2 /etc /var' to find 
files that mention that hostname. One of them is likely the culprit.

-- 
Paul Heinlein
heinlein at madboa.com
45°22'48" N, 122°35'36" W


More information about the PLUG mailing list