install rtl_tcp for SDR over TCP on debian

Anything on and off topic
User avatar
DJ-Daz
Site Admin
Posts: 389
Joined: Tue Nov 03, 2020 2:16 pm

Unread post

Code: Select all

sudo apt install pkg-config

Code: Select all

sudo apt install git cmake libusb-1.0-0-dev

Code: Select all

apt-get install build-essentials

Code: Select all

git clone git://git.osmocom.org/rtl-sdr.git
cd rtl_sdr
mkdir build

Code: Select all

cmake /root/rtl-sdr -DINSTALL_UDEV_RULES=ON

Code: Select all

make install

Code: Select all

cp rtl-sdr.rules /etc/udev/rules.d

Code: Select all

ldconfig

Code: Select all

nano /etc/modprobe.d/blacklist-rtl.conf
Add this text

Code: Select all

blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830

edit rc.local to start rtl_tcp on boot

Code: Select all

nano /etc/rc.local
add:

Code: Select all

sleep 15
cd ~
rtl_tcp -a 192.168.0.26 >/dev/null 2>&1&
exit 0
Source - with my corrections


User avatar
DJ-Daz
Site Admin
Posts: 389
Joined: Tue Nov 03, 2020 2:16 pm

Unread post

After some playing around, I've found rtl_tcp a lot more reliable than airspy. It almost NEVER crashes.
I am running it on a Raspberry Pi 4 ARM Cortex-A72 CPU ( ARM v8, BCM2711B0)
Post Reply