Analog Reflector will release today Monday March 1 (EST)


Steve N4IRS
 

In preparation for Analog Reflector, I have deployed Analog_Bridge and MMDVM_Bridge for armhf, arm64 and amd64
apt update / apt upgrade.
AR will release later today.


Steve N4IRS
 
Edited

Analog Reflector 1.1.14 is ready for install.

Below you will find a DRAFT, let me say that again DRAFT of a basic how-to. I'm looking for comments etc.
This is not intended to replace the documentation.
1: Read the whole post.
2: Does everything make sense?
3: Do you have a system to test on?
4: Please feedback comments.

How to add Analog_Reflector(AR) to an existing DVSwitch Server.

For the purposes of this how-to we are going to make the following assumptions:
1: You have an existing DVSwitch Server installation.
2: You access the Server with DVSwitch Mobile (DVSM) or the Python client(pyUC)
3: You use the server to access digital modes only. Everything is working well.

Things that you need to know:
1: The fully qualified host name of your server if you are going to use that to access the server (example: server.dvswitch.org)
2: The IP address of your server
3: The UDP port you use in DVSM or pyUC to access your server.

Lets get started. Make sure your server is up to date:
1: sudo -s
2: apt update
3: apt upgrade
If any of the above commands produce errors, warnings, failures or bad words, stop and ask
If the upgrade installed or updated any programs, reboot

Log back in to your server
sudo -s

Let's install Analog_Reflector
apt install analog-reflector

If all went well, you now have Analog_Reflector installed on your server. Let's do some quick configuration and testing.
1: cd /opt/Analog_Reflector
2: ls
You should see the following:
Analog_Reflector  Analog_Reflector.json  arRoot  ssl
3: cd ssl
2: ls
You should see the following:
mkcerts.sh
This is the script that will create a certificate for your server so you can run the HTML Client(hUC) with https://your.server
3: ./mkcerts
This should complete without errors.

Let's make sure we are ready to continue:
1: cd /opt/Analog_Reflector
2: ./Analog_Reflector -v
You should see this:
Analog_Reflector Version: 1.1.14
3: ./Analog_Reflector -f Analog_Reflector.json
You will see something like this:
I: 21-03-02 08:01:02 Analog_Reflector:
I: 21-03-02 08:01:02 ==
I: 21-03-02 08:01:02 Version: 1.1.14
I: 21-03-02 08:01:02
M: 21-03-02 08:01:02 Server running in Production mode
I: 21-03-02 08:01:02 SSL Certificate for these addresses: DNS:localhost, DNS:dvswitch-server, IP Address:192.168.190.52, IP Address:127.0.0.1, IP Address:162.256.186.81
I: 21-03-02 08:01:02 SSL Certificate expires: Mar  2 12:53:19 2022 GMT
I: 21-03-02 08:01:02 WebSocket server ready on port 443 ...
I: 21-03-02 08:01:02 USRP client is listening at port : 12346
I: 21-03-02 08:01:02 Server ip :0.0.0.0
I: 21-03-02 08:01:02 Server is IP4/IP6 : IPv4
I: 21-03-02 08:01:02 Using Analog_Bridge at : 127.0.0.1:12345
E: 21-03-02 08:01:02 AMI Error: connect ECONNREFUSED 127.0.0.1:5038
E: 21-03-02 08:01:02 Turning off tune rights for AllStar Node 1999
I: 21-03-02 08:01:02 MQTT broker connected at "mqtt://localhost:1883" with base topic "dvswitch/DVSwitch/Analog_Reflector"

I have edited the above to remove some information we don't really care about and to reduce the length of this document.
If you see any errors, warnings, failures or bad words, stop and ask (other then AMI Error: connect ECONNREFUSED 127.0.0.1:5038 This is because you are not running AllStar)
OK, we are ready to continue.
1: Control C

We will now configure DVSwitch Server (actually Analog_Bridge) to talk to Analog_Reflector.
1: dvs
2: Select 01 Initial Configuration
3: Select Yes to continue
4: Follow the questions, you will be presented with your existing values.
5: When asked for your USRP port WAIT
I told you above you needed to know the UDP port DVSM is using to access your server. Remember this value.
For the purpose of this how-to enter 12345
6: Select your local BM server (if needed)
7: keep the password
8: Select you AMBE Vocoder
9: Yes to continue
10: Select OK to return to menu
11: Select 05 Exit

That is a LOT of steps to edit the USRP port. This will change. I apologize.

Now we will edit the Analog_Reflector configuration file Analog_Reflector.json
1: cd /opt/Analog_Reflector
2: cp Analog_Reflector.json Analog_Reflector.json.save
3: nano Analog_Reflector.json
You will see this:

{
  "nodeName":"DVSwitch",
  "dmrID":"1234567",
  "abAddress": "127.0.0.1",
  "usrpTxPort": "12345",
  "usrpRxPort": "12345",
  "mobilePort": "12346",
  "wsPort": "443",
  "keyDir": "./ssl/",
  "siteroot": "./arRoot",
  "logFileName": "/var/log/dvswitch/Analog_Reflector.log",
  "logLevel": "2",
  "disallowUnknownClients": false,
  "brokerURL": "mqtt://localhost:1883",
  "rightsMask": "4",
  "autoMute": true,
  "clientModes": ["DMR", "STFU", "DSTAR|D-Star", "NXDN", "P25", "YSF", "ASL|AllStar", "Intercom"],
  "bridges": {
    "asl": [
      {"node" : "1999", "address" : "127.0.0.1", "rxPort" : "34001", "txPort" : "32001", "rights" : 3, "amiUserName" : "admin", "amiSecret" : "llcgi"}
    ],
    "ab" : [
      {"name" : "DMR",    "address" : "127.0.0.1", "rxPort" : "51100", "txPort" : "51103", "rights" : 1},
      {"name" : "D-Star", "address" : "127.0.0.1", "rxPort" : "52100", "txPort" : "52103", "rights" : 1},
      {"name" : "NXDN",   "address" : "127.0.0.1", "rxPort" : "53100", "txPort" : "53103", "rights" : 1},
      {"name" : "P25",    "address" : "127.0.0.1", "rxPort" : "54100", "txPort" : "54103", "rights" : 1},
      {"name" : "YSF",    "address" : "127.0.0.1", "rxPort" : "55100", "txPort" : "55103", "rights" : 1}
    ]
  }
}

You want to be careful editing this file. Spaces and punctuation matter.
1: Change the dmrID to your DMR ID
2: Change mobilePort to the number you first saw in DVS. Or leave it at 12346 and change the setting in DVSM.
3: Save your work Control X, y, Enter

Let's check your work
1: ./Analog_Reflector -f Analog_Reflector.json
Any errors? No, continue? Yes, stop and restore the backup cp Analog_Reflector.json.save Analog_Reflector.json
2: Control C

We will now add your account to Analog_Reflector.
1: ./Analog_Reflector user Your_CALLSIGN Your_DMRID Your_DMRID+SSID Your_password 3
Example:
./Analog_Reflector user KC4DEA 3157999 315799901 DoNotTell 3
If all is well you will see: User successfully created.

Let's try to login to ANalog_Reflector with hUC:
1: ./Analog_Reflector -f Analog_Reflector.json

On another computer with a Web Browser:
1: https://address.of.your.server
You should see the hUC screen and be prompted for your callsign and password.
Yes? You are up and running.
2: Control C

We will now start Analog_Reflector in the background (as a service)
1: systemctl start analog_reflector
Any error messages? No, continue
2: systemctl status analog_reflector
You will see:

● analog_reflector.service - Analog Reflector Service
   Loaded: loaded (/lib/systemd/system/analog_reflector.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-03-02 08:50:36 EST; 2s ago
  Process: 20030 ExecStartPre=/bin/sh -c echo "Starting Analog Reflector: [`date +%T.%3N`]" >> /var/log/netcheck (code=exited, status=0/SUCCESS)
 Main PID: 20034 (Analog_Reflecto)
    Tasks: 10 (limit: 2062)
   CGroup: /system.slice/analog_reflector.service
           └─20034 /opt/Analog_Reflector/Analog_Reflector

Mar 02 08:50:36 dvswitch-server systemd[1]: Starting Analog Reflector Service...
Mar 02 08:50:36 dvswitch-server systemd[1]: Started Analog Reflector Service.

The most important line is:
Active: active (running) since Tue 2021-03-02 08:50:36 EST; 2s ago

OK, you are setup and ready to start using hUC with your DVSwitch Server.
Reboot the server and start playing.


Have fun.

For DVSwitch 
Steve N4IRS


KC1JFN
 

Hi Steve, 

./mkcert.sh should be ./mkcerts.sh ?
I just did an install and I had a "No such file or Directory" on mkcert

But everything working, Great Job, Thanks

73

Anthony, KC1JFN

On Mon, Mar 1, 2021 at 6:50 PM Steve N4IRS <szingman@...> wrote:

[Edited Message Follows]

Analog Reflector 1.1.14 is ready for install.
As root (sudo -s)

apt update
apt upgrade
apt install analog-reflector
cd /opt/Analog_Reflector
cd ssl
./mkcert.sh
Once mkcert completes, you have a self signed certificate for your host.
cd /opt/Analog_Reflector
Run AR in the foreground
./Analog_Reflector -f Analog_Reflector.json
If you see no bad words:
point your browser at the server https://192.168.x.y
Enter your callsign
Go to the support tab and click on the documentation (top entry)
or https://dvswitch.groups.io/g/Analog-Reflector/files/Analog_Reflector.pdf

You will need to add your user. (see documentation)

Take the time to read the whole doc. We will post more info in the hours / days to come.
Mike and I are taking a vacation to a desert island with no internet access for 2 weeks starting now. ;)

Have fun.

For DVSwitch 
Steve N4IRS


Steve N4IRS
 

Anthony,
Thanks for catching that. I typed that off the top of my head. That's why all the edits to the post.

On 3/1/21 8:06 PM, KC1JFN wrote:
Hi Steve, 

./mkcert.sh should be ./mkcerts.sh ?
I just did an install and I had a "No such file or Directory" on mkcert

But everything working, Great Job, Thanks

73

Anthony, KC1JFN

On Mon, Mar 1, 2021 at 6:50 PM Steve N4IRS <szingman@...> wrote:

[Edited Message Follows]

Analog Reflector 1.1.14 is ready for install.
As root (sudo -s)

apt update
apt upgrade
apt install analog-reflector
cd /opt/Analog_Reflector
cd ssl
./mkcert.sh
Once mkcert completes, you have a self signed certificate for your host.
cd /opt/Analog_Reflector
Run AR in the foreground
./Analog_Reflector -f Analog_Reflector.json
If you see no bad words:
point your browser at the server https://192.168.x.y
Enter your callsign
Go to the support tab and click on the documentation (top entry)
or https://dvswitch.groups.io/g/Analog-Reflector/files/Analog_Reflector.pdf

You will need to add your user. (see documentation)

Take the time to read the whole doc. We will post more info in the hours / days to come.
Mike and I are taking a vacation to a desert island with no internet access for 2 weeks starting now. ;)

Have fun.

For DVSwitch 
Steve N4IRS


KC1JFN
 

You're welcome,

I question does ./Analog_Reflector -f Analog_Reflector.json runs even If I close the terminal/PUTTY?


On Mon, Mar 1, 2021 at 8:10 PM Steve N4IRS <szingman@...> wrote:
Anthony,
Thanks for catching that. I typed that off the top of my head. That's why all the edits to the post.

On 3/1/21 8:06 PM, KC1JFN wrote:
Hi Steve, 

./mkcert.sh should be ./mkcerts.sh ?
I just did an install and I had a "No such file or Directory" on mkcert

But everything working, Great Job, Thanks

73

Anthony, KC1JFN

On Mon, Mar 1, 2021 at 6:50 PM Steve N4IRS <szingman@...> wrote:

[Edited Message Follows]

Analog Reflector 1.1.14 is ready for install.
As root (sudo -s)

apt update
apt upgrade
apt install analog-reflector
cd /opt/Analog_Reflector
cd ssl
./mkcert.sh
Once mkcert completes, you have a self signed certificate for your host.
cd /opt/Analog_Reflector
Run AR in the foreground
./Analog_Reflector -f Analog_Reflector.json
If you see no bad words:
point your browser at the server https://192.168.x.y
Enter your callsign
Go to the support tab and click on the documentation (top entry)
or https://dvswitch.groups.io/g/Analog-Reflector/files/Analog_Reflector.pdf

You will need to add your user. (see documentation)

Take the time to read the whole doc. We will post more info in the hours / days to come.
Mike and I are taking a vacation to a desert island with no internet access for 2 weeks starting now. ;)

Have fun.

For DVSwitch 
Steve N4IRS


Steve N4IRS
 

No,
systemctl start analog_reflector will run AR in the background. Running it in the foreground is just for testing.


On 3/1/21 8:14 PM, KC1JFN wrote:
You're welcome,

I question does ./Analog_Reflector -f Analog_Reflector.json runs even If I close the terminal/PUTTY?


On Mon, Mar 1, 2021 at 8:10 PM Steve N4IRS <szingman@...> wrote:
Anthony,
Thanks for catching that. I typed that off the top of my head. That's why all the edits to the post.

On 3/1/21 8:06 PM, KC1JFN wrote:
Hi Steve, 

./mkcert.sh should be ./mkcerts.sh ?
I just did an install and I had a "No such file or Directory" on mkcert

But everything working, Great Job, Thanks

73

Anthony, KC1JFN

On Mon, Mar 1, 2021 at 6:50 PM Steve N4IRS <szingman@...> wrote:

[Edited Message Follows]

Analog Reflector 1.1.14 is ready for install.
As root (sudo -s)

apt update
apt upgrade
apt install analog-reflector
cd /opt/Analog_Reflector
cd ssl
./mkcert.sh
Once mkcert completes, you have a self signed certificate for your host.
cd /opt/Analog_Reflector
Run AR in the foreground
./Analog_Reflector -f Analog_Reflector.json
If you see no bad words:
point your browser at the server https://192.168.x.y
Enter your callsign
Go to the support tab and click on the documentation (top entry)
or https://dvswitch.groups.io/g/Analog-Reflector/files/Analog_Reflector.pdf

You will need to add your user. (see documentation)

Take the time to read the whole doc. We will post more info in the hours / days to come.
Mike and I are taking a vacation to a desert island with no internet access for 2 weeks starting now. ;)

Have fun.

For DVSwitch 
Steve N4IRS



KC1JFN
 

Thanks again

Anthony KC1JFN

On Mon, Mar 1, 2021, 8:16 PM Steve N4IRS <szingman@...> wrote:
No,
systemctl start analog_reflector will run AR in the background. Running it in the foreground is just for testing.


On 3/1/21 8:14 PM, KC1JFN wrote:
You're welcome,

I question does ./Analog_Reflector -f Analog_Reflector.json runs even If I close the terminal/PUTTY?


On Mon, Mar 1, 2021 at 8:10 PM Steve N4IRS <szingman@...> wrote:
Anthony,
Thanks for catching that. I typed that off the top of my head. That's why all the edits to the post.

On 3/1/21 8:06 PM, KC1JFN wrote:
Hi Steve, 

./mkcert.sh should be ./mkcerts.sh ?
I just did an install and I had a "No such file or Directory" on mkcert

But everything working, Great Job, Thanks

73

Anthony, KC1JFN

On Mon, Mar 1, 2021 at 6:50 PM Steve N4IRS <szingman@...> wrote:

[Edited Message Follows]

Analog Reflector 1.1.14 is ready for install.
As root (sudo -s)

apt update
apt upgrade
apt install analog-reflector
cd /opt/Analog_Reflector
cd ssl
./mkcert.sh
Once mkcert completes, you have a self signed certificate for your host.
cd /opt/Analog_Reflector
Run AR in the foreground
./Analog_Reflector -f Analog_Reflector.json
If you see no bad words:
point your browser at the server https://192.168.x.y
Enter your callsign
Go to the support tab and click on the documentation (top entry)
or https://dvswitch.groups.io/g/Analog-Reflector/files/Analog_Reflector.pdf

You will need to add your user. (see documentation)

Take the time to read the whole doc. We will post more info in the hours / days to come.
Mike and I are taking a vacation to a desert island with no internet access for 2 weeks starting now. ;)

Have fun.

For DVSwitch 
Steve N4IRS



rademaar@...
 
Edited

Hi Steve,

The installation went fine, witch port number is used by default.
I tried 433 and 1883 but no reaction.
I typed https://10.0.0.34:433 and https://10.0.0.34:1833


Thanks in advance,

Jan.


Steve N4IRS
 

Should just be https://10.0.0.34
The port number is 443 not 433
1833 is used by MQTT

Steve

On 3/1/21 10:50 PM, rademaar@... wrote:
Hi Steve,

The installation went fine, witch port number is used by default.
I tried 433 and 1883 but no reaction.
I typed https://10.0.0.34:433 and https://10.0.0.34:1833

Thanks in advance,

Jan.


Steve N4IRS
 

As root (sudo -s)

Sent by smoke signal (AT&T)


From: Analog-Reflector@DVSwitch.groups.io <Analog-Reflector@DVSwitch.groups.io> on behalf of rademaar@... <rademaar@...>
Sent: Monday, March 1, 2021 11:34:05 PM
To: Analog-Reflector@DVSwitch.groups.io <Analog-Reflector@DVSwitch.groups.io>
Subject: Re: [Analog-Reflector] Analog Reflector will release today Monday March 1 (EST)
 
Finally I have connection true: https://10.0.0.34/html/hUC-min.html

In the terminal I try to make a user whit the following command.

dvswitch@dvswitch-server:/opt/Analog_Reflector
$ sudo -s Analog_Reflector.json
/bin/bash: Analog_Reflector.json: command not found
dvswitch@dvswitch-server:/opt/Analog_Reflector $

What am I doing wrong? If I type ls I get the following:

dvswitch@dvswitch-server:/opt/Analog_Reflector $ ls
Analog_Reflector  Analog_Reflector.json  arRoot  ssl
dvswitch@dvswitch-server:/opt/Analog_Reflector $ 

It seems the json file is in place.

Thanks in advance,

Jan.


Roger Davies
 

Hi Steve,

I am already using port 443 for another application. How would I go about changing the port to something else, other than port 443 for AR?

Thanks for the help and all your efforts.

Roger N6DVZ

From: <Analog-Reflector@DVSwitch.groups.io> on behalf of Steve N4IRS <szingman@...>
Organization: MSGStor
Reply-To: <Analog-Reflector@DVSwitch.groups.io>
Date: Monday, March 1, 2021 at 8:52 PM
To: <Analog-Reflector@DVSwitch.groups.io>
Subject: Re: [Analog-Reflector] Analog Reflector will release today Monday March 1 (EST)

 

Should just be https://10.0.0.34
The port number is 443 not 433
1833 is used by MQTT

Steve

On 3/1/21 10:50 PM, rademaar@... wrote:

Hi Steve,

The installation went fine, witch port number is used by default.
I tried 433 and 1883 but no reaction.
I typed https://10.0.0.34:433 and https://10.0.0.34:1833

Thanks in advance,

Jan.

 


Steve N4IRS
 

Look at Analog_Reflector.jdon

Sent by smoke signal (AT&T)


From: Analog-Reflector@DVSwitch.groups.io <Analog-Reflector@DVSwitch.groups.io> on behalf of Roger Davies <1n6dvz@...>
Sent: Tuesday, March 2, 2021 1:45:34 AM
To: Analog-Reflector@DVSwitch.groups.io <Analog-Reflector@DVSwitch.groups.io>
Subject: Re: [Analog-Reflector] Analog Reflector will release today Monday March 1 (EST)
 

Hi Steve,

I am already using port 443 for another application. How would I go about changing the port to something else, other than port 443 for AR?

Thanks for the help and all your efforts.

Roger N6DVZ

From: <Analog-Reflector@DVSwitch.groups.io> on behalf of Steve N4IRS <szingman@...>
Organization: MSGStor
Reply-To: <Analog-Reflector@DVSwitch.groups.io>
Date: Monday, March 1, 2021 at 8:52 PM
To: <Analog-Reflector@DVSwitch.groups.io>
Subject: Re: [Analog-Reflector] Analog Reflector will release today Monday March 1 (EST)

 

Should just be https://10.0.0.34
The port number is 443 not 433
1833 is used by MQTT

Steve

On 3/1/21 10:50 PM, rademaar@... wrote:

Hi Steve,

The installation went fine, witch port number is used by default.
I tried 433 and 1883 but no reaction.
I typed https://10.0.0.34:433 and https://10.0.0.34:1833

Thanks in advance,

Jan.

 


@derda
 

I get an error and do not know what to do. Tried to change the country, same error.

root@raspberrypi:/opt/Analog_Reflector/ssl# ./mkcerts.sh
Can not get country, state and locality, aborting.


Mike Zingman - N4IRR
 

Is that machine connected to the internet?

On Tue, Mar 2, 2021 at 7:54 AM <philf@...> wrote:
I get an error and do not know what to do. Tried to change the country, same error.

root@raspberrypi:/opt/Analog_Reflector/ssl# ./mkcerts.sh
Can not get country, state and locality, aborting.


@derda
 
Edited

Yes, via Router (FritzBox). Brandmaster, YSF, D* etc are connected.  DMRHost and DVSwitch.
Edit: Because you asked for internet connection, I disabled pihole. Now there was no error.
Next step:

F: 21-03-02 19:07:20 USRP Error: bind EADDRINUSE 0.0.0.0:50112
root@raspberrypi:/opt/Analog_Reflector#


Mike Zingman - N4IRR
 

Lets break the error down:

USRP Error - I am unhappy about some kind of USRP error.  Since USRP is about networking I think we can look there
bind EADDRINUSE - I can not bind to a specified port because it is in use
0.0.0.0:50112 - The address and port that seems to be used by some other application

What to do about it?
Either change the other app or change Analog_Reflector to use a different port.  Lets assume you do not want to move the other app, so edit Analog_Reflector.json, find the 50112 and change it to an open port number.



On Tue, Mar 2, 2021 at 1:09 PM <philf@...> wrote:

[Edited Message Follows]

Yes, via Router (FritzBox). Brandmaster, YSF, D* etc are connected.  DMRHost and DVSwitch.
Edit: Because you asked for internet connection, I disabled pihole. Now there was no error.
Next step:

F: 21-03-02 19:07:20 USRP Error: bind EADDRINUSE 0.0.0.0:50112
root@raspberrypi:/opt/Analog_Reflector#


Ken Kayser
 

Don’t know if this ha any bearing: I noticed when playing with a pre-release, that Linux would not let a normal user bind to a port under 1023 (443).  If I ran as sudo it worked.  However, I changed my port to be in the non-reserved group.

 

Ken Kayser

Tobaccoville, NC

 

kxkayser@...

 

 

From: Analog-Reflector@DVSwitch.groups.io [mailto:Analog-Reflector@DVSwitch.groups.io] On Behalf Of Mike Zingman - N4IRR
Sent: Tuesday, March 2, 2021 1:39 PM
To: Analog-Reflector@dvswitch.groups.io
Subject: Re: [Analog-Reflector] Analog Reflector will release today Monday March 1 (EST)

 

Lets break the error down:

 

USRP Error - I am unhappy about some kind of USRP error.  Since USRP is about networking I think we can look there

bind EADDRINUSE - I can not bind to a specified port because it is in use

0.0.0.0:50112 - The address and port that seems to be used by some other application

 

What to do about it?

Either change the other app or change Analog_Reflector to use a different port.  Lets assume you do not want to move the other app, so edit Analog_Reflector.json, find the 50112 and change it to an open port number.

 

 

 

On Tue, Mar 2, 2021 at 1:09 PM <philf@...> wrote:

[Edited Message Follows]

Yes, via Router (FritzBox). Brandmaster, YSF, D* etc are connected.  DMRHost and DVSwitch.
Edit: Because you asked for internet connection, I disabled pihole. Now there was no error.
Next step:

F: 21-03-02 19:07:20 USRP Error: bind EADDRINUSE 0.0.0.0:50112
root@raspberrypi:/opt/Analog_Reflector#


Ken Kayser
 

Hi Steve.  No problem getting it running in foreground.  However, I’m trying to crate a service for it and keep getting “unit not found”  I had no problem with the following file contents on Mint.  Id there something special about RPi service fifes?  BTW, I tried with both upper and lower case characters in the Description.  And, of course I ran sudo systemctl daemon-reload Thanks.

 

[Unit]

Description=Analog_Reflector

 

[Service]

User=dvswitch

WorkingDirectory=/opt/Analog_Reflector

ExecStart=/opt/Analog_Reflector/Analog_Reflector

Restart=always

 

[Install]

WantedBy=multi-user.target

 

Ken Kayser

Tobaccoville, NC

 

kxkayser@...

 

 


Steve N4IRS
 

Are you trying to create the system unit? It's already there, or at least it was.


On 3/2/21 4:21 PM, Ken Kayser wrote:

Hi Steve.  No problem getting it running in foreground.  However, I’m trying to crate a service for it and keep getting “unit not found”  I had no problem with the following file contents on Mint.  Id there something special about RPi service fifes?  BTW, I tried with both upper and lower case characters in the Description.  And, of course I ran sudo systemctl daemon-reload Thanks.

 

[Unit]

Description=Analog_Reflector

 

[Service]

User=dvswitch

WorkingDirectory=/opt/Analog_Reflector

ExecStart=/opt/Analog_Reflector/Analog_Reflector

Restart=always

 

[Install]

WantedBy=multi-user.target

 

Ken Kayser

Tobaccoville, NC

 

kxkayser@...

 

 



Steve N4IRS
 

On 3/2/21 4:21 PM, Ken Kayser wrote:

Hi Steve.  No problem getting it running in foreground.  However, I’m trying to crate a service for it and keep getting “unit not found”  I had no problem with the following file contents on Mint.  Id there something special about RPi service fifes?  BTW, I tried with both upper and lower case characters in the Description.  And, of course I ran sudo systemctl daemon-reload Thanks.

 

[Unit]

Description=Analog_Reflector

 

[Service]

User=dvswitch

WorkingDirectory=/opt/Analog_Reflector

ExecStart=/opt/Analog_Reflector/Analog_Reflector

Restart=always

 

[Install]

WantedBy=multi-user.target

 

Ken Kayser

Tobaccoville, NC

 

kxkayser@...