On Sun, Feb 28, 2021 at 02:16:29AM -0800, Rick Thomas wrote:
> 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.
> 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:
> #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
> 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.
And whoosh - you've created a FrankenDebian and dependencies on a Raspberry
Pi OS that you don't run.. Raspi-config is a collection of
shell scripts. Gunnar's Raspberry Pi images are deliberately small.
If you want to reconfigure locale -
apt-get install locales ; dpkg-reconfigure locales
(this last as root / root equivalent using sudo)
Timezone: dpkg-reconfigure tzdata
There are good Debian commands that will work on every Debian system you
come across :-)
All the very best, as ever,