Comments on: Raspberry Pi – Running Spy Server as a service https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/ Freelance Technical Author, Illustrator & Photographer Sat, 04 Mar 2023 16:06:03 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Mike Richards https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-426921 Sat, 04 Mar 2023 16:06:03 +0000 https://photobyte.org/?p=1665#comment-426921 In reply to Eric.

Hi Eric,

I’ve not tried running two instances of the server. I’ll try it out next week when I get back in the shack. Here’s a couple of thoughts if you want to experiment.

1 – You will need to create two spyserver.service files and matching spyserver.config files.
2 – In the config files, you will need to specify a different port for each instance
3 – You may have the limit the bandwidths available from each instance. Even a Pi4 won’t be able to process two lots of 8MHz Airspy bandwidth!

Mike – G4WNC

]]>
By: Eric https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-426919 Sat, 04 Mar 2023 14:36:20 +0000 https://photobyte.org/?p=1665#comment-426919 Thanks for your help, it worked fine for me.
However, what should we put in the “sudo nano /etc/systemd/system/spyserver.service” file when we want to launch a second airspy or rtlsdr at startup ?

]]>
By: Mike Richards https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-156526 Sat, 02 Jan 2021 17:43:29 +0000 https://photobyte.org/?p=1665#comment-156526 In reply to Graham.

Hi Graham,

Not encountered that before. There is a switch near the top of the spyserver.config file that controls directory listing. Are you using the same config file in both cases? You can force the use of a specific config file by specifying it after the run command like so:
./spyserver spyserver.config

It might also be worth checking the process user in each case. You can see the user by opening Task Manager from the Accessories menu. The process user is normally shown in the second column. If you don’t see it, click ‘more details’ at the bottom.

Let me know how you get on.

Mike – G4WNC

]]>
By: Graham https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-156518 Sat, 02 Jan 2021 12:01:39 +0000 https://photobyte.org/?p=1665#comment-156518 Hi, This works well and I can connect to my Spyserver but I have an issue where it does not get listed on the SpyServer Directory here: https://airspy.com/directory

When I manually start spyserver it shows on the directory.

Any ideas?

]]>
By: Mike Richards https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-155910 Wed, 30 Dec 2020 23:28:58 +0000 https://photobyte.org/?p=1665#comment-155910 In reply to Ben.

Hi Ben,

Glad you found the post useful. Thanks for sharing your username solution.

Regards,

Mike – G4WNC

]]>
By: Ben https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-155899 Wed, 30 Dec 2020 22:29:31 +0000 https://photobyte.org/?p=1665#comment-155899 Thank you so much for this. I modified the config you provided to use my own username rather than the default ‘pi’ account (e.g. changing the paths to the executables, etc.). It would not work properly until I added my account to the plugdev group (‘sudo usermod -a -G plugdev [username]’). This may be of use to someone else trying to solve this issue.

]]>
By: Mike Richards https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-87855 Sun, 15 Mar 2020 22:43:47 +0000 https://photobyte.org/?p=1665#comment-87855 In reply to Scott.

Glad to hear it worked. Thanks for letting me know.

Mike

]]>
By: Scott https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-86222 Tue, 10 Mar 2020 00:29:58 +0000 https://photobyte.org/?p=1665#comment-86222 Thanks for this!

I had to modify to provide the full path for my config file, but other than that this worked perfect!

]]>
By: Abdul khaliq https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-32617 Mon, 26 Nov 2018 18:53:04 +0000 https://photobyte.org/?p=1665#comment-32617 Thank you.
I used this method for more than spy server .

]]>
By: Chris https://photobyte.org/raspberry-pi-running-spy-server-as-a-service/#comment-31726 Tue, 25 Sep 2018 16:12:27 +0000 https://photobyte.org/?p=1665#comment-31726 In reply to Mike Richards.

Mike thanks info, sounds good for me if Spy Server updated with this task.

OS updated is not so important 🙂

73 Chris DL5NAM

]]>