[SOLVED] SLAX Linux AMD64 OS: faup1090 is not working

@obj


root@slax:~# uname -a
Linux slax 5.10.92 #1 SMP Mon Feb 14 05:10:33 EST 2022 x86_64 GNU/Linux

root@slax:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"

Piaware installation on HP Thin-Client T520 with OS SLAX Linux AMD64

root@slax:~# lscpu | grep "Model name"
Model name:   AMD GX-212JC SOC with Radeon(TM) R2E Graphics

image

 

  • The dump1090-fa is working OK (aircraft on Skyaware map)
  • The piaware data feeder is complaining “no ADS-B data program is serving on port 30005”
  • The htop shows faup1090 is not running.

dump1090-fa

image

 

image

piaware

image

 

htop

faup1090 NOT running

image

 

dump1090-fa running

image

 

piaware running

image

 

Setup of Thin-Client HP T520, with 16 GB microSD card as external SSD

 

Interesti project, what is the purpose of trying the thin client? Guessing whilst testing system antenna position temporary but see a few aircraft still shown.

Geoff

Further Investigation

(1) Checked if Beast data is available at port 30005

root@slax:~# nc localhost 30005 

2&��g �xڭ2'�` �xڭ3'�}g�4cڙ!h�p�Zz�2'�p]4cڟ]�2'�l]4cڟ]�3'%�.e����;���0[P2'-�Zl]4cڟ]�2'06dj]4cڟ]�2'3��j �xڭ2'\��i �xڭ2'ah �xڭ3's�xb�4c�X�%[�
�C2'�T�`]4cڟ]�3'���`�4c��HXd��2'�"` �xڭ2'��Dd �xڭ3'�b�4cڙ!h�x�4��2(��X �xڭ3(
                                                                            �xY�4c��#J��hJ2(%�5S �xڭ3(7�Y�4c�X���tG2(8=�Z �xڭ3(tMtT���J2�����3(y��Y���;��S��3(���U�4cڙ!h�x�4��2(��U �xڭ2(���R �xڭ2(�M]4cڟ]�2(�
�W]4cڟ]�2(�\�Z]4cڟ]�2(�6Z]4cڟ]�3(�;�Y�4c�X�$��u��2(��\]4cڟ]�2(��PY]4cڟ]�2(��Z �xڭ2)W�] �xڭ2)3��W �xڭ2)NԴO �xڭ3)WdL�4cڙ!h�x�4��3)\��K�4c��HXd��2)oM �xڭ2)s��O]4cڟ]�2)��oI(n��2)�eWF �xڭ3)�U�I�4c�X��;uo��2)�d�I �xڭ2)�E]4cڟ]�2)���G]4cڟ]�2)�y9F]4cڟ]�2*�C �xڭ3*��D�4cڙ!h�x�4��2*'rE �xڭ2*(d        H �xڭ2*S��G]4cڟ]�3*T�DI���J2���%f2*i��U]4cڟ]�3*i��T�4c�X���uA��2*l+�X]4cڟ]�2*n�X]4cڟ]�2*y��Z]4cڟ]�2*{[]4cڟ]�2*~�Y]4cڟ]�2*�Fw\(n��3*���X�����;���,g42*�k�M �xڭ3*ר�T�4cڙ!g��m��2*�2�X �xڭ2*���] �xڭ
^C

 

(2) Checked faup1090

root@slax:~# /usr/lib/piaware/helpers/./faup1090 --stdout

_v      9E      clock   1650003509      hexid   C01E28  addrtype        adsb_icao       adsb_version    0       nac_p   9 0 A   nac_v1 1 A   sil     3 0 A   sil_type        unknown 0 A     nic_baro        1 0 A   airGround       A+ 0 A  alt     6275 4 A        alt_gnss     6000 1 A        vrate   -1536 1 A       vrate_geom      -1536 0 U       speed   278.7 1 A       speed_ias       219 0 U mach0.372 0 U        track   46.7 1 A        heading_magnetic        51.0 0 U        nav_alt_mcp     3008 0 A        nav_qnh 1012.8 0 A
_v      9E      clock   1650003512      hexid   3463DA  es_op_status    F8230006004AB8
_v      9E      clock   1650003516      hexid   3463DA  addrtype        adsb_icao       adsb_version    2       nac_p   10 4 A  nac_v4 0 A   sil     3 4 A   sil_type        perhour 4 A     nic_baro        1 4 A   airGround       A+ 0 A  alt     37000 0 A       position     {43.37337 -78.93624 8 186} 0 A  alt_gnss        36350 0 A       vrate   0 0 A   speed   478.8 0 A       track   131.6 0 A
_v      9E      clock   1650003519      hexid   3463DA  airGround       A+ 0 A  squawk  7257 0 U        alt     37000 0 A       position     {43.36914 -78.92964 8 186} 0 A  alt_gnss        36375 1 A       vrate   -64 1 A vrate_geom      -32 0 U speed   478.8 1 A   speed_ias        262 0 U speed_tas       470 0 U mach    0.808 0 U       track   131.6 1 A       track_rate      -0.03 0 U       roll-0.4 0 U heading_magnetic        151.0 0 U       nav_alt_mcp     36992 0 A       nav_heading     0.0 0 A nav_qnh 1013.6 0 A
^C

 

(3) Checked piaware

root@slax:~# systemctl status piaware
● piaware.service - FlightAware ADS-B uploader
     Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-04-15 05:51:30 UTC; 31min ago
       Docs: https://flightaware.com/adsb/piaware/
   Main PID: 1094 (piaware)
      Tasks: 2 (limit: 4015)
     Memory: 10.6M
        CPU: 4.779s
     CGroup: /system.slice/piaware.service
             └─1094 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json

Apr 15 06:20:35 slax piaware[1094]: no ADS-B data program is serving on port 30005, not starting multilateration client yet
Apr 15 06:21:14 slax piaware[1094]: no ADS-B data program seen listening on port 30005 for 310 seconds, next check in 60s
Apr 15 06:21:35 slax piaware[1094]: no ADS-B data program is serving on port 30005, not starting multilateration client yet
Apr 15 06:22:05 slax piaware[1094]: 0 msgs recv'd from dump1090 (0 in last 5m); 0 msgs sent to FlightAware
Apr 15 06:22:14 slax piaware[1094]: no ADS-B data program seen listening on port 30005 for 370 seconds, trying to start it...
Apr 15 06:22:14 slax piaware[1094]: attempting to start dump1090..
Apr 15 06:22:15 slax piaware[1094]: can't start dump1090, no services that look like dump1090 found
Apr 15 06:22:25 slax piaware[1094]: no ADS-B data program seen listening on port 30005 for 10 seconds, next check in 60s
Apr 15 06:22:35 slax piaware[1094]: no ADS-B data program is serving on port 30005, not starting multilateration client yet
Apr 15 06:23:25 slax piaware[1094]: no ADS-B data program seen listening on port 30005 for 70 seconds, next check in 60s
root@slax:~# 

Checked Status of dump1090-fa

root@slax:~# systemctl status dump1090-fa

● dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
     Loaded: loaded (/lib/systemd/system/dump1090-fa.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-04-15 06:07:42 UTC; 27min ago
       Docs: https://flightaware.com/adsb/piaware/
   Main PID: 2720 (dump1090-fa)
      Tasks: 3 (limit: 4015)
     Memory: 5.9M
        CPU: 6min 21.519s
     CGroup: /system.slice/dump1090-fa.service
             └─2720 /usr/bin/dump1090-fa --quiet --device-type rtlsdr --gain 60 --adaptive-range --fix --lat 43.5xxx --lon -79.6xxx>

Apr 15 06:07:42 slax dump1090-fa[2720]: Fri Apr 15 06:07:42 2022 UTC  dump1090-fa 7.2 starting up.
Apr 15 06:07:42 slax dump1090-fa[2720]: rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 202)
Apr 15 06:07:42 slax dump1090-fa[2720]: Detached kernel driver
Apr 15 06:07:42 slax dump1090-fa[2720]: Found Rafael Micro R820T tuner
Apr 15 06:07:43 slax dump1090-fa[2720]: rtlsdr: tuner gain set to about 58.6 dB (gain step 29) (tuner AGC enabled)
Apr 15 06:07:43 slax dump1090-fa[2720]: adaptive: using 50% duty cycle
Apr 15 06:07:43 slax dump1090-fa[2720]: adaptive: enabled adaptive gain control with gain limits 0.0dB (step 0) .. 58.6dB (step 29)
Apr 15 06:07:43 slax dump1090-fa[2720]: adaptive: enabled dynamic range control, target dynamic range 30.0dB
Apr 15 06:07:43 slax dump1090-fa[2720]: Allocating 4 zero-copy buffers
Apr 15 06:07:53 slax dump1090-fa[2720]: adaptive: reached upper gain limit, halting dynamic range scan here

It’s in response to this topic: FYI: Alternatives to Raspberry Pi for this hobby as Pis are in very short supply worldwide.

Ah yes, they are indeed in short supply.

Back to WW2 tactics, lookouts with binoculars noting details with pencil in a notebook then calling a central contact who will then disseminate info to nearby parties :grinning: :sunglasses:

Geoff

You are right. The Radio was Generic DVB-T and the antena was the mag-mout whip supplied with the DVB-T, It was placed indoors on a cookie-can lid, just a meter away from the dongle (the length of coax of antenna is only one meter)

1 Like

[SOLVED] faup1090 is now working on HP Thin-Client 520 As well as on Desktop PC.

Downloaded a fresh copy of SLAX image, prepared microSD card with this image, and booted Slax on Desktop PC. Installed piaware & dump1090-fa as user root, and faup1090 failed again.

Re-imaged again, but this time, did NOT install piaware & dump1090-fa as user root.
Instead created user abcd, switched to user abcd, and then installed piaware & dump1090-fa
The faup1090 is working OK now

root@slax:~# adduser abcd  

root@slax:~# apt update
root@slax:~# apt install sudo

root@slax:~# usermod -a -G sudo abcd  
root@slax:~# groups abcd
abcd : abcd sudo

switched to user abcd,

root@slax:~# su abcd  
abcd@slax:/root$ cd  
abcd@slax:~$  

AS user abcd nstalled Piaware & dump1090-fa and all working OK. Next booted on HP Thin-Client, also working OK.

piaware

CLICK ON IMAGE TO SEE BIGGER SIZE
CLICK AGAIN TO SEE FULL SIZE

 

dump1090-fa

CLICK ON IMAGE TO SEE BIGGER SIZE
CLICK AGAIN TO SEE FULL SIZE

 

==========================================

Download Slax : https://www.slax.org/

 

Name Version Download MD5 Size Changelog
Slax 64bit 11.3.0 slax-64bit-11.3.0.iso 9d94c1796ba4c79fb05bb9f35c3fe188 277 MB changelog
Slax 32bit 11.3.0 slax-32bit-11.3.0.iso 042c2154a766bcecbf49d82ec32a658a 273 MB changelog
Slax iPXE 11.3.0 slax-ipxe.iso b347608199f2a0a70fb7a31beb460c20 0.88 MB changelog

 

Install Slax on USB Flash Memory OR microSD card: https://www.slax.org/starting.php

 

NOTE:

Current version of SLAX is based on Debian 11.3 Bullseye. It is an excellent lightweight distro, fast boot, which can be run from a USB flash memory or microSD card+USB card reader. By default it runs with persistance, but has option to change to run without persistance or totally from RAM to be selected at boot by pressing Esc button.

It also has a Network Manager icon on Desktop, and by running it, the network (wire/wifi/Bluetooth) can be configured easily, like settings in standard Debian Desktop.

 

============================================================

 

 

1 Like