<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: RTL-SDR Server as a service on Raspberry Pi	</title>
	<atom:link href="https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/feed/" rel="self" type="application/rss+xml" />
	<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/</link>
	<description>Freelance Technical Author, Illustrator &#38; Photographer</description>
	<lastBuildDate>Wed, 25 Aug 2021 18:34:39 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>
		By: Mike Richards		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-229803</link>

		<dc:creator><![CDATA[Mike Richards]]></dc:creator>
		<pubDate>Wed, 25 Aug 2021 18:34:39 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-229803</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-229710&quot;&gt;Mike&lt;/a&gt;.

Hi Mike,

Thanks for the feedback. I&#039;m sure that will be very helpful to anyone installing from the repository. However, I prefer to build from source as radio related applications in the Pi repository are often out of date. Building from source is very quick and easy to follow. I&#039;ve modified the original post to make the requirement clearer.

Thanks,


Mike - G4WNC]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-229710">Mike</a>.</p>
<p>Hi Mike,</p>
<p>Thanks for the feedback. I&#8217;m sure that will be very helpful to anyone installing from the repository. However, I prefer to build from source as radio related applications in the Pi repository are often out of date. Building from source is very quick and easy to follow. I&#8217;ve modified the original post to make the requirement clearer.</p>
<p>Thanks,</p>
<p>Mike &#8211; G4WNC</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-229710</link>

		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Wed, 25 Aug 2021 13:37:56 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-229710</guid>

					<description><![CDATA[It took me ages to figure out why this doesn&#039;t work.

Firstly, when you install the package rather than build from source it is not installed in /usr/local/bin but /usr/bin - in that case the script needs altering.

Secondly, with the package, the udev rules are not installed in /etc but in /lib AND they have mode set to 0660 rather than 0666. This mode setting seems to prevent the UDEV rules working unless you modify it to 0666. Devil in the detail literally.

Thirdly - if you are on the internet then chances are you not running the default user &quot;pi&quot; and you need to modify the script accordingly.]]></description>
			<content:encoded><![CDATA[<p>It took me ages to figure out why this doesn&#8217;t work.</p>
<p>Firstly, when you install the package rather than build from source it is not installed in /usr/local/bin but /usr/bin &#8211; in that case the script needs altering.</p>
<p>Secondly, with the package, the udev rules are not installed in /etc but in /lib AND they have mode set to 0660 rather than 0666. This mode setting seems to prevent the UDEV rules working unless you modify it to 0666. Devil in the detail literally.</p>
<p>Thirdly &#8211; if you are on the internet then chances are you not running the default user &#8220;pi&#8221; and you need to modify the script accordingly.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike Richards		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-134089</link>

		<dc:creator><![CDATA[Mike Richards]]></dc:creator>
		<pubDate>Sun, 27 Sep 2020 17:43:24 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-134089</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-134070&quot;&gt;Scott&lt;/a&gt;.

Hi Scott,  Very useful observation. Thanks  Mike - G4WNC]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-134070">Scott</a>.</p>
<p>Hi Scott,  Very useful observation. Thanks  Mike &#8211; G4WNC</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Scott		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-134070</link>

		<dc:creator><![CDATA[Scott]]></dc:creator>
		<pubDate>Sun, 27 Sep 2020 16:26:11 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-134070</guid>

					<description><![CDATA[In case anyone is stuck getting this to work,  I copied and pasted the code shown but the single quotes came over as ` instead of &#039; in the rtl_tcp command.  Retyping those with the correct single quote character made it work.]]></description>
			<content:encoded><![CDATA[<p>In case anyone is stuck getting this to work,  I copied and pasted the code shown but the single quotes came over as ` instead of &#8216; in the rtl_tcp command.  Retyping those with the correct single quote character made it work.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kim		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31317</link>

		<dc:creator><![CDATA[Kim]]></dc:creator>
		<pubDate>Fri, 24 Aug 2018 16:02:04 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-31317</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31312&quot;&gt;Mike Richards&lt;/a&gt;.

Hi Mike,

IP is correct.
sudo systemctl status rtlsdr  throws an error.
Access not possible.

Thx for looking at it. 

Kim

pi@raspberrypi:~ $ sudo systemctl stop rtlsdr
pi@raspberrypi:~ $ hostname -I
10.10.176.18
2a02:a03f:54ec:5000:a7c8:cdb:5f88:945f 
pi@raspberrypi:~ $ sudo systemctl start rtlsdr
pi@raspberrypi:~ $ sudo systemctl status rtlsdr 
? rtlsdr.service - RTL-SDR Server
   Loaded: loaded (/etc/systemd/system/rtlsdr.service; disabled; vendor preset: 
   Active: activating (start-pre) since Fri 2018-08-24 17:50:25 CEST; 6s ago
  Process: 1127 ExecStart=/bin/sh -c ‘/usr/local/bin/rtl_tcp -a $(hostname -I)’ 
 Main PID: 1127 (code=exited, status=127); Control PID: 1130 (sleep)
   CGroup: /system.slice/rtlsdr.service
           ??control
             ??1130 /bin/sleep 15

aug 24 17:50:25 raspberrypi systemd[1]: Starting RTL-SDR Server...
lines 1-10/10 (END)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31312">Mike Richards</a>.</p>
<p>Hi Mike,</p>
<p>IP is correct.<br />
sudo systemctl status rtlsdr  throws an error.<br />
Access not possible.</p>
<p>Thx for looking at it. </p>
<p>Kim</p>
<p>pi@raspberrypi:~ $ sudo systemctl stop rtlsdr<br />
pi@raspberrypi:~ $ hostname -I<br />
10.10.176.18<br />
2a02:a03f:54ec:5000:a7c8:cdb:5f88:945f<br />
pi@raspberrypi:~ $ sudo systemctl start rtlsdr<br />
pi@raspberrypi:~ $ sudo systemctl status rtlsdr<br />
? rtlsdr.service &#8211; RTL-SDR Server<br />
   Loaded: loaded (/etc/systemd/system/rtlsdr.service; disabled; vendor preset:<br />
   Active: activating (start-pre) since Fri 2018-08-24 17:50:25 CEST; 6s ago<br />
  Process: 1127 ExecStart=/bin/sh -c ‘/usr/local/bin/rtl_tcp -a $(hostname -I)’<br />
 Main PID: 1127 (code=exited, status=127); Control PID: 1130 (sleep)<br />
   CGroup: /system.slice/rtlsdr.service<br />
           ??control<br />
             ??1130 /bin/sleep 15</p>
<p>aug 24 17:50:25 raspberrypi systemd[1]: Starting RTL-SDR Server&#8230;<br />
lines 1-10/10 (END)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike Richards		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31312</link>

		<dc:creator><![CDATA[Mike Richards]]></dc:creator>
		<pubDate>Thu, 23 Aug 2018 21:51:43 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-31312</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31309&quot;&gt;Kim&lt;/a&gt;.

Ok. With the Pi running make sure the service is stopped by entering:
sudo systemctl stop rtlsdr
Enter: hostname -I to make sure the Pi has an IP address
Enter: sudo systemctl start rtlsdr
That should start the service
Now enter sudo systemctl status rtlsdr and let me know what you get. If it all appears to be running test access from your SDR software.

Mike - G4WNC]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31309">Kim</a>.</p>
<p>Ok. With the Pi running make sure the service is stopped by entering:<br />
sudo systemctl stop rtlsdr<br />
Enter: hostname -I to make sure the Pi has an IP address<br />
Enter: sudo systemctl start rtlsdr<br />
That should start the service<br />
Now enter sudo systemctl status rtlsdr and let me know what you get. If it all appears to be running test access from your SDR software.</p>
<p>Mike &#8211; G4WNC</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kim		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31309</link>

		<dc:creator><![CDATA[Kim]]></dc:creator>
		<pubDate>Thu, 23 Aug 2018 20:34:39 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-31309</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31307&quot;&gt;Mike Richards&lt;/a&gt;.

Hi Mike,

That line is included and I have tried different timings.

Regards,

Kim]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31307">Mike Richards</a>.</p>
<p>Hi Mike,</p>
<p>That line is included and I have tried different timings.</p>
<p>Regards,</p>
<p>Kim</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike Richards		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31307</link>

		<dc:creator><![CDATA[Mike Richards]]></dc:creator>
		<pubDate>Thu, 23 Aug 2018 15:50:14 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-31307</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31306&quot;&gt;Kim&lt;/a&gt;.

Hi Kim,

This may be because your Pi doesn&#039;t have an IP address when the rtlsdr service starts. Try updating the unit file to include the following line in the [Service] section:
ExecStartPre=/bin/sleep 15

This adds a 15 second delay to allow the IP address to be allocated after the network is up.

See the &lt;a href=&quot;https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/&quot;&gt;latest instructions &lt;/a&gt;for full details.

Regards,


Mike - G4WNC]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31306">Kim</a>.</p>
<p>Hi Kim,</p>
<p>This may be because your Pi doesn&#8217;t have an IP address when the rtlsdr service starts. Try updating the unit file to include the following line in the [Service] section:<br />
ExecStartPre=/bin/sleep 15</p>
<p>This adds a 15 second delay to allow the IP address to be allocated after the network is up.</p>
<p>See the <a href="https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/">latest instructions </a>for full details.</p>
<p>Regards,</p>
<p>Mike &#8211; G4WNC</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kim		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-31306</link>

		<dc:creator><![CDATA[Kim]]></dc:creator>
		<pubDate>Thu, 23 Aug 2018 14:47:26 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-31306</guid>

					<description><![CDATA[Server does not start @reboot ( see previous posts )
Only works with rtl_tcp -a IP_adddress

pi@raspberrypi:~ $ sudo systemctl status rtlsdr
? rtlsdr.service - RTL-SDR Server
   Loaded: loaded (/etc/systemd/system/rtlsdr.service; enabled; vendor preset: enabled)
   Active: activating (start-pre) since Thu 2018-08-23 16:34:37 CEST; 6s ago
  Process: 736 ExecStart=/bin/sh -c ‘/usr/local/bin/rtl_tcp -a $(hostname -I)’ (code=exited, status=127)
 Main PID: 736 (code=exited, status=127); Control PID: 745 (sleep)
   CGroup: /system.slice/rtlsdr.service
           ??control
             ??745 /bin/sleep 15

aug 23 16:34:37 raspberrypi systemd[1]: Starting RTL-SDR Server...]]></description>
			<content:encoded><![CDATA[<p>Server does not start @reboot ( see previous posts )<br />
Only works with rtl_tcp -a IP_adddress</p>
<p>pi@raspberrypi:~ $ sudo systemctl status rtlsdr<br />
? rtlsdr.service &#8211; RTL-SDR Server<br />
   Loaded: loaded (/etc/systemd/system/rtlsdr.service; enabled; vendor preset: enabled)<br />
   Active: activating (start-pre) since Thu 2018-08-23 16:34:37 CEST; 6s ago<br />
  Process: 736 ExecStart=/bin/sh -c ‘/usr/local/bin/rtl_tcp -a $(hostname -I)’ (code=exited, status=127)<br />
 Main PID: 736 (code=exited, status=127); Control PID: 745 (sleep)<br />
   CGroup: /system.slice/rtlsdr.service<br />
           ??control<br />
             ??745 /bin/sleep 15</p>
<p>aug 23 16:34:37 raspberrypi systemd[1]: Starting RTL-SDR Server&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Neil P		</title>
		<link>https://photobyte.org/rtl-sdr-server-as-a-service-on-raspberry-pi/#comment-30895</link>

		<dc:creator><![CDATA[Neil P]]></dc:creator>
		<pubDate>Fri, 27 Jul 2018 07:15:14 +0000</pubDate>
		<guid isPermaLink="false">https://photobyte.org/?p=1696#comment-30895</guid>

					<description><![CDATA[Ok, fresh install of rasp stretch lite and now working ...to a degree. Works with rtl_tcp command but not as start service

Also You have error in the text to stop the service

you have
 sudo systemd stop rtlsdr.service which does not work 

Think  it should be
 sudo systemctl stop rtlsdr.service


The service shows started, it does not actually work at the &#039;far end&#039;

In order to get it to work, still must use the command
rtl_tcp -a 192.168.1.49


The remote end reports a &#039;network error&#039; when started as service with:
sudo systemctl start rtlsdr.service

 but works fine with:
 rtl_tcp -a 192.168.1.49

pi@rtltcp:~ $ sudo systemctl start rtlsdr.service
pi@rtltcp:~ $ sudo systemctl status rtlsdr.service
? rtlsdr.service - RTL-SDR Server
   Loaded: loaded (/etc/systemd/system/rtlsdr.service; disabled; vendor preset: enabled)
   Active: active (running) since Fri 2018-07-27 07:13:21 GMT; 4s ago
 Main PID: 847 (sh)
   CGroup: /system.slice/rtlsdr.service
           ??847 /bin/sh -c /usr/local/bin/rtl_tcp -a -I)
           ??848 /usr/local/bin/rtl_tcp

Jul 27 07:13:21 rtltcp systemd[1]: Started RTL-SDR Server.
Jul 27 07:13:21 rtltcp sh[847]: Found 1 device(s):
Jul 27 07:13:21 rtltcp sh[847]:   0:  Realtek, RTL2838UHIDIR, SN: 00000001
Jul 27 07:13:21 rtltcp sh[847]: Using device 0: Generic RTL2832U OEM
Jul 27 07:13:21 rtltcp sh[847]: Found Rafael Micro R820T tuner
Jul 27 07:13:21 rtltcp sh[847]: [R82XX] PLL not locked!
Jul 27 07:13:21 rtltcp sh[847]: Tuned to 100000000 Hz.
pi@rtltcp:~ $ sudo systemd stop rtlsdr.service
Excess arguments.
pi@rtltcp:~ $ sudo systemctl stop rtlsdr.service
pi@rtltcp:~ $ sudo systemctl status rtlsdr.service
? rtlsdr.service - RTL-SDR Server
   Loaded: loaded (/etc/systemd/system/rtlsdr.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

Jul 27 07:13:21 rtltcp sh[847]: [R82XX] PLL not locked!
Jul 27 07:13:21 rtltcp sh[847]: Tuned to 100000000 Hz.
Jul 27 07:13:49 rtltcp sh[847]: Signal caught, exiting!
Jul 27 07:13:49 rtltcp systemd[1]: Stopping RTL-SDR Server...
Jul 27 07:13:49 rtltcp sh[847]: Signal caught, exiting!
Jul 27 07:13:49 rtltcp sh[847]: listening...
Jul 27 07:13:49 rtltcp sh[847]: Use the device argument &#039;rtl_tcp=127.0.0.1:1234&#039; in OsmoSDR (gr-osmosdr) source
Jul 27 07:13:49 rtltcp sh[847]: to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).
Jul 27 07:13:49 rtltcp sh[847]: bye!
Jul 27 07:13:49 rtltcp systemd[1]: Stopped RTL-SDR Server.
pi@rtltcp:~ $]]></description>
			<content:encoded><![CDATA[<p>Ok, fresh install of rasp stretch lite and now working &#8230;to a degree. Works with rtl_tcp command but not as start service</p>
<p>Also You have error in the text to stop the service</p>
<p>you have<br />
 sudo systemd stop rtlsdr.service which does not work </p>
<p>Think  it should be<br />
 sudo systemctl stop rtlsdr.service</p>
<p>The service shows started, it does not actually work at the &#8216;far end&#8217;</p>
<p>In order to get it to work, still must use the command<br />
rtl_tcp -a 192.168.1.49</p>
<p>The remote end reports a &#8216;network error&#8217; when started as service with:<br />
sudo systemctl start rtlsdr.service</p>
<p> but works fine with:<br />
 rtl_tcp -a 192.168.1.49</p>
<p>pi@rtltcp:~ $ sudo systemctl start rtlsdr.service<br />
pi@rtltcp:~ $ sudo systemctl status rtlsdr.service<br />
? rtlsdr.service &#8211; RTL-SDR Server<br />
   Loaded: loaded (/etc/systemd/system/rtlsdr.service; disabled; vendor preset: enabled)<br />
   Active: active (running) since Fri 2018-07-27 07:13:21 GMT; 4s ago<br />
 Main PID: 847 (sh)<br />
   CGroup: /system.slice/rtlsdr.service<br />
           ??847 /bin/sh -c /usr/local/bin/rtl_tcp -a -I)<br />
           ??848 /usr/local/bin/rtl_tcp</p>
<p>Jul 27 07:13:21 rtltcp systemd[1]: Started RTL-SDR Server.<br />
Jul 27 07:13:21 rtltcp sh[847]: Found 1 device(s):<br />
Jul 27 07:13:21 rtltcp sh[847]:   0:  Realtek, RTL2838UHIDIR, SN: 00000001<br />
Jul 27 07:13:21 rtltcp sh[847]: Using device 0: Generic RTL2832U OEM<br />
Jul 27 07:13:21 rtltcp sh[847]: Found Rafael Micro R820T tuner<br />
Jul 27 07:13:21 rtltcp sh[847]: [R82XX] PLL not locked!<br />
Jul 27 07:13:21 rtltcp sh[847]: Tuned to 100000000 Hz.<br />
pi@rtltcp:~ $ sudo systemd stop rtlsdr.service<br />
Excess arguments.<br />
pi@rtltcp:~ $ sudo systemctl stop rtlsdr.service<br />
pi@rtltcp:~ $ sudo systemctl status rtlsdr.service<br />
? rtlsdr.service &#8211; RTL-SDR Server<br />
   Loaded: loaded (/etc/systemd/system/rtlsdr.service; disabled; vendor preset: enabled)<br />
   Active: inactive (dead)</p>
<p>Jul 27 07:13:21 rtltcp sh[847]: [R82XX] PLL not locked!<br />
Jul 27 07:13:21 rtltcp sh[847]: Tuned to 100000000 Hz.<br />
Jul 27 07:13:49 rtltcp sh[847]: Signal caught, exiting!<br />
Jul 27 07:13:49 rtltcp systemd[1]: Stopping RTL-SDR Server&#8230;<br />
Jul 27 07:13:49 rtltcp sh[847]: Signal caught, exiting!<br />
Jul 27 07:13:49 rtltcp sh[847]: listening&#8230;<br />
Jul 27 07:13:49 rtltcp sh[847]: Use the device argument &#8216;rtl_tcp=127.0.0.1:1234&#8217; in OsmoSDR (gr-osmosdr) source<br />
Jul 27 07:13:49 rtltcp sh[847]: to receive samples in GRC and control rtl_tcp parameters (frequency, gain, &#8230;).<br />
Jul 27 07:13:49 rtltcp sh[847]: bye!<br />
Jul 27 07:13:49 rtltcp systemd[1]: Stopped RTL-SDR Server.<br />
pi@rtltcp:~ $</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using Disk: Enhanced 

Served from: photobyte.org @ 2025-07-04 18:37:49 by W3 Total Cache
-->