On 09/01/2021 10:10, Frank Winkler wrote:
> On 09.01.21 10:28, The Natural Philosopher wrote:
>
> >you can edit all the files on the card before putting it in the pi.
> >
> >You probably want at a minimum to set up static networking and if it
> >will use wifi, ensuring that is configured, and making sure sshd is
> >enabled.
>
> That's clear to me but I'm wondering if fixing the network setup is
> sufficient to make the Pi believe it's configured so that it's booting
> and not asking questions on the console which does not exist. Wi-Fi is
> not needed.
>
Don't think a pi or linux in general ever does ask questions on the
console before booting. Only potentially the boot loader, and that on a
Pi doesn't as far as I know.
I cant answer for fedora though. I used raspbian server as its better
documented., Cant see the point of fedora, The Pi Zero W server after
editing the card off the pi in a reader came up on the right IP adress,
found the network and connected, and set up sshd. First time!
> And what do I have to edit in order to simulate "systemctl enable ssh"?
> I'm not talking about host keys and so on but about the service.
I think that on raspbian at least an empty file called ssh in /boot
directory is enough. (that's the DOS FAT partition )
The guys thought of this when they ported linux to the Pi!
--
Future generations will wonder in bemused amazement that the early
twenty-first century’s developed world went into hysterical panic over a
globally average temperature increase of a few tenths of a degree, and,
on the basis of gross exaggerations of highly uncertain computer
projections combined into implausible chains of inference, proceeded to
contemplate a rollback of the industrial age.
Richard Lindzen
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|