jim,

cop,1 -warm boot- is really a restart of asterisk/app_rpt

You will need to make a script file with nano,vi or whatever and call it rebootcmd.sh

place the commands in it you use to restart the machine
ex: shutdown -r NOW 
or   reboot (same as above)

change attributes of the file you created to 755 and place in usr/local/sbin/

create a command that matches no other in your rpt.conf node stanza (use 5 or more digits)
xxxx=CMD,/usr/local/sbin/rebootcmd.sh  

test your script file by running it from the command line once... rebootcmd.sh

This is of no value if the computer locks-up.

...mike/kb8jnm


-------- Original Message --------
Subject: [App_rpt-users] remote re-boot via RF
From: "James R. Pilgram" <jim.pilgram@gmail.com>
Date: Wed, July 23, 2014 4:25 pm
To: app_rpt mailing list <app_rpt-users@ohnosec.org>

Aloha,
I have a node with repeater about 15 miles away and I would like to be
able to re-boot/warm boot the node when I have issues with it via RF. It
is at my work location on their system and the have limited internet
access to it.

I was reading and saw =cop,1 ;warm boot

Can I put this in my rpt.conf and add a number to the front of the =
that has not been used for something else then initiate a *XXX command
from the DTMF keypad and reboot the node?

Just for reference the repeater is a MTR2000 with a wireliine card with
no controller. I'm interfacing it with a DMK URI to an Asus eeePc
running Acid.

Aloha Jim NH6HI
_______________________________________________
App_rpt-users mailing list

http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.