Last active
December 29, 2017 20:12
-
-
Save darksidelemm/d95a444a66268cb4e954c7982a60393a to your computer and use it in GitHub Desktop.
Setting up SatNOGS under Raspbian Stretch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPGRADING RPI3 TO RASPBIAN STRETCH | |
----------------------------------- | |
Follow guide to upgrade from Raspbian Jessie to stretch: | |
https://linuxconfig.org/raspbian-gnu-linux-upgrade-from-jessie-to-raspbian-stretch-9 | |
As of July 2017, Wifi will break when you upgrade. | |
Revert to an older wifi firmware using: | |
> wget http://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_0.43+rpi4_all.deb | |
> dpkg -i firmware-brcm80211_0.43+rpi4_all.deb | |
SATNOGS INSTALL | |
---------------- | |
Install required packages: | |
>sudo apt-get install -y git cmake libboost-all-dev libcppunit-dev libvorbis-dev gnuradio-dev doxygen libnova-dev swig redis-server libhamlib2 gr-osmosdr gnuplot libpng-dev sudo python-pip libssl-dev libhamlib-utils vim screen | |
Fix RTL-SDR udev rules by adding the contents of https://github.com/osmocom/rtl-sdr/blob/master/rtl-sdr.rules into /etc/udev/rules.d/20-rtlsdr.rules | |
Grab SatNOGS Git Repos: | |
> git clone https://gitlab.com/librespacefoundation/satnogs/satnogs-client.git | |
> git clone https://github.com/satnogs/gr-satnogs.git | |
Build gr-satnogs: | |
> cd gr-satnogs | |
> mkdir build | |
> cd build | |
> cmake .. | |
> make -j4 | |
> sudo make install | |
> sudo ldconfig -v | |
The gr-satnogs build script puts the waterfall processing script in the wrong place (well, satnogs-client *looks* in the wrong place anyway). Fix this with: | |
> sudo ln -s /usr/local/share/satnogs /usr/share/satnogs | |
Install satnogs-client: | |
> cd ~/satnogs-client | |
> pip install -e . | |
Follow other installation procedures from here: | |
https://docs.satnogs.org/en/stable/satnogs-client/doc/raspi-install.html#install-satnogs-client | |
You may need to fix the rtl-sdr udev rules at this point, else you will have permissions issues. | |
Test satnogs FM demod using: | |
$ source .env | |
$ nc -l 4532 & | |
$ satnogs_fm_demod.py --rx-sdr-device=rtlsdr --rx-freq=444000000 --file-path=./audio-out.ogg --waterfall-file-path=./waterfall.dat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your guide!
Additional (indirect?) dependency required by satnogs-client:
libffi-dev
orlibffi6
(installed both to fix the problems).