RTL2832 dongle with Ubuntu based Linux systems. My success story

galenthurber

New Member
RTL2832 dongle with Ubuntu based Linux systems


stop all rtl2832 modules (system may have installed a Digital TV driver)
edit
sudo vi /etc/modprobe.d/blacklists.conf
add
blacklist rtl2832
blacklist rtl2832_sdr
blacklist dvb_usb_rtl28xxu


reboot
then in a terminal check
sudo lsmod |grep rtl28
nothing should be listed


Get a data collector.
pfclient wants to see imported data in raw - beast binary format


obtain & run a collector / controller
dump1090 does not open all ports that are needed
mr-dump1090 provides port 30005


I'm using the flightradr24 feeder package which includes mr-dump
You must setup fr24feed and select mr-dump1090 instead of dump1090
select raw and beast binary, this will enable the collector on port 30005


reboot
mr-dump1090 should auto run on startup


to manually start the collector
cd /usr/lib/fr24feed
./mr-dump1090 --interactive --raw --net-beast
this will start the collector
that listen / outputs / parses on the following ports
30001 30002 30003 30005 8080
sudo netstat -l -p -c |grep dump
will show a result like this when working
tcp 0 0 *:30005 *:* LISTEN 18380/mr-dump1090
tcp 0 0 *:http-alt *:* LISTEN 18380/mr-dump1090
tcp 0 0 *:30001 *:* LISTEN 18380/mr-dump1090
tcp 0 0 *:30002 *:* LISTEN 18380/mr-dump1090
tcp 0 0 *:30003 *:* LISTEN 18380/mr-dump1090
udp 0 0 *:58440 *:* 22949/mr-dump1090
port 30005 is what you want, its formatted beast binary & raw


To kill the collector mr-dump109
enter command in terminal
sudo killall mr-dump1090 -9


setup your psclient by browsing to
127.0.0.1:30053
Enter in your sharing code,
location
set url 127.0.0.1:30005
and beast binary mode.
from a terminal
netstat -t -p |grep dump
you should see ESTABLISHED and something like this
tcp 0 0 localhost:30005 localhost:48750 ESTABLISHED 23771/mr-dump1090


final step once you are collecting data into the pfclient is to link up your computer PF database
https://planefinder.net/sharing/
 
Top