[arm-allstar] Repeater site ALLSTAR recovery after POWER FAIL

Dave Petrie wa2kjc at gmail.com
Wed Jul 13 16:53:19 EDT 2022


good idea too, but I have one on the bench for over a year that I was going
to install at a remote site until I found the simple
startup delay solved it all, then I installed Zerotier and added prolific
usb to serial adapter using ser2net, now I can log in remotely
and look at the mtr2000 diagnostics, program my two cdm1250's without any
port forwarding.
I suggest changing the startup_macro_delay=180
and think about the zeriotier but also think about the site and don't do
something that will get you kicked off.
have a look around my docs, here is my dropbox url

https://www.dropbox.com/sh/ftanpv00kcvfqep/AACJdF2sRt2cB5fbbysQmjOca?dl=0

Dave

On Wed, Jul 13, 2022 at 3:58 PM Mike - K5JR <w5jr.lists at gmail.com> wrote:

> We used to refer to these as “horn honkers” back in the day…
>
> You can even get more elaborate and include a CTCSS (PL) decoder in the
> device so that normal dtmf activity on your repeater doesn’t inadvertently
> trigger the reset device. BTDT for sites that were difficult to access at
> times.
>
>
> tnx
> Mike / K5JR
> Alpharetta GA
>
>
> On Jul 13, 2022, at 12:57 PM, Dave Petrie via ARM-allstar <
> arm-allstar at hamvoip.org> wrote:
>
> Hi Larry, how about hooking up a dtmf controlled relay to the repeater
> receiver totally independent of anything, it is merely using the repeater
> receiver as an audio input source so you can send dtmf command to the relay
> and it will do as you command, cycle, turn off, turn on, and run the power
> to the raspberry through the relay. You may not need this if you simply
> delay the startup
> of the raspberry as described below in rpt.conf.
> IP should not come into the picture, one thing you could try is delay the
> startup for say 2 minutes so that things settle down with the LAN and then
> the raspberry loads the software.
> here is the relay and the area in the /etc/asterisk/rpt.conf you change for
> startup delay.
>
> Dave
> WA2KJC
>
> rpt.conf
> A3=cmd,/usr/local/sbin/saypublicip.sh 40039 ; Say Public IP to radio,
> replace my node 40039 with yours
>
> ; Macro to run at startup (optional)
> startup_macro_delay=180 ;delay macro starting ? seconds so ethernet can
> establish to other nodes
> startup_macro = *A3 ;Say local Public IP to radio, add more commands
> separated with , end with #
>
>
> https://www.ebay.com/itm/232095119655?hash=item3609f27927:g:BFEAAOSwLF1X6NWm&amdata=enc%3AAQAHAAAA4A5sWf%2FbjJFBqmf1ECdWI3AiRBlsRbutXImT2wbb4evWTsKax5d6zj03Nfp3F6tjS59GVMSDvazF%2BJwwGhGoqVt%2FvqLsFq4JWPDgimk7YIZaPgvg0we7fOnAINGwmuXcBZXRWk%2B%2B%2Fn8V5bwfDWZ3FF5XYQb1W8jhx9GIizeapXVlDaPCb0%2FHuH%2BbKuhjwdJJfjd9o5NdaMROMQ5LRrueejBb1F1KoXxrgkW%2BLCnLiBsVRW6mu%2Bfnb7Q4ERqu1HkBf1%2FpV%2BVX5rRnKYtqF2gC5KMP4625D9NrxLUExQqt9wrR%7Ctkp%3ABFBMnMa4hb9g
>
> On Wed, Jul 13, 2022 at 11:47 AM "am_fm_radio--- via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Kansas has it storms and power failures. I maintain 2 ALLSTAR NODES /
> > community repeaters located from my home by 22 miles.
> >
> > The site is a commercial building and we share internet with others. We
> > have a APC UPS on the repeaters and the RPI's
> >
> > WE encounter on occasion loss of control via TT input on the repeaters.
> We
> > cannot *B3 to reset.  We cannot SSH into the RPI and remote access via
> the
> > internet is blocked because there are ATM's and Credit Card terminals on
> > site. AS a commercial site, a second ISP drop starts at $99 per month..
> > If we drive to the site- 45 minutes  we can only access it during
> business
> > hours, again ATM machines and other valuables. We do have card access.Our
> > equipment is under lock and key. We have a PC there for SSHing in. We can
> > see both RPI's on the LAN. but can't connect till we pull the power on
> the
> > RPI's and let them reboot.  the repeaters fire up and announce the LAN IP
> > address and all is well.
> >
> > The way I see it- internet and or power fails, the APC UPS peters out and
> > everything goes dead.
> > When power is reapplied to the building, the APC UPS recovers and applies
> > power to the RPI's and they come up before the community router, located
> > 150 feet way does, and because we are using a static IP (router was
> > replaced about 6 months ago when this all started)
> >
> > I theorize the RPI can's talk to the router at the time it needs to, so
> it
> > comes up with no ACK it's static IP is recognized by the Router and no
> > internet connection.
> > Then it's back to a 22 mile drive 44 R/T to reset the RPI's
> >
> > Now I understand how dynamic IP addressing works but does Static IP's
> keep
> > trying to make a connection or is it a 1 time deal? I think the RPI comes
> > up faster than the recovering router that is connected to a cable modem
> ISP
> > is COX. Because of new management, and it's a commercial business,
> > management has signed a contract with COX for support. I have been told I
> > cannot access setup or do anything at the router, my 100baseT connection
> > runs 150 to the radio room. where I have my gear and another switch. . I
> > cannot UDP or open any ports. etc.
> > Management wants only COX to manage it all because of the credit card
> > machines, video surveillance on the cloud and ATM's.
> >
> > I can't experiment to see if the RPI's are coming up faster than the
> > router is giving them internet access. The RPI's are working just as if
> > there is no 100base T connected to them. Because recent storms have been
> > the middle of the night, I'm assuming power fails happen then as well.
> >
> > 3 questions:1.  Am I right?2. Would going to dynamic IP solve this?  We
> > were static before because of UDP ports prior to management changes.3. If
> > we stay with Static IP address, can we delay the startup of the RPI or
> > repeat the networking inquiry until internet
> >    connection is made at the router.
> >
> > Finally, you'll love this.. NO UPS at the Cable modem and Router. The
> > router is a Netgear, 6 antenna job  2.4 and 5 ghz wifi.. it has 6
> antennas
> > on it. I can't touch it and management says, "Cox says we don't need UPS
> as
> > no data is stored in those boxes" I did read the specs on the router 2-3
> > weeks ago it's capable of 128 wifi connections simultaneously. There is a
> > bar-tavern on the premises and I have seen 50-80 wireless phone
> connections
> > with ANGRY IP... Speeds are supposed to be 500Mbps.
> >
> > There are about 6 nets plus Newsline that run on the repeater each week.
> > The second repeater is on K-link KansasStatewide Link) 24x7 were you can
> > find SKYWARN
> >
> > WE find both down, and cycling power on  the RPI's solves the problem.
> > They however do control the repeater so they work locally. I don't recall
> > if they ID or not..
> >
> > Larry W8LM
> >
> >
> >
> > _______________________________________________
> >
> > 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
> _______________________________________________
>
> 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