Creating the CubeSatSim Raspberry Pi Image - alanbjohnston/CubeSatSim GitHub Wiki
These are the exact steps I used to create the Pi image, so you can recreate it if you want:
- Download the Pi OS Lite image and write it to a micro SD card:
https://www.raspberrypi.com/software/
-
Mount the SD card on another computer and mount boot and create the
wpa_supplicant.conf
file andssh
file so that when it boots it has WiFi and SSH is enabled. -
Plug the micro SD card into the Pi and power it up. Log in the Pi using ssh with username
pi
and passwordraspberry
-
ran
sudo raspi-config
-
Under System Options set hostname to cubesatsim and Boot/Auto Login set to Console Auto Login. Don't reboot immediately
-
Under Localization Options, I set the Locale (unchecked en.GB and checked en.US.UTF-8 UTF-8 and C.UTF-8), Timezone (US Eastern), Keyboard (Generic 101-key PC, Other, English (US), English (US), default, no compose), and WiFi Country (set to US - if you don't do this, WiFi won't work on 3B or 4B)
-
Edited the Message of the Day file
sudo vi /etc/motd
Added these lines to it:
This Raspberry Pi image has the CubeSatSim v1.x software installed
and runs automatically as systemd cubesatsim.service. For more
information see https://CubeSatSim.org. To update
to the latest version, enter this command:
CubeSatSim/update
To see configuration options, enter this command:
CubeSatSim/config
- Manually edited the /boot/config.txt file:
sudo vi /boot/config.txt
Uncommented this line:
hdmi_safe=1
- Ran the standard install steps:
sudo apt-get install -y git
git clone http://github.com/alanbjohnston/CubeSatSim.git
cd CubeSatSim
git checkout master
./install
Suggested next step:
- Set your CALLSIGN
CubeSatSim/config -c
- Set your latitude and longitude
CubeSatSim/config -l
- Set your password
passwd
- Configure your WiFI
sudo raspi-config
then System Options then Wireless LAN