<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.satnogs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Captain+morgan</id>
	<title>SatNOGS Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.satnogs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Captain+morgan"/>
	<link rel="alternate" type="text/html" href="https://wiki.satnogs.org/Special:Contributions/Captain_morgan"/>
	<updated>2026-04-07T16:38:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.satnogs.org/index.php?title=Raspberry_Pi&amp;diff=1947</id>
		<title>Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.satnogs.org/index.php?title=Raspberry_Pi&amp;diff=1947"/>
		<updated>2018-01-26T00:15:52Z</updated>

		<summary type="html">&lt;p&gt;Captain morgan: satnogs-client is after SATNOGS_STATION_LON, not SATNOGS_STATION_LONG&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Message|This page assumes you have an account and a ground station registered on either network.satnogs.org or network-dev.satnogs.org. Make note of your station ID and API Key.}}&lt;br /&gt;
&lt;br /&gt;
= Intro =&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 3 is the reference platform for SatNOGS. You can try using various distributions for this (eg. Arch, Fedora), but the one we suggest is our custom image based on latest Raspbian.&lt;br /&gt;
&lt;br /&gt;
= Raspbian =&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
&lt;br /&gt;
You can download the latest Raspbian SatNOGS image following the links from the [https://gitlab.com/librespacefoundation/satnogs/satnogs-pi-gen/tags latest tag on GitLab].&lt;br /&gt;
&lt;br /&gt;
=== Artifacts list ===&lt;br /&gt;
&lt;br /&gt;
The current artifacts list consists of:&lt;br /&gt;
* A Zipped image file&lt;br /&gt;
* An Image info file&lt;br /&gt;
* A SHA256 checksums file&lt;br /&gt;
&lt;br /&gt;
== Data integrity verification ==&lt;br /&gt;
&lt;br /&gt;
You should verify the data integrity of the artifacts by checking the SHA256 checksums. On Linux, run &amp;lt;code&amp;gt;sha256sum -c sha256sums&amp;lt;/code&amp;gt; in the directory where the artifacts are downloaded&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sha256sum -c sha256sums &lt;br /&gt;
2017-09-29-Raspbian-SatNOGS-master-lite.info: OK&lt;br /&gt;
image_2017-09-29-Raspbian-SatNOGS-master-lite.zip: OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Flashing ==&lt;br /&gt;
[https://www.raspberrypi.org/documentation/installation/installing-images/README.md Follow the usual Raspbian flashing instructions], and boot your Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== Networking ==&lt;br /&gt;
&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
== Initial Setup ==&lt;br /&gt;
Once your Raspberry Pi is booted, log in with username &amp;quot;pi&amp;quot; password &amp;quot;raspberry&amp;quot; and run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo raspi-config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will want to be sure to do the following:&lt;br /&gt;
&lt;br /&gt;
* Set a strong, unique password&lt;br /&gt;
* Change localization settings:&lt;br /&gt;
** by default the rpi locale is configured for EN-GB, change as appropriate (ie: to EN_US.UTF-8)&lt;br /&gt;
** set timezone (we recommend UTC so your logs match the times in Network)&lt;br /&gt;
** set keyboard layout, again this is defaulting to a UK layout&lt;br /&gt;
** set wifi country&lt;br /&gt;
** expand filesysten&lt;br /&gt;
* Finish and reboot&lt;br /&gt;
&lt;br /&gt;
Next, run &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get -y upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
SSH to the Raspberry Pi with user &amp;quot;pi&amp;quot; and password &amp;quot;raspberry&amp;quot; (no quotes).&lt;br /&gt;
&lt;br /&gt;
# Run &amp;quot;sudo satnogs-setup&amp;quot;&lt;br /&gt;
# Select &amp;quot;Update&amp;quot; to update the configuration tool&lt;br /&gt;
# Set basic configuration&lt;br /&gt;
# Select &amp;quot;Apply&amp;quot; and the Raspberry Pi will configure itself; this may take some time&lt;br /&gt;
# Select &amp;quot;Back&amp;quot; to exit&lt;br /&gt;
&lt;br /&gt;
* Note: you can always reconfigure the software by running &amp;quot;sudo satnogs-setup&amp;quot; again.&lt;br /&gt;
&lt;br /&gt;
=== Basic setup ===&lt;br /&gt;
&lt;br /&gt;
* '''SATNOGS_API_TOKEN''':  The API token assigned to your ground station on the SatNOGS Network website.&lt;br /&gt;
&lt;br /&gt;
* '''SATNOGS_NETWORK_API_URL''':  The API for the SatNOGS network site.  If you're working on the stage environment, this is &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://network-dev.satnogs.org/api/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;; if you're working on the prod environment, this is &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://network.satnogs.org/api/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* '''SATNOGS_RX_DEVICE''':  If you are using an RTL-SDR, this is &amp;lt;code&amp;gt;rtlsdr&amp;lt;/code&amp;gt;.  Other devices supported by gr-satnogs include &amp;lt;code&amp;gt;usrpb200&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;usrp2&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;airspy&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;hackrf&amp;lt;/code&amp;gt;; a complete list can be found [https://gitlab.com/librespacefoundation/satnogs/gr-satnogs/blob/master/apps/flowgraphs/satellites/README.md here].&lt;br /&gt;
&lt;br /&gt;
* '''SATNOGS_STATION_ELEV''':  The elevation of your ground station in metres.&lt;br /&gt;
&lt;br /&gt;
* '''SATNOGS_STATION_ID''':  The ID assigned to your station in the SatNOGS network site (either stage or prod).&lt;br /&gt;
&lt;br /&gt;
* '''SATNOGS_STATION_LAT''': The latitude of your station.  North is positive, south is negative.&lt;br /&gt;
&lt;br /&gt;
* '''SATNOGS_STATION_LON''': The longitude of your station.  East is positive, west is negative.&lt;br /&gt;
&lt;br /&gt;
* '''HAMLIB_UTILS_ROT_ENABLED''':  Whether or not to enable the Hamlibs rotator daemon.  Rotctld is a software daemon that provides a network server to control a rotator on a serial port.  If you don't have a rotator (like the [https://wiki.satnogs.org/No_rotator No rotator setup]), enter &amp;lt;code&amp;gt;False&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* '''HAMLIB_UTILS_ROT_OPTS''':  Options for rotcld. For a yaesu rotator, use &amp;lt;code&amp;gt;-m 601 -r /dev/ttyACM0 -s 9600 -T 0.0.0.0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Advanced Setup ===&lt;br /&gt;
&lt;br /&gt;
* '''SATNOGS_CLIENT_URL''': If you to try a development version of satnogs-client, you can change the URL here.  The URL needs to be in [https://pip.pypa.io/en/stable/reference/pip_install PIP format].  Here are some examples:&lt;br /&gt;
** git+https://gitlab.com/librespacefoundation/satnogs/satnogs-client.git@0 -- the '0' branch (the current development version) of satnogs-client&lt;br /&gt;
** git+https://gitlab.com/jdoe/satnogs-client.git@new-feature -- the 'new-feature' branch of jdoe's fork of satnogs-client&lt;br /&gt;
* '''SATNOGS_RADIO_GR_SATNOGS_PACKAGE''': This options allows you to change the installed package of gr-satnogs. For example, to install nightly development builds use:&lt;br /&gt;
** https://gitlab.com/librespacefoundation/satnogs/gr-satnogs-package/-/jobs/artifacts/master/raw/build/debian/output/armhf/gr-satnogs_armhf.deb?job=nightly&lt;br /&gt;
* '''RF_GAIN''': RF Gain value for your SDR hardware. Defaults can be found [https://gitlab.com/librespacefoundation/satnogs/gr-satnogs/blob/master/python/hw_settings.py here].&lt;br /&gt;
** For rtl-sdr possible values are the following: 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6&lt;br /&gt;
&lt;br /&gt;
{{Message|Changing these settings is ''not'' recommended unless you're developing SatNOGS.}}&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
&lt;br /&gt;
To update SatNOGS software, re-run &amp;lt;code&amp;gt;sudo satnogs-setup&amp;lt;/code&amp;gt;. Select &amp;quot;Update&amp;quot; to pull the latest Ansible playbook and then &amp;quot;Apply&amp;quot; to apply any updates.&lt;br /&gt;
&lt;br /&gt;
Raspbian packages can be updated using the normal APT updating methods (e.g. &amp;lt;code&amp;gt;apt-get upgrade&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;aptitude&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
WARNING: An update can potentially interrupt a running observation!&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
To see if satnogs-client has started successfully, check the logs with journalctl:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
journalctl -u satnogs-client.service&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see entries running approximately once per minute that look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Oct 01 23:02:13 raspberrypi satnogs-client[6695]:  * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)&lt;br /&gt;
Oct 01 23:02:14 raspberrypi satnogs-client[6695]: 2017-10-01 23:02:14,466 - satnogsclient - INFO - [LD] Downlink thread waiting for first downlink packet&lt;br /&gt;
Oct 01 23:03:14 raspberrypi satnogs-client[6695]: 2017-10-01 23:03:14,450 - apscheduler.executors.default - INFO - Running job &amp;quot;get_jobs (trigger: interval[0:01:00], next run at: 2017-10-01 23:03:14 UTC)&amp;quot; (scheduled at 2017-10-01 23:03:14.423393+00:00)&lt;br /&gt;
Oct 01 23:03:47 raspberrypi satnogs-client[6695]: 2017-10-01 23:03:47,324 - satnogsclient - DEBUG - Opening TCP socket: 127.0.0.1:5011&lt;br /&gt;
Oct 01 23:03:47 raspberrypi satnogs-client[6695]: 2017-10-01 23:03:47,325 - satnogsclient - DEBUG - Sending message: []&lt;br /&gt;
Oct 01 23:03:47 raspberrypi satnogs-client[6695]: 2017-10-01 23:03:47,327 - apscheduler.executors.default - INFO - Job &amp;quot;get_jobs (trigger: interval[0:01:00], next run at: 2017-10-01 23:04:14 UTC)&amp;quot; executed successfully&lt;br /&gt;
Oct 01 23:04:14 raspberrypi satnogs-client[6695]: 2017-10-01 23:04:14,453 - apscheduler.executors.default - INFO - Running job &amp;quot;get_jobs (trigger: interval[0:01:00], next run at: 2017-10-01 23:04:14 UTC)&amp;quot; (scheduled at 2017-10-01 23:04:14.423393+00:00)&lt;br /&gt;
Oct 01 23:04:14 raspberrypi satnogs-client[6695]: 2017-10-01 23:04:14,484 - apscheduler.executors.default - INFO - Running job &amp;quot;post_data (trigger: interval[0:02:00], next run at: 2017-10-01 23:04:14 UTC)&amp;quot; (scheduled at 2017-10-01 23:04:14.436367+00:00)&lt;br /&gt;
Oct 01 23:04:14 raspberrypi satnogs-client[6695]: 2017-10-01 23:04:14,489 - apscheduler.executors.default - INFO - Job &amp;quot;post_data (trigger: interval[0:02:00], next run at: 2017-10-01 23:04:14 UTC)&amp;quot; executed successfully&lt;br /&gt;
Oct 01 23:04:15 raspberrypi satnogs-client[6695]: 2017-10-01 23:04:15,627 - satnogsclient - DEBUG - Opening TCP socket: 127.0.0.1:5011&lt;br /&gt;
Oct 01 23:04:15 raspberrypi satnogs-client[6695]: 2017-10-01 23:04:15,628 - satnogsclient - DEBUG - Sending message: []&lt;br /&gt;
Oct 01 23:04:15 raspberrypi satnogs-client[6695]: 2017-10-01 23:04:15,629 - apscheduler.executors.default - INFO - Job &amp;quot;get_jobs (trigger: interval[0:01:00], next run at: 2017-10-01 23:05:14 UTC)&amp;quot; executed successfully&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also try visiting satnog-client's web interface. In your browser, go to '''&amp;lt;nowiki&amp;gt;http://(ip address of your raspberry pi):5000&amp;lt;/nowiki&amp;gt;'''.  You should see something like this:&lt;br /&gt;
&lt;br /&gt;
[[File:SatNOGS_client_screenshot.png|400px|thumb|center|SatNOGS client web page]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you see that, great -- you're ready to [[Operation|schedule your first observation]]! If not, check out the [[Troubleshooting]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Fedora = &lt;br /&gt;
&lt;br /&gt;
Instructions for installing on Fedora can be found [[Fedora_Installation|here]].&lt;/div&gt;</summary>
		<author><name>Captain morgan</name></author>
		
	</entry>
</feed>