Tar1090

Discussion in 'Hardware' started by Colin Wellard, Jul 8, 2020.

  1. wiedehopf

    wiedehopf Administrator Staff Member

    Well you are doing configuration changes that don't work.

    Why did you add 192.168.1.131,30005,beast_in ?
    The correct version would be: --net-connector 192.168.1.131,30005,beast_in

    But if the SDR you want the data from is on the same machine, you shouldn't need any extra data input over the network.
     
  2. Colin Wellard

    Colin Wellard Member

    I wasn't aware that it was any different from before, both PF and FR24 say to select Beast as input even though there is normally something there a more closer description to what I am using.
    The answer to your question though is that it was in the instructions and I selected it so, that makes me guilty as charged, can't give you a better answer than that, I picked Beast the first time round and it worked fine.
    I see what you are saying about the SDR and noted.
    I've said it before, I bow to your superior knowledge, I don't know a tiny spec of what goes on inside a computer, I have a security camera here looking over my drive, fully computerised and it is filming some weird things in the night strange lights and flying beasties, I can only describe as a flying shrimp, you can see nothing with the naked eye, don't ask me to explain that, I installed it and set it up and it gives me these things every night.
    What can I say wiedehopf, I obviously have but I have no knowledge of putting a wrong setting in.
     
  3. wiedehopf

    wiedehopf Administrator Staff Member

    No worries, it can be confusing i suppose ;)
    With the mobaxterm and being comfortable to run commands and show outputs, ..... most misconfigurations can be determined without too much issue.

    readsb is talking to the SDR and making data from that input, also providing it as beast output on port 30005.
    readsb is fulfilling the same function that dump1090 would otherwise.

    Anyhow removing that bit from the config file should fix the issues.
     
  4. Colin Wellard

    Colin Wellard Member

    OK wiedehopf, would that be the one here < sudo nano /etc/fr24feed.ini >?
    Sorry to put to so much trouble but I really do appreciate your time and knowledge.
    Thanks
     
  5. wiedehopf

    wiedehopf Administrator Staff Member

    Either you manually fix /etc/default/readsb

    Or do the following steps:
    sudo apt purge readsb
    sudo rm /etc/default/readsb

    Then run the install script again.
    https://github.com/wiedehopf/adsb-scripts/wiki/Automatic-installation-for-readsb
    You'll have to reconfigure the location.


    If you would want to have a 2nd RPi display the data, then using a remote data source is the right approach.
    But even then you need to do it correctly as the --net-connector was missing.
     
  6. Colin Wellard

    Colin Wellard Member

    It doesn't appear to have worked wiedehopf but give it a rest for today and I'll have another look at the files after dinner and then back at it tomorrow if necessary.
    I tried it manually first and it didn't work, so I tried the second option but still the same, there is no mention of 'Beast' in the readsb file, I'll have a better look at it after dinner, thanks again for your time and patience, you've been great.
     
  7. wiedehopf

    wiedehopf Administrator Staff Member

    well you check the log again .... sudo journalctl --no-pager -u readsb | tail -n15
     
  8. Colin Wellard

    Colin Wellard Member

    Hello wiedehopf,
    Well,at last success, I had already rebooted the pi in the loft after the changes and went and had my dinner and came back to look at them but they were still the same, my answer to everything is if you can't hit it with a hammer then reboot it so, I rebooted the computers in my office, the pi, the Dell and the Acer and low and behold after that ADSBx and FR24 were working, leaving PF which I have their coverage showing on the Acer but that was still not working, I checked the settings and it was not only not on the same share code but it was still looking for 192.168,1,180 when it should be 131, now all three are uploading.
    I am looking for a fourth and one that leans towards the Military side a bit, but I'll leave it a while and enjoy it for the moment.
    I've tried all of the maps and the only one that doesn't work correctly is tar1090 and I'm not too bothered about that I can see my uploads on the 'my ip' route (which I have both green smiley faces now).
    Once again thanks for your help, time and patience.
     
  9. wiedehopf

    wiedehopf Administrator Staff Member

    Well if you reinstall tar1090 while readsb isn't working, it will set a wrong directory.
    Thus .....
     
  10. Colin Wellard

    Colin Wellard Member

    Good morning,
    Here's the copy of the log this morning

    [email protected]:~ $ sudo journalctl --no-pager -u readsb | tail -n15
    Jul 20 17:07:30 raspi2 readsb[3035]: Found Rafael Micro R820T tuner
    Jul 20 17:07:31 raspi2 readsb[3035]: rtlsdr: enabling tuner AGC
    Jul 20 17:07:31 raspi2 readsb[3035]: Allocating 16 zero-copy buffers
    Jul 20 17:12:01 raspi2 readsb[3035]: Mon Jul 20 17:12:01 2020 BST Caught SIGTERM, shutting down..
    Jul 20 17:12:01 raspi2 systemd[1]: Stopping readsb ADS-B receiver...
    Jul 20 17:12:01 raspi2 readsb[3035]: Mon Jul 20 17:12:01 2020 BST Waiting for receive thread termination
    Jul 20 17:12:02 raspi2 readsb[3035]: Mon Jul 20 17:12:02 2020 BST Normal exit.
    Jul 20 17:12:02 raspi2 systemd[1]: readsb.service: Succeeded.
    Jul 20 17:12:02 raspi2 systemd[1]: Stopped readsb ADS-B receiver.
    Jul 20 17:12:02 raspi2 systemd[1]: Started readsb ADS-B receiver.
    Jul 20 17:12:02 raspi2 readsb[5089]: Mon Jul 20 17:12:02 2020 BST Mictronics v3.8.4 starting up.
    Jul 20 17:12:02 raspi2 readsb[5089]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00001000)
    Jul 20 17:12:03 raspi2 readsb[5089]: Found Rafael Micro R820T tuner
    Jul 20 17:12:03 raspi2 readsb[5089]: rtlsdr: enabling tuner AGC
    Jul 20 17:12:03 raspi2 readsb[5089]: Allocating 16 zero-copy buffers
    [email protected]:~ $

    OK I'll re-install tar1090 now.
     
  11. Colin Wellard

    Colin Wellard Member

    Re-installed tar1090 and perfect, a full house, everything working great, even the range rings are working on the pi.
    Thanks again Wiedehopf, just going to sit back and enjoy it for a while then maybe look for a fourth to upload to (will have to include the Military, which is my main interest) but for now aaaaaah.
    Thanks again Richard for your input.
    Regards.
     
  12. RichardG

    RichardG Member

    Success!!!
    Could you do it from scratch again ;) (Not that you should.... but could you?)
    Good luck adding other feeders.
     
  13. Colin Wellard

    Colin Wellard Member

    yeah,
    I've been sifting out the best bits of of my notes I made (got loads of them) and put it all on a .txt file of exactly what I did and all in order to do it again if necessary and am keeping it in the computer.
    Having a look at the VRS as well now see what I can do with that, when I understand the language a bit better I'll jump in and see what I can do with it.
    Why? when they first made computers did they fill them with a language you need to be a rocket scientist to understand, why? couldn't they make them speak English, like, computer when this is pressed do this, if the wrong button is pressed, no not that one you numpty, I've got a bit of experience in Windows office, I converted a time sheet program into cutting lists program, for air dampers a firm was making (still got them on floppy discs here somewhere), on a little handheld job, for a new factory they were building out in Saudi, I took the keyboard off when it died, still got it.
    That was a while ago, they've probably thrown it out by now and got a new high tech. one.
    Thanks again for your input Richard.
     
  14. RichardG

    RichardG Member

    I used https://github.com/mypiaware/virtual-radar-server-installation
    I've installed it flawlessly 3 times now... good luck. It installs Mono and everything else you may need. It will ask you for Reciever details which you can enter as you have above (if installing locally 127.0.0.1:30005 (AVR/Beast format) or if installing on your other Pi then IP address of feeder:30005 ) and then in the settings (VRS Webadmin - options - recievers) once you have installed you can put in the details for the MLAT back feed from ABSDBx (127.0.0.1:31003 (Basestation) and create a merged feed to display on your VRS. Any probs let me know and I may be able to help on that front. Suggestion woule be to install it on which ever Pi is your feeder (you mentioned your Pi 4 again... did get it working??... is it your feeder??)
     
  15. RichardG

    RichardG Member

    P.s. - I learnt VRS by installing on a Windows machine first... once I got it perfected I translated the knowledge over to my Pi install
     
  16. Colin Wellard

    Colin Wellard Member

    Yeah, I'm looking at it on my Windows machine.
     
  17. Colin Wellard

    Colin Wellard Member

    Are you actually altering the code? I have tried getting into it but haven't been able to yet, maybe we should take this on a PM.
     
  18. RichardG

    RichardG Member

    Probably best to move to PM.
    I have not altered any code... are you still trying to install on Windows?
     
  19. Colin Wellard

    Colin Wellard Member

    Not sure how to go PM from here, if you make your next post PM I can just reply to that.
    I have had it running on Windows quite a while now, I spent the day, or most of it putting it on my pi3B+ in my office and have it set up so far, so that I can either have on a small antenna on the corner of my desk or the one in the loft, hmm wonder if you can combine the two for an upload, put a bit of distance between them.
    But it is really the code I want to get at and alter if poss. add reporting points etc., but no I haven't yet.