NOTE:
This method has been tested on dump1090-mutability v1.15~dev
It has NOT been tested on dump1090-mutability v1.14 supplied with FR24 feeder / Pi24. May work / may not work with it.
Credit:
- Oliver Jowett (obj)
- yxespotter
- abcd567
STEP-1: Serialize Dongles
Serialize two dongles (DVB-T), one serial number 00000000, other serial number 00000001
1. Stop dump1090-mutability.
2. Plug in one Dongle into Pi, serialize it, and put sticker of serial number.
3. Unplug first dongle, plugin 2nd dongle and serialize it, and put sticker of serial number.
Is My DVB-T RTL SDR Dongle Healthy? >> Post #3: How to Change Serial Number of Dongle
STEP-2: Create 2nd instance of dump1090-mutability which will use 2nd Dongle.
(1) Make a copy of file dump1090-mutability with name dump1090-mutability-2. Both original & copy in folder /etc/init.d/
Edit the copy /etc/init.d/dump1090-mutability-2
Make changes as shown in RED, and save file
(2) Make a copy of file `dump1090-mutability` with name `dump1090-mutability-2`. Both original & copy in folder /etc/default/
Edit the copy /etc/default/dump1090-mutability-2
Make changes as shown below in RED, and save file.
(3) Update May 13, 2018 - IMPORTANT STEP, DO NOT MISS.
Implement changes and make 2nd instance Auto-Start at reboot.
(4) Additional Info:
If anytime you want to restart 2nd instance (i.e. dump1090-mutability-2), use following command:
STEP-2: Enable 2 Separate Maps for 2 Dongles.
Map 1 at < IP OF PI >/dump1090/gmap.html
Map 2 at < IP OF PI >/dump1090-2/gmap.html
(1) Make a copy of FOLDER dump1090-mutability with name dump1090-mutability-2. Both original & copy in folder /usr/share/. This folder contains folder `html` which contains all map files.
(2) Make a copy of FOLDER dump1090-mutability with name dump1090-mutability-2. Both original & copy in folder /run. This folder contains all json files and aircraft data.
(3) Empty the contents of folder /run/dump1090-mutability-2 so that it can store json/data from 2nd Dongle
(4) Edit file /etc/lighttpd/conf-enabled/89-dump1090.conf to ADD code for dump1090-mutability-2
(5) ADD CODE: Copy original two blocks of code in file (shown BLACK) and paste below original code (shown RED).
(6) In the pasted code (RED), Add -2 (shown GREEN). Save file
(6) Incorporate above changes in Lighttpd
(7) Now reboot
.
MAP-1:
MAP-2:
.
This method has been tested on dump1090-mutability v1.15~dev
It has NOT been tested on dump1090-mutability v1.14 supplied with FR24 feeder / Pi24. May work / may not work with it.
Credit:
- Oliver Jowett (obj)
- yxespotter
- abcd567
STEP-1: Serialize Dongles
Serialize two dongles (DVB-T), one serial number 00000000, other serial number 00000001
1. Stop dump1090-mutability.
2. Plug in one Dongle into Pi, serialize it, and put sticker of serial number.
3. Unplug first dongle, plugin 2nd dongle and serialize it, and put sticker of serial number.
Is My DVB-T RTL SDR Dongle Healthy? >> Post #3: How to Change Serial Number of Dongle
STEP-2: Create 2nd instance of dump1090-mutability which will use 2nd Dongle.
(1) Make a copy of file dump1090-mutability with name dump1090-mutability-2. Both original & copy in folder /etc/init.d/
Code:
cd /etc/init.d sudo cp dump1090-mutability dump1090-mutability-2
Edit the copy /etc/init.d/dump1090-mutability-2
Code:
sudo nano /etc/init.d/dump1090-mutability-2
(2) Make a copy of file `dump1090-mutability` with name `dump1090-mutability-2`. Both original & copy in folder /etc/default/
Code:
cd /etc/default sudo cp dump1090-mutability dump1090-mutability-2
Code:
sudo nano /etc/default/dump1090-mutability-2
(3) Update May 13, 2018 - IMPORTANT STEP, DO NOT MISS.
Implement changes and make 2nd instance Auto-Start at reboot.
Code:
sudo update-rc.d dump1090-mutability-2 defaults sudo systemctl daemon-reload sudo reboot
If anytime you want to restart 2nd instance (i.e. dump1090-mutability-2), use following command:
Code:
sudo systemctl restart dump1090-mutability-2
STEP-2: Enable 2 Separate Maps for 2 Dongles.
Map 1 at < IP OF PI >/dump1090/gmap.html
Map 2 at < IP OF PI >/dump1090-2/gmap.html
(1) Make a copy of FOLDER dump1090-mutability with name dump1090-mutability-2. Both original & copy in folder /usr/share/. This folder contains folder `html` which contains all map files.
Code:
cd /usr/share sudo cp -r dump1090-mutability dump1090-mutability-2
Code:
cd /run sudo cp -r dump1090-mutability dump1090-mutability-2
Code:
cd /run/dump1090-mutability-2 sudo rm *.*
Code:
sudo nano /etc/lighttpd/conf-enabled/89-dump1090.conf
(6) In the pasted code (RED), Add -2 (shown GREEN). Save file
(6) Incorporate above changes in Lighttpd
Code:
sudo lighty-enable-mod dump1090 sudo service lighttpd force-reload
(7) Now reboot
Code:
sudo reboot
MAP-1:
MAP-2:
.
Comment