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:

  1. Download the Pi OS Lite image and write it to a micro SD card:

https://www.raspberrypi.com/software/

  1. Mount the SD card on another computer and mount boot and create the wpa_supplicant.conf file and ssh file so that when it boots it has WiFi and SSH is enabled.

  2. Plug the micro SD card into the Pi and power it up. Log in the Pi using ssh with username pi and password raspberry

  3. ran sudo raspi-config

  4. Under System Options set hostname to cubesatsim and Boot/Auto Login set to Console Auto Login. Don't reboot immediately

  5. 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)

  6. 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

  1. Manually edited the /boot/config.txt file: sudo vi /boot/config.txt Uncommented this line:

hdmi_safe=1

  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:

  1. Set your CALLSIGN

CubeSatSim/config -c

  1. Set your latitude and longitude

CubeSatSim/config -l

  1. Set your password

passwd

  1. Configure your WiFI

sudo raspi-config then System Options then Wireless LAN