Difference between revisions of "Raspberry Pi"

From SatNOGS Wiki
Line 11: Line 11:
  
 
= Raspbian =
 
= Raspbian =
Latest Raspbian zipped image can be downloaded from [https://gitlab.com/librespacefoundation/satnogs/satnogs-pi-gen/tags GitLab].
 
You should verify the contents of that file by checking the SHA256 checksum.  On Linux, run "sha256sum -c sha256sums" like so:
 
  
 +
== Download ==
 +
Latest Raspbian SatNOGS image artifacts can be downloaded from [https://gitlab.com/librespacefoundation/satnogs/satnogs-pi-gen/tags GitLab].
 +
 +
=== 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 <code>sha256sum -c sha256sums</code> in the directory where the artifacts are downloaded
 +
 +
Example:
 
<pre>
 
<pre>
/tmp $ cp ~/Downloads/artifacts.zip .
+
$ sha256sum -c sha256sums  
/tmp $ unzip artifacts.zip
 
Archive:  artifacts.zip
 
  inflating: deploy/2017-09-10-Raspbian-SatNOGS-master-lite.info 
 
  inflating: deploy/image_2017-09-10-Raspbian-SatNOGS-master-lite.zip 
 
  inflating: deploy/sha256sums     
 
/tmp $ cd deploy/
 
/tmp/deploy $ ls -l
 
total 637892
 
-rw-r--r--. 1 aardvark aardvark    116696 Sep 10 00:59 2017-09-10-Raspbian-SatNOGS-master-lite.info
 
-rw-r--r--. 1 aardvark aardvark 653075512 Sep 10 00:59 image_2017-09-10-Raspbian-SatNOGS-master-lite.zip
 
-rw-r--r--. 1 aardvark aardvark      227 Sep 10 01:06 sha256sums
 
/tmp/deploy $ sha256sum -c sha256sums  
 
 
2017-09-10-Raspbian-SatNOGS-master-lite.info: OK
 
2017-09-10-Raspbian-SatNOGS-master-lite.info: OK
 
image_2017-09-10-Raspbian-SatNOGS-master-lite.zip: OK
 
image_2017-09-10-Raspbian-SatNOGS-master-lite.zip: OK
 
</pre>
 
</pre>
 +
== Flashing ==
  
Unzip the image zipfile that was contained in the artifacts zipfile. (In the example above, it is named "image_2017-09-10-Raspbian-SatNOGS-master-lite.zip".)  Within that, you'll find the image file that needs to be installed to an SD card:
+
[https://www.raspberrypi.org/documentation/installation/installing-images/README.md Follow the usual Raspbian flashing instructions], and boot your Raspberry Pi.
 
 
<pre>
 
/tmp/deploy $ unzip image_2017-09-10-Raspbian-SatNOGS-master-lite.zip
 
Archive:  image_2017-09-10-Raspbian-SatNOGS-master-lite.zip
 
  inflating: 2017-09-10-Raspbian-SatNOGS-master-lite.img 
 
</pre>
 
  
[https://www.raspberrypi.org/documentation/installation/installing-images/README.md Follow the usual Raspbian flashing instructions], and boot your Raspberry Pi.
+
== Networking ==
  
 
If you are using wired ethernet you should get connectivity right away. If you are using wireless then see [https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md this doc for network configuration instructions].
 
If you are using wired ethernet you should get connectivity right away. If you are using wireless then see [https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md this doc for network configuration instructions].
  
 +
== Setup ==
 
SSH to the Raspberry Pi with user "pi" and password "raspberry" (no quotes).  Run "sudo satnogs-setup" to set basic configuration.  When it's done, the Raspberry Pi will reconfigure itself; this may take some time.
 
SSH to the Raspberry Pi with user "pi" and password "raspberry" (no quotes).  Run "sudo satnogs-setup" to set basic configuration.  When it's done, the Raspberry Pi will reconfigure itself; this may take some time.
  
 
* Note: you can always reconfigure the software by running "sudo satnogs-setup -n" again.
 
* Note: you can always reconfigure the software by running "sudo satnogs-setup -n" again.

Revision as of 10:28, 30 September 2017

The Raspberry Pi 3 is the reference platform for SatNOGs. As of September 2017, there are two methods of installing the SatNOGS client on a Raspberry Pi:

  • Using Fedora for ARM, and following the instructions at satnogs.readthedocs.io
  • Installing the custom-built SatNOGS Raspian image

Fedora

Start by downloading the "Server" or "Minimal" image from the the Fedora ARM project page. After that, follow the instructions at satnogs.readthedocs.io.

Raspbian

Download

Latest Raspbian SatNOGS image artifacts can be downloaded from GitLab.

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

Example:

$ sha256sum -c sha256sums 
2017-09-10-Raspbian-SatNOGS-master-lite.info: OK
image_2017-09-10-Raspbian-SatNOGS-master-lite.zip: OK

Flashing

Follow the usual Raspbian flashing instructions, and boot your Raspberry Pi.

Networking

If you are using wired ethernet you should get connectivity right away. If you are using wireless then see this doc for network configuration instructions.

Setup

SSH to the Raspberry Pi with user "pi" and password "raspberry" (no quotes). Run "sudo satnogs-setup" to set basic configuration. When it's done, the Raspberry Pi will reconfigure itself; this may take some time.

  • Note: you can always reconfigure the software by running "sudo satnogs-setup -n" again.