[Arm-allstar-irlp] Internet & astdb.txt question
Lawrence Roney
roney at chiarappa.com
Sun Sep 8 21:28:47 EDT 2019
For what it's worth.
I experienced the same "repeater goes to sleep" issue a few weeks back when one of the mountaintops lost connectivity. The physical ethernet link on the Pi would have remained up since it is plugged into a switch, but there was no connection to the Internet further downstream.
My Pi has a static IP address if that lends any insight. Also, the mountaintop Pi would have been a permalink *73xxxxx connection to a central Pi down in the valley acting as a hub. The repeater "woke back up" as soon as Internet was restored.
I have not had a chance to test with another Pi on the bench. Most of my bench units are DHCP.
Thanks,
Lawrence
N6YFN
Henderson Amateur Radio Club - w7hen.com
-----Original Message-----
From: ARM-allstar-irlp <arm-allstar-irlp-bounces at hamvoip.org> On Behalf Of "David McGough via ARM-allstar-irlp"
Sent: Sunday, September 8, 2019 3:19 PM
To: "Corey via ARM-allstar-irlp" <arm-allstar-irlp at hamvoip.org>
Cc: David McGough <kb4fxc at inttek.net>; Corey <kc7mrq at gmail.com>
Subject: Re: [Arm-allstar-irlp] Internet & astdb.txt question
In the HamVoIP firmware, the astdb.txt file is written to a RAMDISK
(tmpfs) filesystem. So, yes, this file is lost and must be re-downloaded after reboots, etc. You could modify the /usr/local/etc/rc.allstar and /usr/local/sbin/astdb.php scripts to put this file in a different spot....I'm not sure it's worth this effort, probably just being simpler to re-download the file using astdb.php placed in the /etc/rc.local script. In my experience, the RPi boards seldom need to be rebooted and my case seldom loose power, so this hasn't been a concern.
As for the repeater "going to sleep" on loss of Internet, I've not experienced this. In fact, I've got a couple repeaters right now without Internet access after Hurricane Dorian; no problems with functionality (other than can't connect to them via the Internet, obviously).
How is this repeater configured? ...You could, in theory, select an alternate CT. But, you would need a script to detect the error condition and then activate the CT.
73, David KB4FXC
On Sun, 8 Sep 2019, "Corey via ARM-allstar-irlp" wrote:
> Good afternoon all,
> I've noticed a couple differences since moving over to HAMVOIP from ASL.
> Can someone point in me in the right direction?
>
> 1. The /var/log/asterisk/astdb.txt file is always deleted whenever
> there is a reboot or power failure. My band-aid fix was to put a
> reboot cron entry to run astdb.php at startup. What is the proper way
> to stop the txt file from deleting during a power cycle or reboot?
>
> 2. I noticed the repeater seems to go into a sleep mode with no local
> control when the internet goes away. I don't recall having this issue
> with ASL. What config files do I need to modify to ensure repeater is
> online for local usage even when the internet connection fails? Is
> there a way to change the CT to indicate the internet status?
>
>
> Thanks for your help,
>
> Corey
> KC7MRQ
> _______________________________________________
> ARM-allstar-irlp mailing list
> ARM-allstar-irlp at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar-irlp
>
_______________________________________________
ARM-allstar-irlp mailing list
ARM-allstar-irlp at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar-irlp
Scanned by Symantec Email Security.cloud service.
More information about the ARM-allstar-irlp
mailing list