Advertisement
Guest User

Untitled

a guest
May 15th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. // Fresh ubuntu 17.04 desktop install
  2. // Make sure system is up to date.
  3. sudo apt-get update
  4. sudo apt-get upgrade
  5.  
  6. // SatNOGS uses bleeding edge versions gnuradio, following the guidelines in
  7. // http://gqrx.dk/download/install-ubuntu we can get the most up to date resources.
  8.  
  9. sudo apt-get purge --auto-remove gqrx
  10. sudo apt-get purge --auto-remove gqrx-sdr
  11. sudo apt-get purge --auto-remove libgnuradio*
  12.  
  13. sudo add-apt-repository -y ppa:bladerf/bladerf
  14. sudo add-apt-repository -y ppa:ettusresearch/uhd
  15. sudo add-apt-repository -y ppa:myriadrf/drivers
  16. sudo add-apt-repository -y ppa:myriadrf/gnuradio
  17. sudo add-apt-repository -y ppa:gqrx/gqrx-sdr
  18. sudo apt-get update
  19.  
  20. // If this works without errors proceed with installing gqrx (will pull in relevant gnuradio dependencies)
  21.  
  22. sudo apt-get install gqrx-sdr
  23.  
  24. // Next install the dependencies for gr-satnogs and satnogs-client
  25.  
  26. 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
  27.  
  28. // Install gr-satnogs from source
  29.  
  30. git clone https://github.com/satnogs/gr-satnogs.git
  31. cd gr-satnogs/
  32. mkdir build
  33. cd build
  34. cmake ..
  35. make
  36. sudo make install
  37. sudo ldconfig
  38. cd
  39.  
  40.  
  41.  
  42. // Build and install satnogs-client from source
  43.  
  44. git clone https://github.com/satnogs/satnogs-client.git
  45. cd satnogs-client
  46. sudo pip install -e .
  47. python setup.py build
  48. sudo python setup.py install
  49. cd
  50.  
  51. // Create a .env file, I use vim, you can use whatever text editor you prefer
  52. vim ~/.env
  53.  
  54. // Fill in the following (must match your satnogs network info)
  55.  
  56. export SATNOGS_API_TOKEN="1234567890qwertyuiopasdfghjklzxcvbnm1234"
  57. export SATNOGS_STATION_ID="65"
  58. export SATNOGS_STATION_LAT="40.662"
  59. export SATNOGS_STATION_LON="23.337"
  60. export SATNOGS_STATION_ELEV="150"
  61. export SATNOGS_NETWORK_API_URL="https://network-dev.satnogs.org/api/"
  62.  
  63. export SATNOGS_RX_DEVICE="rtlsdr"
  64.  
  65. // Save and close the file, then register it by running. I have to redo this on every reboot
  66.  
  67. source ~/.env
  68.  
  69. // Add the user to the dialout group (check group permissions by typing "groups" in terminal), this is needed for
  70. // controling rotors via serial port
  71.  
  72. sudo useradd -aG dialout username
  73. sudo reboot // Needed to register changes
  74.  
  75. // Start rotctld with your rotor parameters in a separate terminal window
  76. rotctld -m 603 -r /dev/ttyUSB0
  77.  
  78. // Start satnogs-client
  79. satnogs-client
  80.  
  81. // Schedule observations from satnogs webside
  82. // 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