Posts: 13,396
Threads: 304
Joined: Mar 2018
Reputation:
543
02-24-2023, 02:17 PM
Hi,
This is just a heads up that in upcoming moOde 8.3.0 (new image only) SSH and the default passwords for the Pi userid and WiFi access point have been removed to strengthen security and better align with the Raspberry Pi Foundation security practices for RaspiOS. Let's face it SSH and default passwords are not such a good thing!
It's easy using the Raspberry Pi Imager app to enable SSH, create a password for the user Pi and optionally enter a WiFi SSID and password before writing the image. It's GUI based, available on Windows, Mac and Linux and does not involve any command line stuff :-)
moOde startup will pick up the WiFi SSID and password (if any) from the Pi Imager generated wpa_supplicant file and automatically update network config. The Wifi password will also be used as the Access Point password.
-Tim
Posts: 6,013
Threads: 176
Joined: Apr 2018
Reputation:
235
02-24-2023, 08:40 PM
(This post was last modified: 02-24-2023, 08:51 PM by TheOldPresbyope.
Edit Reason: added ETA
)
How will this fit in with the existing setup?
Will moOde 8.3.0 first take up any parameter values set by rpi-imager and ony then take up parameter values defined in /boot/moodecfg.ini if it exists (possibly overlaying some of the first by some of the second)?
ETA - There are places in the moOde code where user "pi" is baked in (e.g., grep turns up 11 instances of "/home/pi" in /var/www and below). I assume this may be fixed in some future release but in 8.3.0 we'll still need to create user "pi"...yes/no?
Regards,
Kent
Posts: 13,396
Threads: 304
Joined: Mar 2018
Reputation:
543
The only external params that are imported during moOde first boot startup are from the bare wpa_supplicant.conf file that Pi Imager generates if WiFi is checked and SSID / password are entered.
The wpa_supplicant import happens just before the Network section in startup. The import of moodecfg.ini alone or as part of a System Restore happens near the end of startup after the section named "Other" is complete and it would override anything imported from Pi Imager.
Basically if you want to use existing moodecfg.ini or System Restore files then no need to enter WiFi info in Pi imager. I'd recommend changing the default "moodeaudio" passwords in the ini file to something else thought so as to support the "strengthen security" mantra.
Posts: 6,013
Threads: 176
Joined: Apr 2018
Reputation:
235
Sounds good.
I'm probably an outlier, with several moOde players in operation and frequently spinning up one or more others to test some issue or another.
I keep a copy of moodecfg.ini preconfigured with various renderers enabled, yada yada yada, and with all name strings suitably tokenized so I can define a new player with a single sed substitution.
Regards,
Kent
PS - Temp here has fallen more than 30 degrees from yesterday's high of 80-degF and is still heading down. We might even see snow tomorrow. Weird.
Posts: 13,396
Threads: 304
Joined: Mar 2018
Reputation:
543
Mother Nature is mad at us ;-)
Posts: 1,538
Threads: 106
Joined: Mar 2018
Reputation:
73
Stay safe and indoors you lot !!
I always run sudo raspi-config and change the username and password first after installing.
Doesn't everyone ?
----------
bob
Posts: 188
Threads: 13
Joined: Jan 2019
Reputation:
6
02-26-2023, 08:57 PM
(This post was last modified: 02-26-2023, 10:26 PM by suzywong.)
Me neither.
But I do like the look of the RPi Imager - hadn’t come across this before. It could make the SDCard for the kitchen streamer easier (it’s the only wireless one, and still on 7.x.x). Can I use the loader with 8.2.5, if I stick to the existing username & password?