[arm-allstar] Can't login node / password changed issues
David McGough
kb4fxc at inttek.net
Fri Sep 18 01:43:51 EDT 2020
Ken,
BTW, that asterisk.conf file will cause asterisk to fail once another code
update comes out, since it includes an absolute path to the modules
directory. The absolute path changes with each update I release. However,
I also also include a symbolic link with each update that maps the
absolute path to the relative path. So, change this line:
astmoddir => /usr/local/hamvoip-asterisk-2020-06-01/lib/asterisk/modules
To this line:
astmoddir => /usr/local/hamvoip-asterisk/lib/asterisk/modules
...And, that will take advantage of the symbolic link.
73, David KB4FXC
On Thu, 17 Sep 2020, "David McGough via ARM-allstar" wrote:
>
> Ken,
>
> That's not a stock HamVoIP asterisk.conf file! I don't know where it came
> from.
>
> I just looked at the HamVoIP hamvoip-asterisk-support-scripts package,
> which contains the asterisk.conf file, and the contents are:
>
> [packager at debian-221 asterisk]# cat asterisk.conf
> [options]
> nocolor=yes
>
>
> 73, David KB4FXC
>
>
> On Thu, 17 Sep 2020 cqdogxray at gmail.com wrote:
>
> > I am puzzled then
> >
> > Mine starts with this info:
> >
> > [directories]
> > astetcdir => /etc/asterisk
> > ;astmoddir => /usr/lib/asterisk/modules
> > astmoddir => /usr/local/hamvoip-asterisk-2020-06-01/lib/asterisk/modules
> > astvarlibdir => /var/lib/asterisk
> > astdatadir => /var/lib/asterisk
> > astagidir => /var/lib/asterisk/agi-bin
> > astspooldir => /var/spool/asterisk
> > astrundir => /var/run
> > astlogdir => /var/log/asterisk
> >
> > did you put in the 2020 date 4 years ago??
> > That's the part that got me in trouble.
> >
> >
> > Ken
> >
> >
> >
> > -----Original Message-----
> > From: David McGough <kb4fxc at inttek.net>
> > Sent: Thursday, September 17, 2020 9:43 PM
> > To: "Ken via ARM-allstar" <arm-allstar at hamvoip.org>
> > Cc: cqdogxray at gmail.com
> > Subject: Re: [arm-allstar] Can't login node / password changed issues
> >
> >
> >
> > Ken,
> >
> > The "stock" /etc/asterisk/asterisk.conf file found on HamVoIP hasn't changed
> > in years. The last time it changed was about 08/2016.
> >
> >
> > 73, David KB4FXC
> >
> >
> > On Thu, 17 Sep 2020, "Ken via ARM-allstar" wrote:
> >
> > > Just a follow-up on this one: Having retrieved the SD card and replacing
> > > the root password per instructions on the web site, what we found was that
> > > the node had basically lost its ability to recognized ANY root login.
> > The
> > > SD card had some errors on it that (I am told) are typical when a
> > Raspberry
> > > Pi is powered down while running (and of course with no root log in we
> > had
> > > to do that). During its lifetime prior to this problem the node had never
> > > seen a power outage.
> > >
> > > So it's a bit of a mystery.
> > >
> > > One thing I learned was that - in the configuration files - the
> > > "asterisk.conf" file changes from release to release. Do not copy an old
> > > one into a new install. This is not a user configuration, from the stand
> > > point of a node operator.
> > >
> > > 73
> > > Ken
> > >
> > >
> > > ----------------------------------------------------------------------
> > >
> > > Message: 1
> > > Date: Thu, 10 Sep 2020 19:51:07 -0400
> > > From: "Ken" <ke2n at cs.com>
> > > To: <arm-allstar at hamvoip.org>
> > > Subject: Re: [arm-allstar] Login password changed automatically
> > > Message-ID: <03da01d687cd$40fe6e70$c2fb4b50$@cs.com>
> > > Content-Type: text/plain; charset="us-ascii"
> > >
> > > It looks like our HamVOIP root password for SSH has changed itself in the
> > > last couple of days.
> > >
> > >
> > >
> > > Has anyone figured out how this happens? We are using a nonstandard port
> > > for SSH.
> > >
> > >
> > >
> > > Ken - KE2N
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 2
> > > Date: Thu, 10 Sep 2020 20:06:02 -0400 (EDT)
> > > From: David McGough <kb4fxc at inttek.net>
> > > To: Ken <ke2n at cs.com>
> > > Cc: arm-allstar at hamvoip.org
> > > Subject: Re: [arm-allstar] Login password changed automatically
> > > Message-ID:
> > > <Pine.LNX.4.44.2009102002190.30460-100000 at goliath.inttek.net>
> > > Content-Type: TEXT/PLAIN; charset=US-ASCII
> > >
> > >
> > > Ken,
> > >
> > > There is no way the password should change unexpectedly. Follow up with me
> > > off-list, if you would like for me to take a look at the node.
> > >
> > > 73, David KB4FXC
> > >
> > >
> > > On Thu, 10 Sep 2020, Ken wrote:
> > >
> > > > It looks like our HamVOIP root password for SSH has changed itself in
> > > > the last couple of days.
> > > >
> > > >
> > > >
> > > > Has anyone figured out how this happens? We are using a nonstandard
> > > > port for SSH.
> > > >
> > > >
> > > >
> > > > Ken - KE2N
> > > >
> >
> >
> >
>
> _______________________________________________
>
> 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/4 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list