I'm trying to use an SDR dongle attached to a Pi3 as an RTL TCP server.
I've followed this https://github.com/c4software/raspberry-rtlsdr-server
But as this doesn't quite work as-is I've also followed modifications described here: viewtopic.php?t=360003
When I try to enable rtlsdr I am getting the following error:
Failed to enable unit: "multi-user.target[Unit]" is not a valid unit name.
This is my rtlsdr.service
I've followed this https://github.com/c4software/raspberry-rtlsdr-server
But as this doesn't quite work as-is I've also followed modifications described here: viewtopic.php?t=360003
When I try to enable rtlsdr I am getting the following error:
Failed to enable unit: "multi-user.target[Unit]" is not a valid unit name.
This is my rtlsdr.service
Code:
[Unit]Description=RTL-SDR ServerAfter=network.target[Service]ExecStart=/bin/sh -c "/usr/bin/rtl_tcp -a 192.168.7.247"WorkingDirectory=/tmpStandardOutput=inheritStandardError=inheritRestart=always[Install]WantedBy=multi-user.target[Unit]
Code:
pi@rtlSdrTcpPi:/etc/systemd/system $ sudo systemctl daemon-reloadpi@rtlSdrTcpPi:/etc/systemd/system $ sudo systemctl start rtlsdrpi@rtlSdrTcpPi:/etc/systemd/system $ sudo systemctl status rtlsdr● rtlsdr.service - RTL-SDR Server Loaded: loaded (/etc/systemd/system/rtlsdr.service; enabled; preset: enabled) Active: active (running) since Thu 2024-07-04 07:17:50 BST; 8min ago Main PID: 860 (sh) Tasks: 3 (limit: 763) CPU: 109ms CGroup: /system.slice/rtlsdr.service ├─860 /bin/sh -c "/usr/bin/rtl_tcp -a 192.168.7.247" └─861 /usr/bin/rtl_tcp -a 192.168.7.247Jul 04 07:17:50 rtlSdrTcpPi systemd[1]: Started rtlsdr.service - RTL-SDR Server.Jul 04 07:17:50 rtlSdrTcpPi sh[861]: Found 1 device(s):Jul 04 07:17:50 rtlSdrTcpPi sh[861]: 0: Realtek, RTL2838UHIDIR, SN: 00000001Jul 04 07:17:50 rtlSdrTcpPi sh[861]: Using device 0: Generic RTL2832U OEMJul 04 07:17:51 rtlSdrTcpPi sh[861]: Found Rafael Micro R820T tunerJul 04 07:17:51 rtlSdrTcpPi sh[861]: [R82XX] PLL not locked!Jul 04 07:17:51 rtlSdrTcpPi sh[861]: Tuned to 100000000 Hz.pi@rtlSdrTcpPi:/etc/systemd/system $ sudo systemctl enable rtlsdrFailed to enable unit: "multi-user.target[Unit]" is not a valid unit name.
Statistics: Posted by morphy_richards — Thu Jul 04, 2024 6:26 am — Replies 1 — Views 85