Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fresh ubuntu 17.04 desktop install
- // Make sure system is up to date.
- sudo apt-get update
- sudo apt-get upgrade
- // SatNOGS uses bleeding edge versions gnuradio, following the guidelines in
- // http://gqrx.dk/download/install-ubuntu we can get the most up to date resources.
- sudo apt-get purge --auto-remove gqrx
- sudo apt-get purge --auto-remove gqrx-sdr
- sudo apt-get purge --auto-remove libgnuradio*
- sudo add-apt-repository -y ppa:bladerf/bladerf
- sudo add-apt-repository -y ppa:ettusresearch/uhd
- sudo add-apt-repository -y ppa:myriadrf/drivers
- sudo add-apt-repository -y ppa:myriadrf/gnuradio
- sudo add-apt-repository -y ppa:gqrx/gqrx-sdr
- sudo apt-get update
- // If this works without errors proceed with installing gqrx (will pull in relevant gnuradio dependencies)
- sudo apt-get install gqrx-sdr
- // Next install the dependencies for gr-satnogs and satnogs-client
- sudo apt-get install git gcc python-dev vorbis-tools libhamlib-dev libhamlib-utils cmake swig libfftw3-dev libcppunit-dev doxygen gr-osmosdr libnova-dev gnuplot libvorbis-dev libffi-dev openssl libpng-dev python-pip libssl-dev vim redis-tools redis-server python-gevent python-gevent-server
- // Install gr-satnogs from source
- git clone https://github.com/satnogs/gr-satnogs.git
- cd gr-satnogs/
- mkdir build
- cd build
- cmake ..
- make
- sudo make install
- sudo ldconfig
- cd
- // Build and install satnogs-client from source
- git clone https://github.com/satnogs/satnogs-client.git
- cd satnogs-client
- sudo pip install -e .
- python setup.py build
- sudo python setup.py install
- cd
- // Create a .env file, I use vim, you can use whatever text editor you prefer
- vim ~/.env
- // Fill in the following (must match your satnogs network info)
- export SATNOGS_API_TOKEN="1234567890qwertyuiopasdfghjklzxcvbnm1234"
- export SATNOGS_STATION_ID="65"
- export SATNOGS_STATION_LAT="40.662"
- export SATNOGS_STATION_LON="23.337"
- export SATNOGS_STATION_ELEV="150"
- export SATNOGS_NETWORK_API_URL="https://network-dev.satnogs.org/api/"
- export SATNOGS_RX_DEVICE="rtlsdr"
- // Save and close the file, then register it by running. I have to redo this on every reboot
- source ~/.env
- // Add the user to the dialout group (check group permissions by typing "groups" in terminal), this is needed for
- // controling rotors via serial port
- sudo useradd -aG dialout username
- sudo reboot // Needed to register changes
- // Start rotctld with your rotor parameters in a separate terminal window
- rotctld -m 603 -r /dev/ttyUSB0
- // Start satnogs-client
- satnogs-client
- // Schedule observations from satnogs webside
- // Note: Fixed path on gnuplot script causes it to fail under ubuntu 17.04. Automatic upload of waterfalls will not work becasuse of this
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement