<?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=Jacquin01</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=Jacquin01"/>
	<link rel="alternate" type="text/html" href="https://wiki.satnogs.org/Special:Contributions/Jacquin01"/>
	<updated>2026-04-21T09:42:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.satnogs.org/index.php?title=SatNOGS_Setup_Legacy&amp;diff=3740</id>
		<title>SatNOGS Setup Legacy</title>
		<link rel="alternate" type="text/html" href="https://wiki.satnogs.org/index.php?title=SatNOGS_Setup_Legacy&amp;diff=3740"/>
		<updated>2021-04-12T18:56:55Z</updated>

		<summary type="html">&lt;p&gt;Jacquin01: /* Initial Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&amp;lt;code&amp;gt;satnogs-setup&amp;lt;/code&amp;gt; provides a set of scripts for configuring a '''SatNOGS Client''' system. &amp;lt;code&amp;gt;satnogs-setup&amp;lt;/code&amp;gt; main function is to bring up a menu-driven console configuration utility and provision the system using [[SatNOGS Client Ansible|Ansible]].&lt;br /&gt;
&lt;br /&gt;
==Initial Setup==&lt;br /&gt;
Before starting &amp;lt;code&amp;gt;satnogs-setup&amp;lt;/code&amp;gt;, ensure the Raspberry Pi is up to date. This can be done with &amp;lt;code&amp;gt;sudo apt update&amp;lt;/code&amp;gt; and then &amp;lt;code&amp;gt;sudo apt upgrade&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
(See: [[Troubleshooting#apt-get update: connection failed]] ).&lt;br /&gt;
&lt;br /&gt;
After the first boot of the system, packages and the configuration tool itself '''must be updated'''. Follow the [[SatNOGS Client Setup#Updating SatNOGS Client Software|Updating]] instruction found below.&lt;br /&gt;
&lt;br /&gt;
To configure a '''SatNOGS Client''' system:&lt;br /&gt;
&lt;br /&gt;
#SSH into the system and run &amp;lt;code&amp;gt;sudo satnogs-setup&amp;lt;/code&amp;gt;; this will bring up the configuration menu&lt;br /&gt;
#Set '''all''' options in '''Basic Configuration''' (see below)&lt;br /&gt;
#Select &amp;lt;code&amp;gt;Apply&amp;lt;/code&amp;gt; and the Raspberry Pi will configure itself; this may take some time&lt;br /&gt;
#Select &amp;lt;code&amp;gt;Back&amp;lt;/code&amp;gt; to exit&lt;br /&gt;
{{Message|You can always reconfigure the software by running &amp;lt;code&amp;gt;sudo satnogs-setup&amp;lt;/code&amp;gt; again.}}&lt;br /&gt;
===Basic Configuration===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Setting&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_API_TOKEN&amp;lt;/code&amp;gt;&lt;br /&gt;
|The API token assigned to your ground station on the SatNOGS Network website, please don’t share your api key as this can give access to anyone to upload and change things in network related to your station and its observations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To find your API token, log in to [https://network.satnogs.org network.satnogs.org], click on the user icon at the top right corner and then click on the &amp;quot;Dashboard&amp;quot; option. On the top of the dashboard page right under the user icon click the button &amp;quot;API key&amp;quot; to show your API token.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_SOAPY_RX_DEVICE&amp;lt;/code&amp;gt;&lt;br /&gt;
|If you are using an RTL-SDR, this is &amp;lt;code&amp;gt;driver=rtlsdr&amp;lt;/code&amp;gt;. For other devices tested configurations can be found at [[Software_Defined_Radio]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See [https://github.com/pothosware/SoapyRTLSDR/wiki#modules pothosware/SoapyRTLSDR/wiki#modules] for other SDR modules (linked in the navigation bar at the right side of the page). If multiple devices are attached to your station you should also specify the serial of the desired device here, e.g. &amp;lt;code&amp;gt;driver=uhd,serial=3164495&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_ANTENNA&amp;lt;/code&amp;gt;&lt;br /&gt;
|If you are using an RTL-SDR, this is &amp;lt;code&amp;gt;RX&amp;lt;/code&amp;gt;. For other devices tested configurations can be found at [[Software_Defined_Radio]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If your device is not listed there yet, use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;SoapySDRUtil --probe 2&amp;gt;&amp;amp;1| grep Antennas&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to get available antennas.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_RX_SAMP_RATE&amp;lt;/code&amp;gt;&lt;br /&gt;
|Specify the receiver sampling rate. Recommended value for RTL-SDR: &amp;lt;code&amp;gt;2.048e6&amp;lt;/code&amp;gt; (for 2Msps), other devices will need different sample rates described at [[Software_Defined_Radio]] .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;SoapySDRUtil --probe 2&amp;gt;&amp;amp;1 | grep Sample&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; can be used to find all valid sample rates.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_RF_GAIN&amp;lt;/code&amp;gt;&lt;br /&gt;
|RF Gain value for your SDR hardware.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;SoapySDRUtil --probe&amp;lt;/code&amp;gt; to see all possible gain values for your hardware.&lt;br /&gt;
Example: For RTL-SDR without pre-amp, 32.8 is a good starting value. Follow [[Omnidirectional Station How To#Setting the gain|Setting the gain]] to find a good gain value.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_STATION_ELEV&amp;lt;/code&amp;gt;&lt;br /&gt;
|The height of your ground station above sea level in metres.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_STATION_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
|The '''numeric ID''' assigned to your station in the SatNOGS Network site when the groundstation was created.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_STATION_LAT&amp;lt;/code&amp;gt;&lt;br /&gt;
|The latitude of your station.  North is positive, south is negative.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_STATION_LON&amp;lt;/code&amp;gt;&lt;br /&gt;
|The longitude of your station.  East is positive, west is negative.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Advanced Setup==&lt;br /&gt;
{{Warning|Changes to the following settings may be required to optimise station performance, or enable support for additional features (e.g. rotator control)}}A more detailed description on setting up a development environment using the SatNOGS reference setup is given in [[SatNOGS_Client_Development]].&lt;br /&gt;
&lt;br /&gt;
NOTE: To get your station online, you need to set SATNOGS_NETWORK_API_URL to https://network.satnogs.org/api/&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Setting&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_PPM_ERROR&amp;lt;/code&amp;gt;&lt;br /&gt;
|The local oscillator frequency deviation in ppm.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_RX_BANDWIDTH&amp;lt;/code&amp;gt;&lt;br /&gt;
|Soapy baseband filter bandwidth [https://github.com/pothosware/SoapySDR/blob/a489f3dca9d3ccd9b276b95a608ac3ef0299f635/include/SoapySDR/Device.hpp#L904-L910] of RX Channel 0 in Hz (only available on specific devices). TODO: Testing.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_DEV_ARGS&amp;lt;/code&amp;gt;&lt;br /&gt;
|Soapy device arguments (currently only accepting the &amp;lt;code&amp;gt;serial&amp;lt;/code&amp;gt; key successfully) and stream arguments.&lt;br /&gt;
NOTE: This parameter / its meaning might change in the near future, see issue [https://gitlab.com/librespacefoundation/satnogs/satnogs-client/-/issues/373 satnogs-client#373].&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_GAIN_MODE&amp;lt;/code&amp;gt;&lt;br /&gt;
|Choose the gain mode:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;quot;Overall&amp;quot;&amp;lt;/code&amp;gt; (default): Set the gain with the single value from &amp;lt;code&amp;gt;SATNOGS_RF_GAIN&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;quot;Settings Field&amp;quot;&amp;lt;/code&amp;gt;: Ignore &amp;lt;code&amp;gt;SATNOGS_RF_GAIN&amp;lt;/code&amp;gt;, use the settings from &amp;lt;code&amp;gt;SATNOGS_OTHER_SETTINGS&amp;lt;/code&amp;gt; instead&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_STREAM_ARGS&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_TUNE_ARGS&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_OTHER_SETTINGS&amp;lt;/code&amp;gt;&lt;br /&gt;
|Only available if &amp;lt;code&amp;gt;SATNOGS_GAIN_MODE&amp;lt;/code&amp;gt;is&amp;lt;code&amp;gt;&amp;quot;Settings Field&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
Available gain settings can be retrieved using &amp;lt;code&amp;gt;SoapySDRUtil --probe=&amp;quot;driver=xxxx`&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example for Airspy: Use&amp;lt;code&amp;gt;&amp;quot;LNA=12,MIX=8,VGA=11&amp;quot;&amp;lt;/code&amp;gt;See also: [[SDR#Airspy|Airspy support]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_DC_REMOVAL&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_BB_FREQ&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_LO_OFFSET&amp;lt;/code&amp;gt;&lt;br /&gt;
|Don't use this parameter to correct for the local oscillator frequency deviation, use &amp;lt;code&amp;gt;SATNOGS_PPM_ERROR&amp;lt;/code&amp;gt; instead!&lt;br /&gt;
To avoid the SDR carrier at the DC the LO is shifted from the actual frequency a little. Default: &amp;lt;code&amp;gt;100e3&amp;lt;/code&amp;gt; (100 kHz)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_ROT_MODEL&amp;lt;/code&amp;gt;&lt;br /&gt;
|Hamlib rotator model. If you don't have a rotator (like the [[No rotator|No rotator setup]]), leave it empty.&lt;br /&gt;
Use the macro name for your rotator model from this [https://gist.github.com/kerel-fs/2354ff9c082cd3c1594afc38c67bc32a#hamlib-release-33 list of rotator models in Hamlib]. If you are connecting to a separate rotctld instance, use &amp;lt;code&amp;gt;ROT_MODEL_NETROTCTL&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_ROT_BAUD&amp;lt;/code&amp;gt;&lt;br /&gt;
|Baud rate for Hamlib rotator serial port, if using a serial-connected rotator.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_ROT_PORT&amp;lt;/code&amp;gt;&lt;br /&gt;
|Serial port for Hamlib rotator, OR the network address of a rotctld instance (e.g. &amp;lt;code&amp;gt;localhost:4533&amp;lt;/code&amp;gt; )&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_ROT_THRESHOLD&amp;lt;/code&amp;gt;&lt;br /&gt;
|Rotator movement threshold, in degrees. If set, the rotator will only be commanded when the target has moved more than &amp;lt;threshold&amp;gt; degrees away from the current azimuth/elevation position. Default: 4 degrees&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;HAMLIB_UTILS_ROT_ENABLED&amp;lt;/code&amp;gt;&lt;br /&gt;
|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.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;HAMLIB_UTILS_ROT_OPTS&amp;lt;/code&amp;gt;&lt;br /&gt;
|Options for rotcld:&lt;br /&gt;
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;
For a SatNOGS rotator &amp;lt;code&amp;gt;-m 204 -s 19200 -r /dev/ttyACM0 -C timeout=200&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-m 204 -s 19200 -r /dev/ttyUSB0 -C timeout=200&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_PRE_OBSERVATION_SCRIPT&amp;lt;/code&amp;gt;&amp;lt;code&amp;gt;SATNOGS_POST_OBSERVATION_SCRIPT&amp;lt;/code&amp;gt;&lt;br /&gt;
|Allows execution of a shell script either pre or post-observation. The following can be entered into the script path to enable passing of information to the script:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FREQ}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - Observation Centre Frequency&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{TLE}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - Target object TLE data, as a JSON-formatted object.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{TIMESTAMP}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - Start time of the observation, in the format: %Y-%m-%dT%H-%M-%S%z&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ID}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - Observation ID number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{BAUD}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - Baud rate of the modulation used, if applicable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SCRIPT_NAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - The name of the demodulation flow-graph script in use.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;EXPERIMENTAL&amp;lt;/code&amp;gt;&lt;br /&gt;
|Install latest (experimental) versions of all software&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;APT_REPOSITORY&amp;lt;/code&amp;gt;&lt;br /&gt;
|This options allows you to change the SatNOGS packages repository. For example, to install unstable package builds use:&lt;br /&gt;
&amp;lt;code&amp;gt;deb &amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10&amp;lt;/nowiki&amp;gt; ./&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;APT_KEY_URL&amp;lt;/code&amp;gt;&lt;br /&gt;
|This options allows you to change the SatNOGS packages repository key URL. For example, to install unstable package builds use:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10/Release.key&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;APT_KEY_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
|This options allows you to specify an alternative SatNOGS packages repository key ID.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_CLIENT_URL&amp;lt;/code&amp;gt;&lt;br /&gt;
|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;
&lt;br /&gt;
*&amp;lt;code&amp;gt;git+&amp;lt;nowiki&amp;gt;https://gitlab.com/librespacefoundation/satnogs/satnogs-client.git@master&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; -- the 'master' branch (the current development version) of satnogs-client&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;git+https://gitlab.com/jdoe/satnogs-client.git@new-feature&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; -- the 'new-feature' branch of jdoe's fork of satnogs-client&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_RADIO_FLOWGRAPHS_VERSION&amp;lt;/code&amp;gt;&lt;br /&gt;
|This options allows you to change the version of satnogs-flowgraphs package to be installed. For example:&lt;br /&gt;
&amp;lt;code&amp;gt;0.1-1&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;LOG_LEVEL&amp;lt;/code&amp;gt;&lt;br /&gt;
|Define SatNOGS client log level, available values: &amp;lt;code&amp;gt;ERROR&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;WARNING&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;INFO&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Obsolete Setup Variables==&lt;br /&gt;
The following options were available in previous versions of the SatNOGS client system and have no effect on the latest stable version.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Setting&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_RX_DEVICE&amp;lt;/code&amp;gt;&lt;br /&gt;
|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/airspymini&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;lime&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;hackrf&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_PPM_ERROR&amp;lt;/code&amp;gt; (available again)&lt;br /&gt;
|gr-satnogs: The PPM correction [https://gitlab.com/librespacefoundation/satnogs/gr-satnogs/-/blob/v1.5.1/apps/flowgraphs/README.md#execution-arguements-interface]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_DEV_ARGS&amp;lt;/code&amp;gt; (available again)&lt;br /&gt;
|gr-satnogs: SDR device specific arguments [https://gitlab.com/librespacefoundation/satnogs/gr-satnogs/-/blob/v1.5.1/apps/flowgraphs/README.md#execution-arguements-interface]&lt;br /&gt;
Note: This variable was re-purposed to set soapy device and stream arguments, so it's not obsolete anymore.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_IF_GAIN&amp;lt;/code&amp;gt;&lt;br /&gt;
|gr-satnogs: Intermediate frequency gain [https://gitlab.com/librespacefoundation/satnogs/gr-satnogs/-/blob/v1.5.1/apps/flowgraphs/README.md#execution-arguements-interface]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_BB_GAIN&amp;lt;/code&amp;gt;&lt;br /&gt;
|gr-satnogs: Baseband gain [https://gitlab.com/librespacefoundation/satnogs/gr-satnogs/-/blob/v1.5.1/apps/flowgraphs/README.md#execution-arguements-interface]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;SATNOGS_RADIO_GR_SATNOGS_VERSION&amp;lt;/code&amp;gt;&lt;br /&gt;
|This options allows you to change the version of gr-satnogs package to be installed. For example: &amp;lt;code&amp;gt;1.5.1-1&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Updating SatNOGS Client Software==&lt;br /&gt;
{{Warning| An update can potentially interrupt a running observation!}}&lt;br /&gt;
To update SatNOGS software, including the configuration tool itself:&lt;br /&gt;
&lt;br /&gt;
#SSH into the system and (re-)run &amp;lt;code&amp;gt;sudo satnogs-setup&amp;lt;/code&amp;gt;; this will bring up the configuration menu&lt;br /&gt;
#Select &amp;lt;code&amp;gt;Update&amp;lt;/code&amp;gt; to update the configuration tool and all distribution packages to the latest&lt;br /&gt;
#If you are prompted for a reboot during the upgrade, once the upgrade is finished, select &amp;lt;code&amp;gt;Reboot&amp;lt;/code&amp;gt;, SSH back into the system and re-run &amp;lt;code&amp;gt;satnogs-setup&amp;lt;/code&amp;gt; to continue to the next step&lt;br /&gt;
#Select &amp;lt;code&amp;gt;Apply&amp;lt;/code&amp;gt; and the Raspberry Pi will update itself; this may take some time&lt;br /&gt;
#Before exit, check at the top that you have the latest satnogs-client and gr-satnogs versions&lt;br /&gt;
#Select &amp;lt;code&amp;gt;Back&amp;lt;/code&amp;gt; to exit&lt;br /&gt;
&lt;br /&gt;
{{Message|You can check your current version of client (and other client software) at the top of window after running &amp;lt;code&amp;gt;sudo satnogs-setup&amp;lt;/code&amp;gt;; alternatively you can generate the support report by going at &amp;lt;code&amp;gt;Advanced -&amp;gt; Support&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
{{Message|Client version on SatNOGS Network is updated after the first observation with the new client.}}&lt;br /&gt;
===Upgrading from Debian 'stretch' to 'buster'===&lt;br /&gt;
Debian &amp;lt;code&amp;gt;stretch&amp;lt;/code&amp;gt; is no longer supported. If you have already installed an older version of Debian or Raspbian SatNOGS image based on &amp;lt;code&amp;gt;stretch&amp;lt;/code&amp;gt; (releases &amp;lt;= [https://gitlab.com/librespacefoundation/satnogs/satnogs-pi-gen/-/tags/2018080300 2018080300]), you must upgrade to &amp;lt;code&amp;gt;buster&amp;lt;/code&amp;gt; otherwise it will be impossible to receive updates or upgrades in the future.&lt;br /&gt;
====Method 1: Reflashing and reinstalling (recommended)====&lt;br /&gt;
The recommended method to upgrade to &amp;lt;code&amp;gt;buster&amp;lt;/code&amp;gt; is reflashing the latest Raspbian SatNOGS image (or reinstalling latest Debian). Follow [[Raspberry Pi|Raspberry Pi]] installation instructions and reinstall from scratch.&lt;br /&gt;
====Method 2: Release upgrade using satnogs-upgrade (advanced)====&lt;br /&gt;
{{Warning|Make sure you have a stable connection to the internet and your SatNOGS client during this process. Release upgrades can consume a lot of time, data and storage.}}To upgrade from stretch to buster using the configuration tool:&lt;br /&gt;
&lt;br /&gt;
#SSH into the system&lt;br /&gt;
#Make sure you have enough free space on your SD card (&amp;gt;2GiB) by running &amp;lt;code&amp;gt;df -h /&amp;lt;/code&amp;gt; on the console&lt;br /&gt;
#Run &amp;lt;code&amp;gt;sudo satnogs-setup&amp;lt;/code&amp;gt; and select &amp;lt;code&amp;gt;Update&amp;lt;/code&amp;gt; to update the tool itself and then select &amp;lt;code&amp;gt;Apply&amp;lt;/code&amp;gt;. This may inform you that the current distribution is not supported and exit. If not, select &amp;lt;code&amp;gt;Exit&amp;lt;/code&amp;gt; to exit the tool.&lt;br /&gt;
#Run &amp;lt;code&amp;gt;sudo satnogs-upgrade&amp;lt;/code&amp;gt; to update all distribution packages to the latest; this will also prompt you for a distribution upgrade, if it detects that one is needed&lt;br /&gt;
#Keep an eye on the upgrade progress; &amp;lt;code&amp;gt;dpkg&amp;lt;/code&amp;gt; may prompt for changes&lt;br /&gt;
#Once the upgrade is completed run &amp;lt;code&amp;gt;sudo sync; sudo reboot&amp;lt;/code&amp;gt;&lt;br /&gt;
#After the reboot, SSH back into the system and make sure you are on the correct release by running &amp;lt;code&amp;gt;lsb_release -a&amp;lt;/code&amp;gt;&lt;br /&gt;
#Run &amp;lt;code&amp;gt;sudo rm -f /root/.satnogs/.bootstrapped; sudo satnogs-setup&amp;lt;/code&amp;gt; and select &amp;lt;code&amp;gt;Update&amp;lt;/code&amp;gt; and then &amp;lt;code&amp;gt;Apply&amp;lt;/code&amp;gt;; this may take some time&lt;br /&gt;
#Before exit, check at the top that you have the latest satnogs-client and gr-satnogs versions&lt;br /&gt;
#Select &amp;lt;code&amp;gt;Back&amp;lt;/code&amp;gt; to exit&lt;br /&gt;
&lt;br /&gt;
==Verification of correct installation==&lt;br /&gt;
To see if satnogs-client has started successfully, check the logs with &amp;lt;code&amp;gt;systemctl&amp;lt;/code&amp;gt;:&amp;lt;pre&amp;gt;&lt;br /&gt;
$ systemctl status satnogs-client&lt;br /&gt;
&amp;lt;/pre&amp;gt;You should see an output that looks like this:&amp;lt;pre&amp;gt;&lt;br /&gt;
● satnogs-client.service - SatNOGS client&lt;br /&gt;
   Loaded: loaded (/etc/systemd/system/satnogs-client.service; enabled; vendor preset: enabled)&lt;br /&gt;
   Active: active (running) since Wed 2020-03-04 19:30:56 GMT; 6min ago&lt;br /&gt;
 Main PID: 6309 (satnogs-client)&lt;br /&gt;
    Tasks: 11 (limit: 2200)&lt;br /&gt;
   Memory: 37.9M&lt;br /&gt;
   CGroup: /system.slice/satnogs-client.service&lt;br /&gt;
           └─6309 /var/lib/satnogs/bin/python3 /var/lib/satnogs/bin/satnogs-client&lt;br /&gt;
&lt;br /&gt;
Mar 04 19:30:56 raspberrypi systemd[1]: Started SatNOGS client.&lt;br /&gt;
&amp;lt;/pre&amp;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;
==Backup &amp;amp; Restore the configuration==&lt;br /&gt;
The configuration of your SatNOGS station is stored at &amp;lt;code&amp;gt;/etc/ansible/host_vars/localhost&amp;lt;/code&amp;gt;. If your station software is broken (e.g. due to a corrupt SD card) or if you want to downgrade from the experimental software back to the stable releases, you can perform the following steps:&lt;br /&gt;
&lt;br /&gt;
#Backup the configuration file at &amp;lt;code&amp;gt;/etc/ansible/host_vars/localhost&amp;lt;/code&amp;gt;&lt;br /&gt;
#Re-flash the SD card with a fresh image&lt;br /&gt;
#Restore the configuration file&lt;br /&gt;
#Run &amp;lt;code&amp;gt;sudo satnogs-setup&amp;lt;/code&amp;gt; and select &amp;lt;code&amp;gt;Update&amp;lt;/code&amp;gt; to update the tool itself and then select &amp;lt;code&amp;gt;Apply&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[SatNOGS Client Ansible]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Build]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Jacquin01</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.satnogs.org/index.php?title=Troubleshooting_Legacy&amp;diff=3739</id>
		<title>Troubleshooting Legacy</title>
		<link rel="alternate" type="text/html" href="https://wiki.satnogs.org/index.php?title=Troubleshooting_Legacy&amp;diff=3739"/>
		<updated>2021-04-12T18:53:40Z</updated>

		<summary type="html">&lt;p&gt;Jacquin01: /* apt-get update: connection failed */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Client troubleshooting==&lt;br /&gt;
&lt;br /&gt;
===Raise or Set the debug level===&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;sudo satnogs-setup&amp;lt;/code&amp;gt;;&lt;br /&gt;
*Go to '''Advanced Configuration''' and  set the '''Debug level''' (see below)&lt;br /&gt;
*'''Apply''' the change&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!'''Setting'''&lt;br /&gt;
!Value&lt;br /&gt;
|-&lt;br /&gt;
|'''DEBUG'''&lt;br /&gt;
|&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&amp;lt;code&amp;gt;CRITICAL&amp;lt;/code&amp;gt;&lt;br /&gt;
|50&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;ERROR&amp;lt;/code&amp;gt;&lt;br /&gt;
|40&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;WARNING&amp;lt;/code&amp;gt;&lt;br /&gt;
|30&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;INFO&amp;lt;/code&amp;gt;&lt;br /&gt;
|20&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|10&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;NOTSET&amp;lt;/code&amp;gt;&lt;br /&gt;
|0&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
When done debugging, don't forget to reset the log level, or the files will fill up your disk space.&lt;br /&gt;
&lt;br /&gt;
===Client not showing up on the network?===&lt;br /&gt;
&lt;br /&gt;
*Check that you have ticked the &amp;quot;Is it operational?&amp;quot; checkbox on the groundstation page.&lt;br /&gt;
*Check your settings and ensure that the API token and station ID are correct.  You can get these from your profile page on the SatNOGS network site.  If you have accounts in both dev and prod, make sure you're using the token and station ID from the right environment.&lt;br /&gt;
*Check your SATNOGS_NETWORK_API_URL.  It should point to https://network.satnogs.org/api/ (prod) or https://network-dev.satnogs.org/api/ (dev).&lt;br /&gt;
*Check your network connectivity.  Can you ping network.satnogs.org or network-dev.satnogs.org?  Try running &amp;lt;code&amp;gt;curl https://network.satnogs.org&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;curl https://network-dev.satnogs.org&amp;lt;/code&amp;gt;.&lt;br /&gt;
*Check the logs for an error (&amp;lt;code&amp;gt;journalctl -f -u satnogs-client.service&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;less /var/log/supervisor/satnogs-error.log&amp;lt;/code&amp;gt;) and post to our forums at https://community.libre.space&lt;br /&gt;
&lt;br /&gt;
===RuntimeError: RTL-SDR device not found.===&lt;br /&gt;
Seems that the device is not there. Try rebooting and check if Soapy can identify it using &amp;lt;code&amp;gt;SoapySDRUtil --find&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===&amp;quot;satnogsclient - ERROR - Cannot connect to socket 127.0.0.1:4533&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
The client is trying to connect to rotctld but is unable to.&lt;br /&gt;
&lt;br /&gt;
*If you have a no-rotator setup, ensure that satnogs-client is configured as such; see the [[Raspberry Pi]] page for info on how to do this.&lt;br /&gt;
**These errors may continue to be reported until [https://gitlab.com/librespacefoundation/satnogs/satnogs-client/issues/340 issue #340] is resolved.&lt;br /&gt;
&lt;br /&gt;
*If you do have a rotator, ensure that rotctld is running.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Some uploads missing &amp;amp; Doppler-correction not working properly===&lt;br /&gt;
The station/client might have a clock offset. This causes a Doppler shift on the waterfall and some observations don't start because of a conflict between the time on the PC of the station and the time of the SatNOGS Network.&lt;br /&gt;
&lt;br /&gt;
===Uploads (waterfall or audio) are missing for a past observation===&lt;br /&gt;
When using &amp;lt;code&amp;gt;satnogs-setup&amp;lt;/code&amp;gt; for editing/updating the configuration of the station,  the satnogs-client gets restarted. When this happens during an observation the observation will be aborted and no waterfall/audio/data files will be uploaded. Such observations should be voted as ''failed''.&lt;br /&gt;
&lt;br /&gt;
The partial data from such observations is stored in &amp;lt;code&amp;gt;/tmp/.satnogs/data/&amp;lt;/code&amp;gt;, look for files like &amp;lt;code&amp;gt;receiving_{satnogs|waterfall}_123456_2019-01-01T12-23-42.{out|dat}&amp;lt;/code&amp;gt;. They can be manually removed.&lt;br /&gt;
&lt;br /&gt;
===Invalid Signature for download.opensuse.org===&lt;br /&gt;
Example error during satnogs-setup update or apt-get update:&lt;br /&gt;
   &amp;lt;code&amp;gt;The following signatures were invalid: EXPKEYSIG 8BD3901736A40B6C home:librespace OBS Project &amp;lt;home:[[Mailto:librespace@build.opensuse.org|librespace@build.opensuse.org]]&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Fix:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;wget -qO - &amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10/Release.key&amp;lt;/nowiki&amp;gt; | sudo apt-key --keyring /etc/apt/trusted.gpg add -&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More info available at https://community.libre.space/t/sudo-apt-update-signature-invalid/7643/7&lt;br /&gt;
&lt;br /&gt;
===apt-get update: connection failed===&lt;br /&gt;
When using the sudo apt-get update command, we get the following connection error:&lt;br /&gt;
[[File:UpdateFailed.png]]&lt;br /&gt;
&lt;br /&gt;
However, a ping to the Ip address works.&lt;br /&gt;
&lt;br /&gt;
If you use a firewall (Ex: stormshield SN210), it can include a default rule that blocks connection urls containing a dot-slash (&amp;quot;./&amp;quot;). (This rule can be named as follows: &amp;quot;path with self-reference&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
This rule must be modified to allow the raspberry to access the repository&lt;br /&gt;
&lt;br /&gt;
==Signal troubleshooting==&lt;br /&gt;
&lt;br /&gt;
===Blank or solid purple waterfall?===&lt;br /&gt;
{{Warning|Some information in this section seems outdated or wrong. Please take it with care.&lt;br /&gt;
Once reviewed this banner can be removed.}}&lt;br /&gt;
At the first sign of trouble, put your station into testing mode.&lt;br /&gt;
&lt;br /&gt;
*Make sure the RTLSDR gain is set correctly. Follow the guide at [[Omnidirectional_Station_How_To#Setting_the_gain]] to find a proper gain setting.&amp;lt;br /&amp;gt;Check your gain value is valid. Wrong values can result in blank waterfalls. For example '7.7.' will result in errors (and a blank waterfall - there is an extra '.' at the end).   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;journalctl -u satnogs-client.service&amp;lt;/code&amp;gt; It might be a big file, but work through it and look for errors.  &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;df -h&amp;lt;/code&amp;gt; Ensure there is sufficient hard drive space. If temp files can not be created, the waterfall might be blank. &amp;lt;br /&amp;gt;Run &amp;lt;code&amp;gt;rtl_test&amp;lt;/code&amp;gt; for about 30 seconds and make sure you can connect with the dongle and that there are no errors.&lt;br /&gt;
&lt;br /&gt;
===Not receiving anything?===&lt;br /&gt;
&lt;br /&gt;
*Make sure the satellite you are testing observations against is active and recently received by others on [https://network.satnogs.org our production network site].  If you click on a satellite name, a popup will appear and give you the option to click on &amp;quot;Past Observations&amp;quot;. If everything in the past shows red, then the problem is likely with that satellite.&lt;br /&gt;
&lt;br /&gt;
*SO-50 is a good satellite to use for testing as it is a strong FM voice signal assuming you have UHF capabilities. Schedule using &amp;quot;PE0SAT - Mode V/U FM Voice - 436.794 MHz&amp;quot;.  Here is an example to compare against: https://network.satnogs.org/observations/3334/&lt;br /&gt;
&lt;br /&gt;
*ISS is a good test for VHF as the APRS digipeater is alive again (as of this writing; check [https://www.issfanclub.com/ issfanclub.com] for up-to-date information). When you schedule it, be sure to select the APRS downlink.&lt;br /&gt;
&lt;br /&gt;
*If you're using an rtlsdr, check that it can be seen and is operating correctly by running rtl_test.  Let it run for 30 seconds or so, then hit Ctrl-c to kill it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi@raspberrypi:~ $ rtl_test &lt;br /&gt;
Found 1 device(s):&lt;br /&gt;
  0:  Realtek, RTL2838UHIDIR, SN: 00000001&lt;br /&gt;
&lt;br /&gt;
Using device 0: Generic RTL2832U OEM&lt;br /&gt;
Found Rafael Micro R820T tuner&lt;br /&gt;
Supported gain values (29): 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;
[R82XX] PLL not locked!&lt;br /&gt;
Sampling at 2048000 S/s.&lt;br /&gt;
&lt;br /&gt;
Info: This tool will continuously read from the device, and report if&lt;br /&gt;
samples get lost. If you observe no further output, everything is fine.&lt;br /&gt;
&lt;br /&gt;
Reading samples in async mode...&lt;br /&gt;
^CSignal caught, exiting!&lt;br /&gt;
&lt;br /&gt;
User cancel, exiting...&lt;br /&gt;
Samples per million lost (minimum): 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*You can also try a manual run of satnogs_afsk1200_ax25.py to make sure that works:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /tmp&lt;br /&gt;
$ satnogs_afsk1200_ax25.py --soapy-rx-device=&amp;quot;driver=rtlsdr&amp;quot; --antenna=RX --samp-rate-rx=2.048e6 --rx-freq=444000000 --file-path=./audio-out.ogg --waterfall-file-path=./waterfall.dat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let it run for a minute or so.  If everything is working, this should create an .ogg file and a .dat file of non-zero size (probably a few MB each).&lt;br /&gt;
&lt;br /&gt;
===Observations seem off-frequency?===&lt;br /&gt;
[[File:Waterfall_3519_2017-04-24T04-48-48_resized.png|frame|Check your location!]]&lt;br /&gt;
&lt;br /&gt;
*'''PPM drift''' While newer SDR devices are very good and stable, there still may be some PPM drift to compensate for if you notice that signals are consistently off center. The SATNOGS_PPM_ERROR setting in /etc/supervisord.d/satnogs.ini can be used to correct for this.&lt;br /&gt;
*'''Clock sync''' Make sure your clock is synced. Ensure ntp is configured and running (especially with the Raspberry Pi which lacks a real time clock)&lt;br /&gt;
*'''Wrong location''' If your signal seems to be on but drifts at the apex like in this image, check to make sure your Latitude, Longitude, and Elevation coordinates are set properly and in the right format.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===USB===&lt;br /&gt;
You can reset USB without having to reboot the system by running these commands:&lt;br /&gt;
&lt;br /&gt;
    echo “usb1” &amp;gt; /sys/bus/usb/drivers/usb/unbind&lt;br /&gt;
    echo “usb1” &amp;gt; /sys/bus/usb/drivers/usb/bind&lt;br /&gt;
&lt;br /&gt;
This can be placed in the satnogs_post_observation_script for automation.&lt;br /&gt;
&lt;br /&gt;
===RF Noise===&lt;br /&gt;
If you notice a noise in the waterfall every time motors are spinning, you will need to:&lt;br /&gt;
&lt;br /&gt;
*Twist each pair or the motor wire&lt;br /&gt;
*Add proper grounding&lt;br /&gt;
*Add capacitor to the DC input of drivers&lt;br /&gt;
*Wrap the motors wire with adhesive aluminum and then connect it to GND on driver side&lt;br /&gt;
*Add ferrites to motors wires&lt;br /&gt;
&lt;br /&gt;
[[File:Rf noise.png|alt=RF Noise|left|thumb|400x400px|Too much RF Noise]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Operate]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Jacquin01</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.satnogs.org/index.php?title=Troubleshooting_Legacy&amp;diff=3738</id>
		<title>Troubleshooting Legacy</title>
		<link rel="alternate" type="text/html" href="https://wiki.satnogs.org/index.php?title=Troubleshooting_Legacy&amp;diff=3738"/>
		<updated>2021-04-12T18:53:12Z</updated>

		<summary type="html">&lt;p&gt;Jacquin01: Explain how firewall can block apt-get update with ./ in the url&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Client troubleshooting==&lt;br /&gt;
&lt;br /&gt;
===Raise or Set the debug level===&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;sudo satnogs-setup&amp;lt;/code&amp;gt;;&lt;br /&gt;
*Go to '''Advanced Configuration''' and  set the '''Debug level''' (see below)&lt;br /&gt;
*'''Apply''' the change&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!'''Setting'''&lt;br /&gt;
!Value&lt;br /&gt;
|-&lt;br /&gt;
|'''DEBUG'''&lt;br /&gt;
|&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&amp;lt;code&amp;gt;CRITICAL&amp;lt;/code&amp;gt;&lt;br /&gt;
|50&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;ERROR&amp;lt;/code&amp;gt;&lt;br /&gt;
|40&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;WARNING&amp;lt;/code&amp;gt;&lt;br /&gt;
|30&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;INFO&amp;lt;/code&amp;gt;&lt;br /&gt;
|20&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;DEBUG&amp;lt;/code&amp;gt;&lt;br /&gt;
|10&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;NOTSET&amp;lt;/code&amp;gt;&lt;br /&gt;
|0&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
When done debugging, don't forget to reset the log level, or the files will fill up your disk space.&lt;br /&gt;
&lt;br /&gt;
===Client not showing up on the network?===&lt;br /&gt;
&lt;br /&gt;
*Check that you have ticked the &amp;quot;Is it operational?&amp;quot; checkbox on the groundstation page.&lt;br /&gt;
*Check your settings and ensure that the API token and station ID are correct.  You can get these from your profile page on the SatNOGS network site.  If you have accounts in both dev and prod, make sure you're using the token and station ID from the right environment.&lt;br /&gt;
*Check your SATNOGS_NETWORK_API_URL.  It should point to https://network.satnogs.org/api/ (prod) or https://network-dev.satnogs.org/api/ (dev).&lt;br /&gt;
*Check your network connectivity.  Can you ping network.satnogs.org or network-dev.satnogs.org?  Try running &amp;lt;code&amp;gt;curl https://network.satnogs.org&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;curl https://network-dev.satnogs.org&amp;lt;/code&amp;gt;.&lt;br /&gt;
*Check the logs for an error (&amp;lt;code&amp;gt;journalctl -f -u satnogs-client.service&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;less /var/log/supervisor/satnogs-error.log&amp;lt;/code&amp;gt;) and post to our forums at https://community.libre.space&lt;br /&gt;
&lt;br /&gt;
===RuntimeError: RTL-SDR device not found.===&lt;br /&gt;
Seems that the device is not there. Try rebooting and check if Soapy can identify it using &amp;lt;code&amp;gt;SoapySDRUtil --find&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===&amp;quot;satnogsclient - ERROR - Cannot connect to socket 127.0.0.1:4533&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
The client is trying to connect to rotctld but is unable to.&lt;br /&gt;
&lt;br /&gt;
*If you have a no-rotator setup, ensure that satnogs-client is configured as such; see the [[Raspberry Pi]] page for info on how to do this.&lt;br /&gt;
**These errors may continue to be reported until [https://gitlab.com/librespacefoundation/satnogs/satnogs-client/issues/340 issue #340] is resolved.&lt;br /&gt;
&lt;br /&gt;
*If you do have a rotator, ensure that rotctld is running.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Some uploads missing &amp;amp; Doppler-correction not working properly===&lt;br /&gt;
The station/client might have a clock offset. This causes a Doppler shift on the waterfall and some observations don't start because of a conflict between the time on the PC of the station and the time of the SatNOGS Network.&lt;br /&gt;
&lt;br /&gt;
===Uploads (waterfall or audio) are missing for a past observation===&lt;br /&gt;
When using &amp;lt;code&amp;gt;satnogs-setup&amp;lt;/code&amp;gt; for editing/updating the configuration of the station,  the satnogs-client gets restarted. When this happens during an observation the observation will be aborted and no waterfall/audio/data files will be uploaded. Such observations should be voted as ''failed''.&lt;br /&gt;
&lt;br /&gt;
The partial data from such observations is stored in &amp;lt;code&amp;gt;/tmp/.satnogs/data/&amp;lt;/code&amp;gt;, look for files like &amp;lt;code&amp;gt;receiving_{satnogs|waterfall}_123456_2019-01-01T12-23-42.{out|dat}&amp;lt;/code&amp;gt;. They can be manually removed.&lt;br /&gt;
&lt;br /&gt;
===Invalid Signature for download.opensuse.org===&lt;br /&gt;
Example error during satnogs-setup update or apt-get update:&lt;br /&gt;
   &amp;lt;code&amp;gt;The following signatures were invalid: EXPKEYSIG 8BD3901736A40B6C home:librespace OBS Project &amp;lt;home:[[Mailto:librespace@build.opensuse.org|librespace@build.opensuse.org]]&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Fix:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;wget -qO - &amp;lt;nowiki&amp;gt;http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10/Release.key&amp;lt;/nowiki&amp;gt; | sudo apt-key --keyring /etc/apt/trusted.gpg add -&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More info available at https://community.libre.space/t/sudo-apt-update-signature-invalid/7643/7&lt;br /&gt;
&lt;br /&gt;
=== apt-get update: connection failed ===&lt;br /&gt;
When using the sudo apt-get update command, we get the following connection error:&lt;br /&gt;
[[File:UpdateFailed.png]]&lt;br /&gt;
However, a ping to the Ip address works.&lt;br /&gt;
&lt;br /&gt;
If you use a firewall (Ex: stormshield SN210), it can include a default rule that blocks connection urls containing a dot-slash (&amp;quot;./&amp;quot;). (This rule can be named as follows: &amp;quot;path with self-reference&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
This rule must be modified to allow the raspberry to access the repository&lt;br /&gt;
&lt;br /&gt;
==Signal troubleshooting==&lt;br /&gt;
&lt;br /&gt;
===Blank or solid purple waterfall?===&lt;br /&gt;
{{Warning|Some information in this section seems outdated or wrong. Please take it with care.&lt;br /&gt;
Once reviewed this banner can be removed.}}&lt;br /&gt;
At the first sign of trouble, put your station into testing mode.&lt;br /&gt;
&lt;br /&gt;
*Make sure the RTLSDR gain is set correctly. Follow the guide at [[Omnidirectional_Station_How_To#Setting_the_gain]] to find a proper gain setting.&amp;lt;br /&amp;gt;Check your gain value is valid. Wrong values can result in blank waterfalls. For example '7.7.' will result in errors (and a blank waterfall - there is an extra '.' at the end).   &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;journalctl -u satnogs-client.service&amp;lt;/code&amp;gt; It might be a big file, but work through it and look for errors.  &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;df -h&amp;lt;/code&amp;gt; Ensure there is sufficient hard drive space. If temp files can not be created, the waterfall might be blank. &amp;lt;br /&amp;gt;Run &amp;lt;code&amp;gt;rtl_test&amp;lt;/code&amp;gt; for about 30 seconds and make sure you can connect with the dongle and that there are no errors.&lt;br /&gt;
&lt;br /&gt;
===Not receiving anything?===&lt;br /&gt;
&lt;br /&gt;
*Make sure the satellite you are testing observations against is active and recently received by others on [https://network.satnogs.org our production network site].  If you click on a satellite name, a popup will appear and give you the option to click on &amp;quot;Past Observations&amp;quot;. If everything in the past shows red, then the problem is likely with that satellite.&lt;br /&gt;
&lt;br /&gt;
*SO-50 is a good satellite to use for testing as it is a strong FM voice signal assuming you have UHF capabilities. Schedule using &amp;quot;PE0SAT - Mode V/U FM Voice - 436.794 MHz&amp;quot;.  Here is an example to compare against: https://network.satnogs.org/observations/3334/&lt;br /&gt;
&lt;br /&gt;
*ISS is a good test for VHF as the APRS digipeater is alive again (as of this writing; check [https://www.issfanclub.com/ issfanclub.com] for up-to-date information). When you schedule it, be sure to select the APRS downlink.&lt;br /&gt;
&lt;br /&gt;
*If you're using an rtlsdr, check that it can be seen and is operating correctly by running rtl_test.  Let it run for 30 seconds or so, then hit Ctrl-c to kill it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi@raspberrypi:~ $ rtl_test &lt;br /&gt;
Found 1 device(s):&lt;br /&gt;
  0:  Realtek, RTL2838UHIDIR, SN: 00000001&lt;br /&gt;
&lt;br /&gt;
Using device 0: Generic RTL2832U OEM&lt;br /&gt;
Found Rafael Micro R820T tuner&lt;br /&gt;
Supported gain values (29): 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;
[R82XX] PLL not locked!&lt;br /&gt;
Sampling at 2048000 S/s.&lt;br /&gt;
&lt;br /&gt;
Info: This tool will continuously read from the device, and report if&lt;br /&gt;
samples get lost. If you observe no further output, everything is fine.&lt;br /&gt;
&lt;br /&gt;
Reading samples in async mode...&lt;br /&gt;
^CSignal caught, exiting!&lt;br /&gt;
&lt;br /&gt;
User cancel, exiting...&lt;br /&gt;
Samples per million lost (minimum): 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*You can also try a manual run of satnogs_afsk1200_ax25.py to make sure that works:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /tmp&lt;br /&gt;
$ satnogs_afsk1200_ax25.py --soapy-rx-device=&amp;quot;driver=rtlsdr&amp;quot; --antenna=RX --samp-rate-rx=2.048e6 --rx-freq=444000000 --file-path=./audio-out.ogg --waterfall-file-path=./waterfall.dat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let it run for a minute or so.  If everything is working, this should create an .ogg file and a .dat file of non-zero size (probably a few MB each).&lt;br /&gt;
&lt;br /&gt;
===Observations seem off-frequency?===&lt;br /&gt;
[[File:Waterfall_3519_2017-04-24T04-48-48_resized.png|frame|Check your location!]]&lt;br /&gt;
&lt;br /&gt;
*'''PPM drift''' While newer SDR devices are very good and stable, there still may be some PPM drift to compensate for if you notice that signals are consistently off center. The SATNOGS_PPM_ERROR setting in /etc/supervisord.d/satnogs.ini can be used to correct for this.&lt;br /&gt;
*'''Clock sync''' Make sure your clock is synced. Ensure ntp is configured and running (especially with the Raspberry Pi which lacks a real time clock)&lt;br /&gt;
*'''Wrong location''' If your signal seems to be on but drifts at the apex like in this image, check to make sure your Latitude, Longitude, and Elevation coordinates are set properly and in the right format.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===USB===&lt;br /&gt;
You can reset USB without having to reboot the system by running these commands:&lt;br /&gt;
&lt;br /&gt;
    echo “usb1” &amp;gt; /sys/bus/usb/drivers/usb/unbind&lt;br /&gt;
    echo “usb1” &amp;gt; /sys/bus/usb/drivers/usb/bind&lt;br /&gt;
&lt;br /&gt;
This can be placed in the satnogs_post_observation_script for automation.&lt;br /&gt;
&lt;br /&gt;
===RF Noise===&lt;br /&gt;
If you notice a noise in the waterfall every time motors are spinning, you will need to:&lt;br /&gt;
&lt;br /&gt;
*Twist each pair or the motor wire&lt;br /&gt;
*Add proper grounding&lt;br /&gt;
*Add capacitor to the DC input of drivers&lt;br /&gt;
*Wrap the motors wire with adhesive aluminum and then connect it to GND on driver side&lt;br /&gt;
*Add ferrites to motors wires&lt;br /&gt;
&lt;br /&gt;
[[File:Rf noise.png|alt=RF Noise|left|thumb|400x400px|Too much RF Noise]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Operate]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Jacquin01</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.satnogs.org/index.php?title=File:UpdateFailed.png&amp;diff=3737</id>
		<title>File:UpdateFailed.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.satnogs.org/index.php?title=File:UpdateFailed.png&amp;diff=3737"/>
		<updated>2021-04-12T18:36:48Z</updated>

		<summary type="html">&lt;p&gt;Jacquin01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Connection failed for download.opensuse.org&lt;/div&gt;</summary>
		<author><name>Jacquin01</name></author>
		
	</entry>
</feed>