On Thu, Feb 25, 2021, at 10:10 PM, Alan Corey wrote:
> There are scripts for those, keyboard and language too. Also WiFi country, I
> forget what else. Locales is in there.
>
> Take a look at a recent raspi-config. I think Odroid, maybe the Pine64 bunch
> has a generic-ized version of that. Armbian probably does too. Raspi-config
> is just a Bash script that uses Whiptail for its menus. Parts of it are
> useful on other things. It's on Github somewhere.
>
>
> On Thu, Feb 25, 2021, 11:09 PM Rick Thomas <[email protected]> wrote:
>>
Thanks! Alan...
So, here's what I found...
Immediately after the first boot of the SD card, as root, do the following:
#Get the raspi-config utility:
wget
https://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20200601_all.deb
-P /tmp
#Install packages it needs:
apt-get install libnewt0.52 whiptail parted triggerhappy lua5.1 alsa-utils
-y
sudo apt-get install -fy
#Install the utility itself:
dpkg -i /tmp/raspi-config_20200601_all.deb
#And run it
raspi-config
It will give you a bunch of customizations you might want to do. I can
personally vouch that you'll need to at least do options (1) change the root
password and set up a non-root user, (2) Configure the network, and (4) set
localizations (timezone, keyboard, locale, and a few others).
The 20200601 version happens to be the latest as of this writing. But just to
be sure, you can use the tool itself (option 8) to check for and install any
updated version.
Easy!
Rick