[App_rpt-users] remote re-boot via RF

Craig Saums cwsaums at aol.com
Thu Jul 24 00:36:06 UTC 2014


The Digital Loggers DIN Relay controls up to 8 devices. It also has the ability to send 'Wake on LAN' magic packets to wake the controlling computer after power failures or other types of computer lock up. The scripting facility took a little while to get used to but the price point and overall feature functionality fit our club budget. 

Our problem was when power went off the computer would restart but not reboot to enable SSH access.  We needed a way to enable Wake on LAN.  

Once we can communicate with the computer we use regular scripts to enable linking, PL tones, status reporting and everything else available with Asterisk / apt_rpt. The scripts can be accessed by a web page or DTMF or command line. 

Craig
AC2FE

Sent from my iPhone

> On Jul 23, 2014, at 8:10 PM, Keith Goobie <keith at goobie.org> wrote:
> 
> Just some added thoughts
> 
> In the script that you are using for the re-boot, make sure that you execute “sync” a few times, this will flush out all pending writes to the disk.  Many commands have it built in, but it pays to be safe. 
> 
> A more brute force approach, can be implemented by using Ethernet accessed AC power controller.  An outstanding product is available from http://digital-loggers.com.   We run a few of them at our site.  When everything else fails, this unit gets the job done.
> 
> Keith
> 
> 
> On 7/23/14 5:20 PM, "Robert A. Poff WB3AWJ" <wb3awj at comcast.net> wrote:
> 
> Doing it via the COP,1 only restarts Asterisk. Which can be useful
> 
> To restart the machine I'd do this :
> XXXXXX = cmd,/path/to/script/restart.sh
> In the restart.sh script, do whatever housekeeping you want, and then reboot.
> 
> FWIW... I have the startup macro call a function that uses localplay to have a distinctive sound file play on the air. (In my case the Doctor's TARDIS landing) 
> I've had Asterisk crash/restart if there's a problem at the site.
> Hearing the sound notifies me it restarted for some reason. 
> If you use the COP,1 it would give you a confirmation that it did in fact restart.
> 
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> 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. 
> 
> -- 
> keith at goobie.org
> Keith Goobie
> Richmond Hill, ON, CANADA
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20140723/2fcd4b2f/attachment.html>


More information about the App_rpt-users mailing list