未标题-1.png
捕获.PNG
无标题.png


git clone https://github.com/osmocom/rtl-sdr.git

cd rtl-sdr/
mkdir build 
cd build 
cmake .. 
make
sudo make install 
sudo ldconfig   # <---缺少这步会导致没有帮助文档

sudo rtl_tcp -a 0.0.0.0

若输出

Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM

Kernel driver is active, or device is claimed by second instance of librtlsdr.
In the first case, please either detach or blacklist the kernel module
(dvb_usb_rtl28xxu), or enable automatic detaching at compile time.

usb_claim_interface error -6
Failed to open rtlsdr device #0.

原因是内核已占用 则加入blacklist

cd /etc/modprobe.d
sudo vim no-rtl.conf

blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830

来自 http://www.satsignal.eu/raspberry-pi/dump1090.html


进阶:DUMP1090

git clone git://github.com/MalcolmRobb/dump1090.git
cd dump1090
make

./dump1090 --interactive --net

真香

2.gif
15359708095b8d0df94fa9a6.82163245.jpg