[arm-allstar] Command Line Commend to Connect to Another Node

Sean McCarthy smccarthy61 at gmail.com
Wed Jun 20 11:31:27 EST 2018


Would this be the best way to have a node X permanently connect to node Y?
If not, what would you recommend?

I want to set up my offsite repeater (node X above) to connect to my local
"hub" (node Y above) on boot and reconnect whenever it fails...

Thanks


On Wed, Jun 20, 2018 at 10:31 AM "Jack Koehler 2 via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Doug,
> What is the difference in functionality between using non-permanent and
> permanent connect functions?
> Thanks.
> Jack
>
>
> -----Original Message-----
> From: arm-allstar [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of
> "Doug Crompton via arm-allstar"
> Sent: Wednesday, June 20, 2018 9:46 AM
> To: ARM Allstar
> Cc: Doug Crompton
> Subject: Re: [arm-allstar] Command Line Commend to Connect to Another Node
>
> Yes, but you need to create a script - here is an example. You can change
> it how you like. It uses permanent connects but you could remove the 7 and
> have it non-permanent if desired. Also you need to use the entire path to
> call it unless you put it in /usr/local/sbin.
>
> connect.sh 40000 40001
> disconnect.sh 40000 40001
>
>
> #/bin/bash
> # /etc/asterisk/local/connect.sh
> # call with  'connect.sh source_node destination_node
>
> /usr/bin/asterisk -rx "rpt fun $1 *73$2"
> #end script
>
> #/bin/bash
> # /etc/asterisk/local/disconnect.sh
> # call with  'disconnect.sh source_node destination_node
>
> /usr/bin/asterisk -rx "rpt fun $1 *71$2"
> # end script
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
>
>
>
> On Wed, Jun 20, 2018 at 9:29 AM, "ssedgwick via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Is there a command I can issue in Putty to connect an Allstar node I am
> > logged into to another Allstar node?
> >
> > For example: connect Allstar node 28xxx to Allstar node 45xxx
> >
> > I would like to be able to also disconnect the two nodes using command
> > line.
> >
> > Seems I just saw this the other day, but can’t fine it.
> >
> > Thanks,
> > 73
> > Steve_WB8GRS
> > _______________________________________________
> >
> > arm-allstar mailing list
> > arm-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >
> > Visit the BBB and RPi2/3 web page - http://hamvoip.org
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org


More information about the arm-allstar mailing list