Comments on: Using the Raspberry Pi as an RTL-SDR dongle Server https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/ Freelance Technical Author, Illustrator & Photographer Mon, 20 Jun 2022 09:46:45 +0000 hourly 1 https://wordpress.org/?v=6.4.2 By: Mike Richards https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-356543 Mon, 20 Jun 2022 09:46:45 +0000 https://photobyte.org/?p=697#comment-356543 In reply to Iain.

Hi Iain,

Pleased to hear it worked well for you. Thanks for taking the time to let me know.

Mike – G4WNC

]]>
By: Iain https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-355593 Sun, 19 Jun 2022 08:10:14 +0000 https://photobyte.org/?p=697#comment-355593 Hi Mike,

Thanks for all this information, just set up and sdr server as per your instructions and it worked first time!

Keep doing all the good work

]]>
By: Mike Richards https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-293473 Sun, 30 Jan 2022 12:34:18 +0000 https://photobyte.org/?p=697#comment-293473 In reply to Ferry PD9FER.

Hi Ferry,

Look carefully at my instructions; you have two errors in your script:
1 – The sleep 15 statement should be immediately after the line: #Print the IP address
2 – The line that runs the server (/usr/local/bin/rtl_tcp -a $_IP&) should be before the line containing fi
Here’s an example of how it should look:

# Print the IP address
sleep 15
_IP=$(hostname -I) || true
if [ “$_IP” ]; then
printf “My IP address is %s\n” “$_IP”
/usr/local/bin/rtl_tcp -a $_IP &
fi

exit 0

]]>
By: Ferry PD9FER https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-292928 Thu, 27 Jan 2022 21:52:39 +0000 https://photobyte.org/?p=697#comment-292928 Don’t know whats going on

Running from the cmd line it works fine.
But running via rc.local I can’t connect.

#!/bin/sh -e
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0” on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ “$_IP” ]; then
printf “My IP address is %s\n” “$_IP”
fi

sleep 15
/usr/local/bin/rtl_tcp -a $_IP &

exit 0

Any idea’s?

73, Ferry PD9FER

]]>
By: Mike Richards https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-252249 Sun, 17 Oct 2021 11:42:51 +0000 https://photobyte.org/?p=697#comment-252249 In reply to Ben.

Ben,

The final message reports that it’s listening on 192.168.0.25, so it all looks fine. I suspect the problem is connected with how you’re accessing the dongle.

Here’s what you should be doing:

** Run SDR Sharp on another PC on the same local network.
** In the Sources box select RTL-SDR TCP
** Go to the cogs icon at the top and enter the Pi IP address in the host box (192.168.0.25)
** The Port box will probably already be set to 1234 but, if not, correct it
** Click the Play arrow at the top and the receiver should start
** It will probably be very deaf, so go to the cogs icon again and move the RF gain slider till you start hearing signals. Don’t push this too far or you’ll cause overload.

NB: Ideally the PC and the Pi should be using wired Ethernet unless you have a particularly good local WI-Fi system. The dongle needs to be able to send a 32Mb/s continuous data stream and few Wi-Fi systems can manage that reliably.

Hope that helps,

Regards,

Mike – G4WNC

]]>
By: Ben https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-252241 Sun, 17 Oct 2021 11:24:14 +0000 https://photobyte.org/?p=697#comment-252241 pi@raspberrypi:~ $ rtl_test -t
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.
pi@raspberrypi:~ $ rtl_tcp -a 192.168.0.25
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Tuned to 100000000 Hz.
listening…
Use the device argument ‘rtl_tcp=192.168.0.25:1234’ in OsmoSDR (gr-osmosdr) source
to receive samples in GRC and control rtl_tcp parameters (frequency, gain, …).

Can’t get it to work still

]]>
By: Mike Richards https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-252240 Sun, 17 Oct 2021 11:10:45 +0000 https://photobyte.org/?p=697#comment-252240 In reply to Ben.

Hi Ben,

I think you’ve now spotted that you missed the space in the cmake command. Spaces are difficult to show reliably as it depends how your browser renders the page and what size screen you’re using.
The message you’re getting from rtl_test -t is correct. The aborting message is normal. It occurs because the test program checks to see if your dongle uses an R820T or E4000 tuner. When it finds a tuner it reports the details and then aborts when the alternative tuner is not found. You should be all running now.

Regards,

Mike

]]>
By: Ben https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-252233 Sun, 17 Oct 2021 10:54:02 +0000 https://photobyte.org/?p=697#comment-252233 In reply to Mike Richards.

Mine does the same

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
No E4000 tuner found, aborting

I ran RTL_test-t from the terminal session as per the guide.

]]>
By: Ben https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-252216 Sun, 17 Oct 2021 10:05:35 +0000 https://photobyte.org/?p=697#comment-252216 In reply to Ben.

My bad

cmake ../ -DINSTALL_UDEV_RULES=ON

should have been

cmake ../ -DINSTALL_UDEV_RULES=ON

]]>
By: Ben https://photobyte.org/using-the-raspberry-pi-as-an-rtl-sdr-dongle-server/#comment-252215 Sun, 17 Oct 2021 10:02:01 +0000 https://photobyte.org/?p=697#comment-252215 Like most every other guide I’ve followed for the Rasberry Pi, it doesn’t work.

cmake ../ -DINSTALL_UDEV_RULES=ON
bash: cmake../DINSTALL_UDEV_RULES=ON: No such file or directory

All previous steps were performed ok with no errors.

]]>