dgiardini / rtl-ais

A simple AIS tuner and generic dual-frequency FM demodulator
Other
261 stars 88 forks source link

install: cannot stat 'rtl_ais': No such file or directory #103 #46

Closed galacticfr closed 2 weeks ago

galacticfr commented 5 months ago

could you tell me where I can get that file? I tried running rtl_ais.c and rtl_ais.h but none of them worked

dgiardini commented 5 months ago

Hi

rtl_ais.c and rtl_ais.h are source files, you need the executable file in order to work. Please tell us which OS you are using so we can give you some guides.

Regards, David

On Thu, Apr 4, 2024 at 1:26 AM galacticfr @.***> wrote:

could you tell me where I can get that file? I tried running rtl_ais.c and rtl_ais.h but none of them worked

— Reply to this email directly, view it on GitHub https://github.com/dgiardini/rtl-ais/issues/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBJPTYRYYNRHVLCO6WJRWLY3TI6LAVCNFSM6AAAAABFWQG7JOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDINBWGA2TMOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

galacticfr commented 5 months ago

I was trying to run it on window. I couldn't find rtl_ais.exe When I ran it on linux, I could not access port 10110 Screenshot from 2024-04-04 09-39-06

dgiardini commented 5 months ago

On windows seems to be ok, use the "-n" switch so you can see any incoming sentences.

On Linux, may be the port is in use, you can try using another one (" -P 10120 " for example). Use "-n" too.

Don't forget to set the ppm correctly to match the dongle error, you won't see any incoming data otherwise

On Thu, Apr 4, 2024 at 11:40 AM galacticfr @.***> wrote:

I was trying to run it on window. When I ran it on linux, I could not access port 10110 Screenshot.from.2024-04-04.09-39-06.png (view on web) https://github.com/dgiardini/rtl-ais/assets/103539723/fb3ce4e0-9a84-42f4-b9d1-690ebbfce1b6

— Reply to this email directly, view it on GitHub https://github.com/dgiardini/rtl-ais/issues/46#issuecomment-2037402087, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBJPT2XVJMTAJ3TSEEMB4TY3VQ6FAVCNFSM6AAAAABFWQG7JOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZXGQYDEMBYG4 . You are receiving this because you commented.Message ID: @.***>

galacticfr commented 5 months ago

Screenshot from 2024-04-04 10-21-53 I still have the same issue on linux. I tried different ports but none of them worked. I also tried different browsers

dgiardini commented 5 months ago

Your problem is not the ports, is the ppm, you are not specifying anyone, and that mostly doesn't work.

Look at the README file on github, at known issues: https://github.com/dgiardini/rtl-ais?tab=readme-ov-file#known-issues There are some guidelines there.

You can also google "rtr-sdr calibration"; you'll find a lot Of results, look for something easy for you.

As a result of the calibration, you'll get a number, that is the error of your RTL-SDR device in parts per million (aka ppm). You must pass this number as a parameter to the program using "-p ". The ppm is specific to the dongle, so you can use it on Linux, Windows, even other computers, always with the same dongle.

Good luck ! David

On Thu, Apr 4, 2024 at 12:23 PM galacticfr @.***> wrote:

Screenshot.from.2024-04-04.10-21-53.png (view on web) https://github.com/dgiardini/rtl-ais/assets/103539723/455e76bf-47d4-4916-a240-da66e12c7934 I still have the same issue on linux. I tried different ports but none of them worked

— Reply to this email directly, view it on GitHub https://github.com/dgiardini/rtl-ais/issues/46#issuecomment-2037511312, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBJPT6TVRZU4YIVJ52EIMTY3VV67AVCNFSM6AAAAABFWQG7JOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZXGUYTCMZRGI . You are receiving this because you commented.Message ID: @.***>