SSH Command line for NXDN

General support for the Pi-Star System
Post Reply
AK7AN
Posts: 75
Joined: Fri Jun 14, 2019 2:17 am

SSH Command line for NXDN

Post by AK7AN »

What is the command for changing TG's in the SSH for NXDN? I would like to set some chron jobs to link to some nets on specific TG's at specific times.
Thanks
Ed
AK7AN
W0CHP
Posts: 19
Joined: Mon Oct 12, 2020 2:33 pm

Re: SSH Command line for NXDN

Post by W0CHP »

Code: Select all

 RemoteCommand <nxdngateway remote port #> TalkGroup <TG/refl. #>
The NXDNGateway remote port is typically 6075. You’ll want to verify that in your config, as well as ensuring Remote Commands Enabled=1 is defined/set in your NXDNgateway config file.
AK7AN
Posts: 75
Joined: Fri Jun 14, 2019 2:17 am

Re: SSH Command line for NXDN

Post by AK7AN »

Thanks for the reply. I verified port # and Remote Command = 1. In SSH I type RemoteCommand 6075 "Talkgroup31010" I get a reply that the remotecommand sent to port 6075, but nothing changes on my dash board, shows not linked. I wonder what I am doing wrong?
73
Ed
AK7AN
W0CHP
Posts: 19
Joined: Mon Oct 12, 2020 2:33 pm

Re: SSH Command line for NXDN

Post by W0CHP »

Try a space after the word “TalkGroup”.

Also notice the case sensitivity/camel case, and use no quotes.

Should ultimately look like:

Code: Select all

RemoteCommand 6075 TalkGroup 31010
AK7AN
Posts: 75
Joined: Fri Jun 14, 2019 2:17 am

Re: SSH Command line for NXDN

Post by AK7AN »

Thanks for the patience and help Chip, I was able to get it figured out and working in both terminal mode and System Chron. What would one do with out being able to search for definitions... ie camel case :lol: .. Anyway Thanks again.
Ed
AK7AN
Post Reply