Ubuntu20 installs

Hi there
Having a little trouble installing in correct order
ubuntu20 64bit pc
piaware running
i just cannot install in any order the following
tar1090
airspy_adsb
readsb
i have tried many times im doing somit in wrong order

Please provide the commands and error messages.

Simply ran following bash script on Ubuntu 20 amd64 installed on PC, and it installed both readsb and tar1090

sudo bash -c "$(wget -O - https://github.com/wiedehopf/adsb-scripts/raw/master/readsb-install.sh)"

 

 

 

 

I cleared tar airspy and readsb
seems readsb dont li8ke it

ournalctl -xe
– Support: Enterprise open source support | Ubuntu

– Automatic restarting of the unit readsb.service has been scheduled, as the result for
– the configured Restart= setting for the unit.
Mar 14 03:25:53 john-H81M-S2H systemd[1]: Stopped readsb ADS-B receiver.
– Subject: A stop job for unit readsb.service has finished
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– A stop job for unit readsb.service has finished.

– The job identifier is 10345 and the job result is done.
Mar 14 03:25:53 john-H81M-S2H systemd[1]: readsb.service: Failed to load environment files: No such file or directory
Mar 14 03:25:53 john-H81M-S2H systemd[1]: readsb.service: Failed to run ‘start’ task: No such file or directory
Mar 14 03:25:53 john-H81M-S2H systemd[1]: readsb.service: Failed with result ‘resources’.
– Subject: Unit failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– The unit readsb.service has entered the ‘failed’ state with result ‘resources’.
Mar 14 03:25:53 john-H81M-S2H systemd[1]: Failed to start readsb ADS-B receiver.
– Subject: A start job for unit readsb.service has failed
– Defined-By: systemd
– Support: Enterprise open source support | Ubuntu

– A start job for unit readsb.service has finished with a failure.

installed airspy_adsb and output below

sudo journalctl -e -u airspy_adsb

ar 14 03:33:39 john-H81M-S2H airspy_adsb[32592]: Push client disconnected from 127.0.0.1:30004 (beast)
Mar 14 03:33:39 john-H81M-S2H systemd[1]: airspy_adsb.service: Succeeded.
Mar 14 03:33:39 john-H81M-S2H systemd[1]: Stopped Airspy ADS-B receiver.
Mar 14 03:33:39 john-H81M-S2H systemd[1]: Started Airspy ADS-B receiver.
Mar 14 03:33:39 john-H81M-S2H airspy_adsb[34673]: airspy_adsb v2.2-RC30
Mar 14 03:33:39 john-H81M-S2H airspy_adsb[34673]: Listening for beast clients on port 47787
Mar 14 03:33:39 john-H81M-S2H airspy_adsb[34673]: Acquired Airspy device with serial 260868C82A70AD9B
Mar 14 03:33:39 john-H81M-S2H airspy_adsb[34673]: Decoding started at 12 MSPS (Gain: auto; CPU target: 60 %)
Mar 14 03:33:40 john-H81M-S2H airspy_adsb[34673]: Push client connected to 127.0.0.1:30004 (beast)
Mar 14 03:33:40 john-H81M-S2H airspy_adsb[34673]: Push client disconnected from 127.0.0.1:30004 (beast)
Mar 14 03:33:53 john-H81M-S2H airspy_adsb[34673]: Push client connected to 127.0.0.1:30004 (beast)
Mar 14 03:33:53 john-H81M-S2H airspy_adsb[34673]: Push client disconnected from 127.0.0.1:30004 (beast)
Mar 14 03:34:06 john-H81M-S2H airspy_adsb[34673]: Push client connected to 127.0.0.1:30004 (beast)
Mar 14 03:34:06 john-H81M-S2H airspy_adsb[34673]: Push client disconnected from 127.0.0.1:30004 (beast)

Problem fetching data from the server:
Seems the decoder / receiver / backend isn’t working correctly!

Are you running readsb in net only mode?

readsb can’t access the Airspy directly as SDR device. This is documented in the readsb readme

i will change that when i get it installed
just keeps failing ok this work around
default there was no readsb
so i made a folder was blue dir ?
rm it gone reinstalled readsb all ok weird
all fully working i cannot awswer what happened
but a happy ending

alsa avahi-daemon cpufrequtils grub irqbalance motd-news.wasremoved readsb.dpkg-new tar1090
john@john-H81M-S2H:/etc/default$ nano readsb.dpkg-new

Use “fg” to return to nano.

[3]+ Stopped nano readsb.dpkg-new
john@john-H81M-S2H:/etc/default$ sudo nano readsb.dpkg-new
john@john-H81M-S2H:/etc/default$ sudo systemctl status readsb
● readsb.service - readsb ADS-B receiver
Loaded: loaded (/lib/systemd/system/readsb.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-03-14 07:36:05 GMT; 33s ago
Docs: GitHub - wiedehopf/readsb: ADS-B decoder swiss knife
Main PID: 38761 (readsb)
Tasks: 8 (limit: 19001)
Memory: 6.2M
CGroup: /system.slice/readsb.service
└─38761 /usr/bin/readsb --net-only --write-json-every 1 --lat 52.99999 --lon 0.lolol --max-range 500 --net --net-heartbeat 60 --ne>

Mar 14 07:36:05 john-H81M-S2H systemd[1]: Started readsb ADS-B receiver.
Mar 14 07:36:05 john-H81M-S2H readsb[38761]: Mon Mar 14 07:36:05 2022 GMT readsb starting up.
Mar 14 07:36:05 john-H81M-S2H readsb[38761]: readsb version: wiedehopf git: 4f9ce66 (committed: Sun Mar 13 15:55:13 2022 0100)
Mar 14 07:36:05 john-H81M-S2H readsb[38761]: Using lat: 52.99999, lon: 0.lolol
Mar 14 07:36:05 john-H81M-S2H readsb[38761]: 30002: Raw TCP output port 30005: Beast TCP output port
Mar 14 07:36:05 john-H81M-S2H readsb[38761]: 30003: SBS TCP output ALL port 30001: Raw TCP input port
Mar 14 07:36:05 john-H81M-S2H readsb[38761]: 30004: Beast TCP input port 30104: Beast TCP input port

Please post the content of

/etc/default/airspy_adsb
/etc/default/readsb

I am pretty sure that @wiedehopf will find the problem

Oh cool
GAIN= auto
OPTIONS= -v -t 90 -f 1 -w 5 -P 8 -C 60 -E 20
SAMPLE_RATE= 12
NET= -l 47787:beast -c 127.0.0.1:30004:beast
G=-g
M=-m
AFFINITY=“0-7”

RECEIVER_OPTIONS=“–net-only --write-json-every 1”
DECODER_OPTIONS=“–lat 52.xxxxx --lon 0xxxxxx --max-range 500”
NET_OPTIONS=“–net --net-heartbeat 60 --net-ro-size 1250 --net-ro-interval 0.05 --net-ri-port 30001 --net-ro-port 30002 --ne>
JSON_OPTIONS=”–json-location-accuracy 2 --range-outline-hours 24"

RECEIVER_OPTIONS=“–net-only --write-json-every 1”
DECODER_OPTIONS=“–lat 52.xxxxx --lon 0xxxxxx --max-range 500”
NET_OPTIONS=“–net --net-heartbeat 60 --net-ro-size 1250 --net-ro-interval 0.05 --net-ri-port 30001 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005”
JSON_OPTIONS=“–json-location-accuracy 2 --range-outline-hours 24”

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.