[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hostname is being reset, killing net on reboot



On Sat, Jan 22, 2022 at 05:20:49PM -0500, gene heskett wrote:
> On Saturday, January 22, 2022 9:33:56 AM EST Charles Curley wrote:
> > On Sat, 22 Jan 2022 07:47:01 +0100
> > 
> > <tomas@tuxteam.de> wrote:
> > > Reading the source [1], `set-hostname' seems to be obsolete. The
> > > magic
> > > word seems to be simply `hostname', these days, at least.
> > 
> > Interesting.
> > 
> > I have systemd 247.3-6, as provided on Bullseye. The man page mentions
> > set-hostname only. Looking at your footnote (why do you put footnotes
> > in an email?), you are looking at a more recent version.
> 
> Same version here on amd64 according to synaptic. I have no clue what 
> version is installed on the rpi4, but its raspi-os bullseye.
> Logged into the pi, synaptic says 247.3-6 with a patch number appended on 
> the rpi4.
> 
Hi Gene,

Yes - sorry, I was in a hurry and I goofed.

hostnamectl set-hostname [foobar] 

The hyphen is significant.

Raspberry Pi OS? You're more or less completely oon your own. 
Raspberry Pi OS is its own creature and I assume you're running the 32 bit
 version since the 64 bit version is still very beta.
 
Ask the Raspberry Pi Foundation. They do things differently there - 
as you're discovering. 

If you want to know how to run (fairly) 
vanilla Debian - but including the non-free raspberry pi firmware
and rpi-eeprom - it's possible using either Gunnar Wolf's images
or Pete Batard's version of UEFI for the Pi 4 and the Debian
arm64 ISO file. _That_ I can help you with.

All the very best, as ever

Andy Cater

> Cheers, Gene Heskett.
> -- 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author, 1940)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page <http://geneslinuxbox.net:6309/gene>
> 
> 
> 


Reply to: