Jump to content

AndrejW

Members
  • Posts

    21
  • Joined

  • Last visited

Recent Profile Visitors

1342 profile views
  1. Hello. I'm trying to cool my OPIzero with a 0.20a 5 v fan, but it doesn't work when connected directly to the gnd and +5 v pins(doesn't boot). I don't want to dabble with controlling the fan, so i ask if someone can guide me to the simpler capacitor and diode solution. Thank you in advance.
  2. Maybe just use a larger SD card? I think it would save you a lot of problems.
  3. It seems to mean at every boot. @reboot Run once, at startup. @yearly Run once a year, "0 0 1 1 *". @annually (same as @yearly) @monthly Run once a month, "0 0 1 * *". @weekly Run once a week, "0 0 * * 0". @daily Run once a day, "0 0 * * *". @midnight (same as @daily) @hourly Run once an hour, "0 * * * *". https://www.pantz.org/software/cron/croninfo.html
  4. Hello, since the rc.local method was quite unreliable I now invoke the auto startup script using cron with @reboot. Does anyone know if the @reboot means only manual reboot(ie typing reboot into the console) or also any other startup ie after power loss. Thank you
  5. Tutorial for the installation of the OGN receiver on orange pi zero, as well as ADS-B by Łukasz Jokiel. https://blog.jokielowie.com/en/2017/04/sledzimy-szybowce-samoloty-helikoptery-i-balony-cz-3-flarm/
  6. Hello again, the project is complete and the receiver has been installed on the top of our hangar. For Slovenian folks that are interested in checking how many gliders fly during nice spring and summer days you can check here: http://ktrax.kisstech.ch/ktrax/?c=46.1595,14.7574&z=9&airspace=openflightmaps&units=metric&thermals=on&traffic=on Have a nice day, Andrej
  7. For remote access I added https://docs.dataplicity.com/. The installation is literally copying one line of code and it seems to work.
  8. Thank you again for your help. I am certain there are better ways, however since this will be pretty much an install and forget type of arrangement, this should do. The only thing missing for the board to be perfect for my use is working onboard wifi, but since I need to run a power cable to it anyway ill most probably just connect it to lan as well. Maybe the awesome team behind armbian will port the nmtui interface to the server images in time and then ill reinstall it with that functionality as well. Lep pozdrav, Andrej =)
  9. Ok, this is spaghetti code but it somehow works so I am not complaining.If you want some sauce you will need to find it somewhere else, I cook even worse than I write code =). Since it didn't work by running the program directly (one process was killing the other and they didn't want to start at power on) I tried doing it using screen(it started at reboot when instructed) I created two entries into /etc/rc.local, start.sh and start1.sh like so: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. /home/ogn/rtlsdr-ogn/start.sh & /home/ogn/rtlsdr-ogn/start1.sh & exit 0 Then I created start.sh #!/bin/bash cd /home/ogn/rtlsdr-ogn/ screen -d -m ./ogn-rf LJNMT.conf and start1.sh #!/bin/bash cd /home/ogn/rtlsdr-ogn/ screen -d -m ./ogn-decode LJNMT.conf Then: chmod a+rx /home/ogn/rtlsdr-ogn/start.sh and chmod a+rx /home/ogn/rtlsdr-ogn/start1.sh Reciever starts automatically at boot =) I know U martinayotte most probably doesn't want to do anything with this abomination, but without his help, it would be impossible for me to make this work. Thank you!
  10. Dropping both & symbols initiates the first command successfully, but not the second.
  11. After following your instructions and manually starting: https://paste.ubuntu.com/23841258/ There is, however, no acess to ports 8080 and 8081 which, when acessed, offer insight into the operation of the receiver and demodulator modules, which indicates that they are not running.
  12. When I run the two commands manually I do it by running each of them separately in their own screen sessions which I then detach so they do not die when i close the putty terminal(i know its not meant for that but it works).
  13. I wrote the start script with nano as such: root@orangepipcplus:/home/ogn/rtlsdr-ogn# nano start.sh #!/bin/bash cd /home/ogn/rtlsdr-ogn/ ./ogn-rf LJNMT.conf & ./ogn-decode LJNMT.conf & Then I placed it into ininto /etc/rc.local this way: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. /home/ogn/rtlsdr-ogn/start.sh & exit 0 I did not use the "chmod a+rx ./start.h" No error messages were given.
  14. Thank you, but unfortunately, neither of those options worked. I think I followed your instructions correctly, but keep in mind that I am new to linux(not to mention any kind of programming) and it is possible that I screwed something up that you experienced people take for granted =). Under this line is the whole path the command is normally manually executed from, if it makes any difference(root privilege maybe?) root@orangepipcplus:/home/ogn/rtlsdr-ogn#
  15. Same problem for the latest Debian server image for orange pi pc+. It does not boot after upgrade. Mainline: Debian GNU/Linux 8 (jessie) 4.6.7-sun8i Also nand-sata-install does not work, but since it is written on the instructions page that it requires kernel 3.4.x that is not unusual. I thought maybe it would be of use to someone else whose board would not boot after upgrade. This is not a complaint =).
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines