[OUTDATED] Howto Install Piaware 3.8.1 on Ubuntu 18 & 19 and Debian 10 amd64 on PC

Hard to say because I have not make anything on Ubuntu 18.04 and It worked until a day before…
Now, after a fresh install of Ubuntu 20.04 and following the @abcd567 instructions, everything working like a charm, on both 18.04 and 20.04 (Piaware and fr24feed)
For now, I’m not allowing any update. Just in case…

I seem to have a problem with “URL” in graphs it states http://localhost /dump1090-fa
but im dammed if i can find correct url to replace it with (ubuntu)
i have seen but not understood this para
adding different extensions

Module dump1090>
                <Instance localhost>
                        URL "http://localhost/dump1090-fa"
                </Instance>
        </Module>
</Plugin>

Is it your new installation that is producing 1,000’s of “others”?

Yes it is i was adjusting w5 down to w3 and hit 2 instead and within 2 minutes of reboot and checking all is well 1400 more so it shocked me how fast it was just minutes
im using a gaming machine i have spare here i’ve swapped it from my suffolktest setup to my second unit now
alls well now i think
i have fat fingers

OK, thank you for the explanation.

Something is still not correct.
More than half of your reported aircraft are “others” today.

I updated my amd64 system to Ubuntu 20 and now I am stuck on this:

The following packages have unmet dependencies:
librtlsdr-dev : Depends: librtlsdr0 (= 0.6.0-3) but 0.6 is to be installed
soapysdr0.7-module-rtlsdr : Depends: librtlsdr0 (>= 0.6.0) but 0.6 is to be installed

Any ideas?

@SoNic67

Ubuntu 20 repository lacks so many packages.

Try the method given for installing dump1090-fa on Pi4 with Ubuntu Server 20.04 arm64

1 Like

I did that previously. Replaced the arm64 with amd64…

May be Ubuntu auto upgraded it.

Did you give following comnand immediately after installation of package to block its upgrade?

# Issue following command to prevent Ubuntu from replacing above 
## installed packages by packages from repository during any unattended upgrade. 

$ sudo apt-mark hold librtlsdr0 librtlsdr-dev 

 

Also check installed versions:

apt policy librtlsdr0
apt policy librtlsdr-dev

If these are upgraded, purge these

sudo apt purge librtlsdr0
sudo apt purge librtlsdr-dev

Next run sudo dpkg -i on packages you built, then run sudo apt-mask command immediately

1 Like

sorin@Ubuntu-Latitude-E6420:~$ apt policy librtlsdr0
librtlsdr0:
Installed: 0.6
Candidate: 0.6.0-3
Version table:
0.6.0-3 500
500 Index of /ubuntu focal/universe amd64 Packages
*** 0.6 100
100 /var/lib/dpkg/status
sorin@Ubuntu-Latitude-E6420:~$ apt policy librtlsdr-dev
librtlsdr-dev:
Installed: 0.6
Candidate: 0.6.0-3
Version table:
0.6.0-3 500
500 Index of /ubuntu focal/universe amd64 Packages
*** 0.6 100
100 /var/lib/dpkg/status

Strangely it looks like I am feeding the FA website (all greens), and FR24 website, but I can’t access the local web page.

On that IP address I see:

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx.

@SoNic67
You have web server nginx installed. The dump1090-fa by default uses web server lighttpd. You will need to reconfigure settings to match nginx. I never used nginx, so cannot help in this, but @wiedehopf can most likely help you

I didn’t intended to have it… hmm. I’ll purge it.

LE: That worked.

Hi,
Yesterday, everything working OK. Today, I got 404 not found for localhost/dump1090-fa. No map. But, dump1090-fa it’s working and I’m feeding Flightaware and Fr24.

● 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 Sat 2020-08-01 11:10:08 -03; 2min 33s ago
Docs: PiAware - ADS-B and MLAT Receiver - FlightAware
Main PID: 3814 (dump1090-fa)
Tasks: 3 (limit: 9328)
Memory: 4.4M
CGroup: /system.slice/dump1090-fa.service
└─3814 /usr/bin/dump1090-fa --device-index 0 --gain -10 --ppm 0 --max-range 360 --fix --net --net-heartbeat 60 --net-ro-size 1300 --net-ro-interval 0.2 --net-ri-port 0 --net-ro-port 30002 →

ago 01 11:10:08 evo-ubuntu2004 systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
ago 01 11:10:08 evo-ubuntu2004 dump1090-fa[3814]: Sat Aug 1 11:10:08 2020 -03 dump1090-fa 3.8.1 starting up.
ago 01 11:10:08 evo-ubuntu2004 dump1090-fa[3814]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00001000)
ago 01 11:10:08 evo-ubuntu2004 dump1090-fa[3814]: Detached kernel driver
ago 01 11:10:09 evo-ubuntu2004 dump1090-fa[3814]: Found Rafael Micro R820T tuner
ago 01 11:10:09 evo-ubuntu2004 dump1090-fa[3814]: rtlsdr: enabling tuner AGC
ago 01 11:10:09 evo-ubuntu2004 dump1090-fa[3814]: Allocating 4 zero-copy buffers

Go figure!

For Ubuntu 20.02 amd64 on PC, try same instructions as for Ubuntu Server 20.02 arm64 on Pi4, taking care of these 2 points:

(1) In following dpkg commands replace package names with arm64 by name of packages you have actually built

$ sudo dpkg -i librtlsdr0_0.6_arm64.deb  

$ sudo dpkg -i librtlsdr-dev_0.6_arm64.deb   

$ sudo dpkg -i dump1090-fa_3.8.1_arm64.deb   

$ sudo dpkg -i tcl-tls_1.7.16-1+fa1_arm64.deb   

$ sudo dpkg -i piaware_3.8.1~ubuntu1804+1_arm64.deb 

(2) Dont forget to mask as follows

## Issue following command to prevent Ubuntu from replacing above
## installed packages by packages from repository during any unattended upgrade.

$ sudo apt-mark hold librtlsdr0 librtlsdr-dev  


## Issue following command to prevent Ubuntu from replacing above
## installed packages by packages from repository during any unattended upgrade.

$ sudo apt-mark hold tcl-tls 
2 Likes

@abcd567
Worked!!
Thanks again!

Wow. Thank you for great instructions. I just installed a new Debian 10 system on an archaic (at least 15 years old) PC (atom processor). Was trying to piece together how to get piaware 3.8.1 (1090 978) running when I came across your instructions. Very straight forward for a Linux newbie

Thanks Again
Charlie

Installation of ModeSMixer2 on Debian 10.5 (Buster) amd64

The modesmixer2 binary is not available for Debian Buster amd64. As Ubuntu18 is based on Debian Buster, I tried to use its modesmixer2 binary:

“modesmixer2_Ubuntu_18.04_x86_64_20190223.tgz”

It failed due to missing “libssl.so.1.0.0”

$ INSTALL_FOLDER=/usr/share/mm2  
$ sudo mkdir ${INSTALL_FOLDER} 
$ sudo wget -O ${INSTALL_FOLDER}/modesmixer2_Ubuntu_18.04_x86_64_20190223.tgz "https://drive.google.com/uc?export=download&id=1QzUqYTt-Bf-m817-i3W_RvodB019kxC5"  
$ sudo tar xvzf ${INSTALL_FOLDER}/modesmixer2_Ubuntu_18.04_x86_64_20190223.tgz -C ${INSTALL_FOLDER} 
$ sudo ln -s ${INSTALL_FOLDER}/modesmixer2 /usr/bin/modesmixer2  

$ modesmixer2 --inConnect 127.0.0.1:30005 --web 8787 --location 43.5:-79.6 

modesmixer2: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Debian package search showed “libssl1.0.0” is NOT available in Debian Buster and Stretch resources, but is available in Debian Jessie resources.
Downloaded Jessie version and tried to install, but failed:

$ sudo wget -O ${INSTALL_FOLDER}/libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb "http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb"  

$ sudo dpkg -i ${INSTALL_FOLDER}/libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb  

Selecting previously unselected package libssl1.0.0:amd64.
dpkg: regarding .../libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb containing libssl1.0.0:amd64, pre-dependency problem:
 libssl1.0.0 pre-depends on multiarch-support
  multiarch-support is not installed.

dpkg: error processing archive /usr/share/mm2/libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb (--install):
 pre-dependency problem - not installing libssl1.0.0:amd64
Errors were encountered while processing:
 /usr/share/mm2/libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb

Installed package “multiarch-support” and could install the libssl1.0.0 from Jessie resources.

$ sudo apt install multiarch-support  

$ sudo dpkg -i ${INSTALL_FOLDER}/libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb  

Now tested, Bingo! it is working

$ modesmixer2 --inConnect 127.0.0.1:30005 --web 8787 --location 43.5:-79.6  

2020-08-17 11:57:13.890  INFO     ModeSMixer2 v.20190216
2020-08-17 11:57:13.890  INFO     Magnetic declination calculated
2020-08-17 11:57:13.893  INFO     inConnect(127.0.0.1:30005) connecting 127.0.0.1:30005
2020-08-17 11:57:13.893  INFO     inConnect(127.0.0.1:30005) connected
2020-08-17 11:57:14.430  INFO     inConnect(127.0.0.1:30005) BEAST data stream detected
2020-08-17 11:57:26.697  INFO     Coverage area was determined
2020-08-17 11:57:26.697  INFO     Magnetic declination calculated
2 Likes

I wonder if we can upgrade to version 4.0.

@SoNic67
You have to build piaware and dump1090-fa packages again using current source-code
Wait till this weekend when I will try it.

2 Likes