Difference between revisions of "Raspberry Pi"
(Update artifacts URL) |
(Add reference to Pi 4 as well) (Tag: Visual edit) |
||
Line 4: | Line 4: | ||
==Intro== | ==Intro== | ||
− | The Raspberry Pi 3 is the reference platform for SatNOGS (see our [[SatNOGS Client Ansible|Ansible guide]] to install SatNOGS on other Linux machines). You can try using various distributions for this (eg. Arch, Fedora), but the one we suggest is our custom image based on latest Raspbian. | + | The Raspberry Pi (version 3 and 4) is the reference platform for SatNOGS (see our [[SatNOGS Client Ansible|Ansible guide]] to install SatNOGS on other Linux machines). You can try using various distributions for this (eg. Arch, Fedora), but the one we suggest is our custom image based on latest Raspbian. |
==[https://gitlab.com/librespacefoundation/satnogs/satnogs-pi-gen/-/jobs/artifacts/2019091100/download?job=release <span class="glyphicon glyphicon-save"></span>Download]== | ==[https://gitlab.com/librespacefoundation/satnogs/satnogs-pi-gen/-/jobs/artifacts/2019091100/download?job=release <span class="glyphicon glyphicon-save"></span>Download]== | ||
Line 61: | Line 61: | ||
==Configuration== | ==Configuration== | ||
− | ===Raspberry Pi | + | ===Raspberry Pi Setup=== |
Once your Raspberry Pi is booted, log in with username "'''pi'''" password "'''raspberry'''" and run: | Once your Raspberry Pi is booted, log in with username "'''pi'''" password "'''raspberry'''" and run: | ||
<pre> | <pre> |
Revision as of 21:35, 11 September 2019
Contents
Intro
The Raspberry Pi (version 3 and 4) is the reference platform for SatNOGS (see our Ansible guide to install SatNOGS on other Linux machines). You can try using various distributions for this (eg. Arch, Fedora), but the one we suggest is our custom image based on latest Raspbian.
Download
You can download the latest Raspbian SatNOGS image following the links from the latest tag on GitLab. This image has the SatNOGS setup script installed, the SSH server enabled and all required packages preinstalled. Click on the cloud icon and then click "Download release". You will get an Artifacts.zip file:
Artifacts list
The current artifacts list consists of:
- A Zipped image file
- An Image info file
- A SHA256 checksums file
Data integrity verification
You should verify the data integrity of the artifacts by checking the SHA256 checksums. On Linux, run sha256sum -c sha256sums
in the directory where the artifacts are downloaded and unzipped.
Example:
$ sha256sum -c sha256sums 2017-09-29-Raspbian-SatNOGS-master-lite.info: OK image_2017-09-29-Raspbian-SatNOGS-master-lite.zip: OK
Flashing
Follow the usual Raspbian flashing instructions, and boot your Raspberry Pi.
Getting console access
You can log in the Raspberry Pi by connecting it to a keyboard and monitor or through network via an SSH connection.
Keyboard and monitor
Once your Raspberry Pi is booted, log in with username "pi" password "raspberry".
Ethernet
If you are using wired Ethernet you should get connectivity right away. You just need to find the IP address of Raspberry Pi (e.g. in your router management interface). Log in with SSH using username "pi" password "raspberry":
$ ssh pi@192.168.1.2
Pre-boot wireless configuration
If neither keyboard/monitor, nor a wired Ethernet are available, you can set up a WiFi connection before boot by mounting the boot partition of the flashed SD card and editing files directly. Note your OS may mount boot partition in a different location, and Windows users have line ending problems. Suggested actions:
$ $EDITOR /media/Raspbian_SatNOGS-boot/wpa_supplicant.conf
contents: (note key_mgmt options include NONE, WPA-PSK, WPA-EAP)
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=US network={ ssid="NETWORK_NAME" psk="password" key_mgmt=WPA-PSK }
Configuration
Raspberry Pi Setup
Once your Raspberry Pi is booted, log in with username "pi" password "raspberry" and run:
$ sudo raspi-config
You will want to be sure to do the following:
- Set a strong, unique password
- Change localization settings:
- by default the rpi locale is configured for EN-GB, change as appropriate (ie: to EN_US.UTF-8)
- set timezone (we recommend UTC so your logs match the times in Network)
- set keyboard layout, again this is defaulting to a UK layout
- set wifi country
- expand filesystem
- Configure network or WiFi (see this doc for network configuration instructions)
- Finish and reboot
SatNOGS Setup
SSH to the Raspberry Pi with user "pi" and your new password.
Follow SatNOGS Client Setup instructions to configure the system.
Fedora
Instructions for installing on Fedora can be found here.