Below is the the link to my following “How to” to make your life easy.
[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
Updated 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
Updated 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
How to Install and Configure Piaware SD card image - Quickstart Guide