TLeconte acars for Raspberrypi

Discussion in 'Other technical not related to ADSBx Feeding' started by gcopter1, May 2, 2018.

  1. gcopter1

    gcopter1 Member

    Anyine here well versed on the install?

    I’ve been following the instructions shown here;
    http://www.satsignal.eu/raspberry-pi/acars-decoder.html

    getting stuck on the second step where it says;
    sudo apt-get install librtlsdr

    getting an error there like, not found or something to that effect.
     
  2. MDA

    MDA Administrator Staff Member

    Try this:
    Code:
    sudo apt-get install -y librtlsdr-dev
     
  3. gcopter1

    gcopter1 Member

    Ok, that worked.
    I´m now stuck at the next step, running the decoder, where I´m asked to enter the following;
    ./acarsdec -p -8 -r 0 131.525 131.550 131.725 131.825

    in return I get;
    bash: ./acarsdec: No such file or directory.

    If I retrace back to step 2; ¨
    Downloading and compiling the multi-channel ACARS decoder
    when I copy and paste ¨mkdir acars, I get;
    mkdir: cannot create directory ‘acars’: File exists.
     
  4. MDA

    MDA Administrator Staff Member

    Code:
    cd acarsdec
    sudo nano run-acars
    In nano paste: ./acarsdec -p -8 -r 0 131.525 131.550 131.725 131.825
    ctrl-o, Enter, ctrl-x
    Make it executable:
    Code:
    chmod +x run-acars
    and run the command-file:
    ./run-acars
     
  5. MDA

    MDA Administrator Staff Member

    Self explainable, directory exist already.
    If you want to perform this step again remove directory first. This OS will not ask you "do you want to overwrite..."
     
    Last edited: May 3, 2018
  6. gcopter1

    gcopter1 Member

    When I enter the command;
    cd acarsdec
    I get;
    bash: cd: acarsdec: No such file or directory.
    It ought to be there...when I click on the file manager, under ¨pi¨, the very first folder is called ¨ acars ¨, and it has another folder named ¨ acarsdec ¨.
    What´s going on?
     
  7. MDA

    MDA Administrator Staff Member

    Be careful. As I remember you want to have 1090, 978 and now ACARS. Each stick (you will need 3) uses energy. You can easily "brick" your RaPi.
     
  8. MDA

    MDA Administrator Staff Member

    Code:
    cd acars
    acarsdec is not an directory
     
  9. gcopter1

    gcopter1 Member

    Since then, I just cloned your image to an sd card and am using that on another pi dedicated to ads-b. This other pi, I want to use it for Acars with an RTL2832 dongle I had laying around.
     
  10. gcopter1

    gcopter1 Member

     
  11. MDA

    MDA Administrator Staff Member

    Try with sudo
     
  12. gcopter1

    gcopter1 Member

  13. MDA

    MDA Administrator Staff Member

    +x, not capital. Try again.
     
  14. gcopter1

    gcopter1 Member

    Yes. I tried it again, from the top;

    [email protected]:~ $ cd acarsdec
    bash: cd: acarsdec: No such file or directory
    [email protected]:~ $ cd acars
    [email protected]:~/acars $ sudo nano run-acars
    [email protected]:~/acars $ sudo chmod +X run-acars
    [email protected]:~/acars $ ./run-acars
    bash: ./run-acars: Permission denied
    [email protected]:~/acars $ sudo ./run-acars
    sudo: ./run-acars: command not found
    [email protected]:~/acars $ sudo chmod +x run-acars
    [email protected]:~/acars $ sudo ./run-acars
    ./run-acars: 1: ./run-acars: ./acarsdec: Permission denied
    [email protected]:~/acars $ sudo nano run-acars
    [email protected]:~/acars $ sudo chmod +x run-acars
    [email protected]:~/acars $ sudo ./run-acars
    ./run-acars: 1: ./run-acars: ./acarsdec: Permission denied
    [email protected]:~/acars $
     
  15. MDA

    MDA Administrator Staff Member

    Can you post content of acars folder?
     
  16. gcopter1

    gcopter1 Member

    Umm, I´m doing this from the pi. Don´t know how to post the contents. I can tell you, though, the tree is like this;
    pi>acars>acarsdec>no subfolder.

    Going to take a pic off the screen and upload it.
     
  17. MDA

    MDA Administrator Staff Member

    pi>acars $ dir
     
  18. gcopter1

    gcopter1 Member

  19. MDA

    MDA Administrator Staff Member

    Please rename run-acars to run-acars.sh Make it executable. Post content of "run-acars".
     
  20. gcopter1

    gcopter1 Member

    173DB87A-3A6A-465C-9473-533744F4C1B5.jpeg