9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu, Russ Cox <rsc@swtch.com>
Subject: [9fans] serial reboot boxes
Date: Sun,  8 Jan 2006 12:53:46 -0600	[thread overview]
Message-ID: <20060108185346.8541E34FFB@dexter-peak.quanstro.net> (raw)
In-Reply-To: <ee9e417a0601081034l43221be8x40bd8be4ef30e5be@mail.gmail.com>

i believe that apc power supplies have a serial connection and
should be able to cycle the power. it's been a while on those.

when i worked at ibm we had a watchdog program monitored
the serial line and rebooted the computer if CTS was high.
this might work for you if the kernel is still living, but some
of the services are confused.

- erik

Russ Cox <rsc@swtch.com> writes

| 
| (This is slightly off-topic, but since Plan 9 users seem to be the
| only ones using serial consoles anymore...)
| 
| At Bell Labs we have a handful of custom-built boxes
| that help reboot machines.  I never knew how they worked
| inside or even what the inputs and outputs were, but
| if you asserted CTS on a serial line connected to one,
| they'd make the attached computer reboot.  I think they
| were doing AC power cycling.
| 
| I built a box of similar functionality myself ten years ago.
| I went through a few designs but eventually ended up with
| a solid-state AC relay being driven by a serial line.  I saved
| a sketch of the circuit but have since misplaced it.
| I don't know where the box ended up either.
| I don't remember it costing very much money (certainly
| no more than $20) to buy the parts from Radio Shack.
| 
| I would like a few more of these.  Rather than build them,
| I went online looking for such.  I can't find any.  I found ones
| with ethernet controllers and web servers, but those are
| $300 apiece (usually for a handful of outlets), and all I
| really want is just one outlet and one serial port.
| 
| Does anyone know where to buy the simple version for cheap?
| 
| Failing that, does anyone know where to buy cheap solid-state
| AC relays?  The ones I've found have all been $100+, which
| doesn't seem right to me.
| 
| Thanks.
| Russ


  reply	other threads:[~2006-01-08 18:53 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-08 18:34 Russ Cox
2006-01-08 18:53 ` erik quanstrom [this message]
2006-01-08 22:37   ` Skip Tavakkolian
2006-01-08 21:48     ` erik quanstrom
2006-01-08 21:13 ` Ronald G Minnich
2006-01-08 22:12 ` Steve Simon
2006-01-08 22:23 ` William Josephson
2006-01-09  0:08 ` David Leimbach
2006-01-09  3:20 ` jmk
2006-01-09  5:01   ` Ronald G Minnich
2006-01-09  5:16     ` Devon H. O'Dell
2006-01-09  5:27       ` jmk
2006-01-09  5:51   ` Skip Tavakkolian
2006-01-09  6:08   ` Martin C. Atkins
2006-01-09 12:38 ` Derek Fawcus
2006-01-09 12:44   ` Derek Fawcus
2006-01-09 15:47 ` Martin Harriss
2006-01-09  8:26 Fco. J. Ballesteros
2006-01-09  8:46 ` Steve Simon
2006-01-09 11:09   ` Skip Tavakkolian
2006-01-09 10:12     ` Charles Forsyth
2006-01-09 15:27   ` Ronald G Minnich
2006-01-09 15:32     ` William Josephson
2006-01-09 15:36       ` Ronald G Minnich
2006-01-09  9:28 ` Skip Tavakkolian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060108185346.8541E34FFB@dexter-peak.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    --cc=rsc@swtch.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).