[arm-allstar] Allstar setup template error

Doug Crompton wa3dsp at gmail.com
Thu Feb 21 11:03:39 EST 2019


Jim,

Yes, I believe you have it correct.  The node number should match in all
three. BUT prior setups like you mention would not have the node number for
telemetry and maybe other stanzas like [events].  This is fine because most
users would use common stanzas for all their nodes. The key here is there
has to be a matching stanza for ALL   x=y  mappings.  So if you had the
first node as -

telemetry=telemetry1998

and the second node as

telemetry=telemetry1999

then you would need two telemetry stanzas

[telemetry1998]
.....

and

[telemetry1999]
.....

On Thu, Feb 21, 2019 at 10:56 AM "James Hause via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Thanks for the reply Doug.
> My 2 new nodes don't have my node number in the [first node], just
> telemetry=telemetry, but they do in the [1999] and the [telemetryXXXXX]
> So if I understand correctly, I need to change my first node to
> telemetry=telemetryXXXXX,  where XXXXX is my node number.
> On another note, a node that I have had up a running for quite a while, it
> does not have my node number on any of the telemetry statements.
> I am just using the node for a basic simplex node, so do I really need to
> update it?
> Thanks for your help, and patience.
>
>
> On Thu, Feb 21, 2019 at 9:14 AM "Doug Crompton via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Jim,
> >
> >  Refer back to the example I gave. ALL three places should match. SEE
> BELOW
> > - the right side of the equal and the actual telemetry stanza name should
> > match. so if the node stanzas had telemetry=telemetry40000 then the
> stanza
> > should be [telemetry40000]  I suggest you make them all telemetryXXXXX
> > where XXXXX is your first node number. The [1999] or second node should
> > already be that way. Just make the others match.
> >
> > [first node]
> >
> > telemetry=telemetryXXXXX
> >
> > [1999]
> >
> > telemetry=telemetryXXXXX
> >
> > ....
> >
> > [telemetryXXXXX]
> >
> > Where XXXXX is your first node number
> >
> > Prior to the recent update the telemetry stanza had no node number after
> > it. The reason for the change is that most all of the stanzas can be
> > specific to a node - [functions] [events] etc.  So you could have two
> > telemetry stanzas or as many as you had nodes defined for that server. In
> > that case you could have a telemetry=telemetryXXXXX  for the first node
> and
> > a telemetry=telemetryYYYYY for the second node with two comple telemetry
> > stanzas - [telemetryXXXXX] and [telemetryYYYYY]   This gives the user the
> > ability to define two different telemetry setups for your nodes.  However
> > this would be in special cases and in most situations they both would go
> to
> > the same (one) telemetry stanza.
> >
> > I hope that makes it clear but if not get back to me.
> >
> >
> > *73 Doug*
> >
> > *WA3DSP*
> >
> > *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
> >
> > On Thu, Feb 21, 2019 at 9:56 AM "James Hause via ARM-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> > > Hi Doug,
> > > Well I have set up a couple nodes recently, and have done the
> > firsttime.sh
> > > on both a couple days ago, not sure what days exactly.
> > > I looked at my rpt.conf files, and I have gotten myself confused.
> There
> > is
> > > some stuff in what looks to be the 2 node number that has
> > > me confused in regards to what your talking about.  Any rate, could I
> > send
> > > you an email with my rpt.conf file for you to look at?
> > > I think all is ok, but not sure.
> > > Jim, KF5LBT
> > >
> > > On Thu, Feb 21, 2019 at 1:00 AM "Doug Crompton via ARM-allstar" <
> > > arm-allstar at hamvoip.org> wrote:
> > >
> > > > It has come to our attention that there was an error in the rpt.conf
> > > > template that has now been corrected in an update but some of you who
> > > > started up new servers in the last week or so may have an error in
> your
> > > > rpt.conf file.  This only applies to NEW servers that were put online
> > > > (initially setup) after the Feb 11 update using the firsttime or
> > > node_setup
> > > > scripts. This probably only applies to a small number of people but
> if
> > > you
> > > > recently put a server online please check it. Since the rpt.conf file
> > is
> > > a
> > > > protected file once it is created from the template we do not
> overwrite
> > > it
> > > > so if you think you are in this category check your
> > > /etc/asterisk/rpt.conf
> > > > file for the following line in the first stanza. The one where your
> > first
> > > > node is defined. Here is what to look for -
> > > >
> > > > telemetry=telemetry
> > > > OR
> > > > telemetry=telemetryXXXXX       - where XXXXX is your first node
> number
> > > >
> > > > Note if this line has your node number after the second telemetry.
> Then
> > > go
> > > > down to the actual telemetry stanza further down in the file. It will
> > > look
> > > > like this -
> > > >
> > > > [telemetry]
> > > > OR
> > > > [telemetryXXXXX]       - where XXXXX is your first node number
> > > >
> > > > The key here is that the RIGHT side of the telemetry=telemetry must
> be
> > > the
> > > > SAME as the name in the telemetry stanza. It will either have your
> node
> > > > after it or not. It does not matter which as long a BOTH match.
> > > >
> > > > EXAMPLE -
> > > >
> > > > if in the node stanza is  telemetry=telemetry   then  the telemetry
> > > stanza
> > > > would be [telemetry]
> > > >
> > > > if in the node stanza - telemetry=telemetryXXXXX  then the telemetry
> > > stanza
> > > > would be [telemetryXXXXX]
> > > > where XXXXX is your first node number.
> > > >
> > > > In other words they MUST match.
> > > >
> > > > If you update your node you will have this fix in your template but
> it
> > > will
> > > > NOT fix the problem if it should exist in your real rpt.conf file
> from
> > > > running a setup since Feb 11, if you did that update. If you download
> > the
> > > > image you should always perform the update as the first question in
> the
> > > > setup to ensure you have the latest code before you setup your node.
> > > >
> > > >
> > > > *73 Doug*
> > > >
> > > > *WA3DSP*
> > > >
> > > > *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio
> >*
> > > > _______________________________________________
> > > >
> > > > 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
> >
> _______________________________________________
>
> 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