Add UAT to existing ADS-B PiAware 7.2 add on

Oh, and even thou the status sez I’m sending data, my stats say I haven’t sent any in the last 6 hours.

 

 

These 2 commands are single line each, but are wrapped in two lines each by forum.

OK I will post these 2 commands below again in a way to defeat wrapping by forum. However rigt half of these commands will not be directly visible and you will have to scroll righ to see and copy full command:

Command (1) to add serial number to file /etc/default/dump1090-fa

The single-line command below is very long and may not be fully visible
Please scroll riht to see and copy in full

sudo sed -i 's/^RECEIVER_SERIAL=.*/RECEIVER_SERIAL=00001090/' /etc/default/dump1090-fa  

 

Command (2) to add serial number to file /etc/default/dump978-fa

The single-line command below is very long and may not be fully visible
Please scroll riht to see and copy in full

sudo sed -i 's/driver=rtlsdr[^ ]* /driver=rtlsdr,serial=00000978 /' /etc/default/dump978-fa  

 

 

 

 

Oh, I should have given you the link to my following “How to” to make your life easy.
You don’t need HDMI, Monitor and Keyboard to setup SSH, WiFI, etc. Just brows this How-To:

[Package Install] How to Install and Configure Piaware on Raspberry Pi OS Image / RPi

NOTE: Above is a pre piaware ver 6.0 “How To”, but is still valid except for commands in it’s following item:

6.2 - Configure dump1090-fa & dump978-fa to use dongles of assigned serial numbers

I have given updated commands (for Piaware versions 6.0 and above) in the current thread. Please see my post above

 

 

Oh all it needed was a space to couple the 2 lines, any way here's waht happend with the 2 commands, 978 appeared to work 1090 didn't.

`Preformatted text`waldo81@raspberrypi:~ $ sudo sed -i 's/driver=rtlsdr[^ ]* /driver=rtlsdr,serial=00000978 /' /etc/default/dump978-fa  
waldo81@raspberrypi:~ $ sudo sed -i 's/^RECEIVER_SERIAL=.*/RECEIVER_SERIAL=00001090/' /etc/default/dump1090-
sed: can't read /etc/default/dump1090-: No such file or directory
waldo81@raspberrypi:~ $
Got the status page to look good (needed to restart piaware)

BUT my stat page ID is different from the feeder ID in the status command result (at end of this message) How to get the 2 ID's to match???


waldo81@raspberrypi:~ $ sudo piaware-status
PiAware master process (piaware) is running with pid 14383.
PiAware ADS-B client (faup1090) is running with pid 14425.
PiAware ADS-B UAT client (faup978) is running with pid 14428.
PiAware mlat client (fa-mlat-client) is running with pid 14422.
Local ADS-B receiver (dump1090-fa) is running with pid 14264.
Local ADS-B UAT receiver (dump978-fa) is running with pid 14382.

dump1090-fa (pid 14264) is listening for ES connections on port 30005.
dump978-fa (pid 14382) is listening for UAT connections on port 30978.
faup1090 is connected to the ADS-B receiver.
faup978 is connected to the ADS-B UAT receiver.
piaware is connected to FlightAware.

dump978 is producing data on localhost:30978.
dump1090 is producing data on localhost:30005.

Your feeder ID is d952b8c1-38db-449d-b25f-5dd051439e90 (from /var/cache/piaware/feeder_id)
waldo81@raspberrypi:~ $ 

My Stat page ID:
                  1344def0-e7d3-48cd-b2b9-837c9a4abc31

Got it to work! (Googled how to change ID)

Thanks for your Patience and help.

 

The reason for failure of dump1090-fa command is that while copy-pasting, you missed fa at the very end of command

You got
dump1090-
instead of
dump1090-fa

I’m attempting to do the same thing when I get the chance. I have an additional receiver and a 978MHz antenna.

Wade

1 Like

Hi,

I hope you can help me. I did all as instructed but it looks like the raspberry pi only want to use one RTL SDR device. When I’m only using the 1090 dongle I get normal 1090 feeds. after I add in the 978 dongle i get this message

Found 2 device(s):
0: Generic RTL2832U OEM
1: Generic RTL2832U

Using device 0: Generic RTL2832U OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.

raspberry pi only reads from the 978 dongle. The 1090dump_fa reverts back to RECEIVER=0 instead of 00001090.

 

Seems your dongles are NOT serialized. If these were serialized, their serial numbers will display like follows:

pi@raspberrypi:~ $ sudo apt install rtl-sdr

pi@raspberrypi:~ $ rtl_test -t

Found 2 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000978
  1:  Realtek, RTL2832U, SN: 00001090

Using device 0: Generic RTL2832U OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.

 

You have to
(1) Serialize both dongles
(2) Configure dump1090-fa and dump978-fa to their respective dongle’s serial nmbers.

Please follow all steps below to achieve above noted items (1) and (2).

 

(1) Serialize dongles as follows

If you want to receive both ES1090 and UAT978, then two dongles are required, one for 1090 MHz and other for 978 MHz. In this case you will have to serialize dongles so that correct dongle+antenna sets are used by dump1090-fa and dump978-fa.

IMPORTANT:

While serializing dongles, plug in only ONE dongle at a time.
After serializing first dongle, unplug it and plug in the second dongle and serialize it

For 1090 Mhz dongle: use serial # 00001090
For 978 Mhz dongle : use serial # 00000978

(1.1) Issue following command to install serialization software:

sudo apt install rtl-sdr

 

(1.2) Unplug ALL DVB-T dongles from RPi

(1.3) Plugin only that DVB-T dongle which you want to use for dump1090-fa. All other dongles should be unplugged.

(1.4) Issue following command. Say yes when asked for confirmation to chang serial number.

rtl_eeprom -s 00001090

 

(1.5) Unplug 1090 dongle

(1.6) Plugin only that DVB-T dongle which you want to use for dump978-fa. All other dongles should be unplugged.

(1.7) Issue following command. Say yes when asked for confirmation to change serial number.

rtl_eeprom -s 00000978

(1.8) Unplug 978 dongle

IMPORTANT: After completing above commands, unplug and then replug both dongles.

 

(2) - Configure dump1090-fa & dump978-fa to use dongles of assigned serial numbers

sudo sed -i 's/^RECEIVER_SERIAL=.*/RECEIVER_SERIAL=00001090/' /etc/default/dump1090-fa    

sudo sed -i 's/driver=rtlsdr[^ ]* /driver=rtlsdr,serial=00000978 /' /etc/default/dump978-fa    

(3) - Reboot so that dump1090-fa & dump978-fa can pick their assigned dongles at boot

sudo reboot

 

It is serialized.

pi@piaware:~ $ rtl_test -t

Found 1 device(s):

0: Realtek, RTL2832U, SN: 00001090

Using device 0: Generic RTL2832U

usb_claim_interface error -6

Failed to open rtlsdr device #0.

I think my issue is after I plugin the UAT SDR the running 1090 with normal 72+ aircraft feed suddenly looses its feed and drops to zero. I have both dongle serialised. I changed the RECEIVER_SERIAL to 00001090 on the dump1090_fa successful and rebooted. after I put in UAT SDR the dump1090_fa reverts back to RECEIVER_SERIAL=0

It seems you are using Piaware SD card image.
This is confirmed if your command prompt is pi@piaware as shown below:

image

In case of SD Card image, you have to use following commands to configure the dump1090-fa and the dump978-fa:

sudo piaware-config rtlsdr-device-index 00001090   

sudo piaware-config uat-sdr-device driver=rtlsdr,serial=00000978   

sudo piaware-config receiver-type rtlsdr   

sudo piaware-config uat-receiver-type sdr   

After issueing above mentioned 4 commands, PLUG-IN BOTH DONGLES, and reboot Pi to implement configuration settings

sudo reboot

 

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