From owner-freebsd-hardware Tue May 2 1: 1:13 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 4EA6D37B8CD for ; Tue, 2 May 2000 01:01:08 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JOX59QOZWM001EJU@research.kpn.com> for hardware@FreeBSD.ORG; Tue, 2 May 2000 09:56:30 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 02 May 2000 09:56:29 +0100 Content-return: allowed Date: Tue, 02 May 2000 09:56:26 +0100 From: "Koster, K.J." Subject: RE: [Fwd: someone has an idea ?] To: 'Rob Fowler' , hardware@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E452201313B3C@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Signalling is easy, use /dev/speaker. You can write whole songs in simple basic tunes. :-) It's in use at TCCN in Nijmegen (NL) to signal that the printer servers are available. I forget what song they use, but I'm sure you can come up with something. Kees Jan ============================================== You are only young once, but you can stay immature all your life > -----Original Message----- > From: Rob Fowler [mailto:rjf@cs.rice.edu] > Sent: vrijdag 28 april 2000 20:42 > To: hardware@FreeBSD.ORG > Subject: [Fwd: someone has an idea ?] > > > It's easy if the operator can come in over the net, but if > you want a "front-panel > shutdown" function on a box without keyboard or other obvious > I/O devices, > you'll have to make do with what your hardware has. If there > is a button or switch > you can use as a sensor, then all you need is a demon > monitoring that function. > This may require hardware and/or software hacking. > > A couple of years ago we were running a small keyboard-less > cluster that was usually > FreeBSD, but occasionally had to be brought up under Linux. > The solution was to > use the presence absence of a LILO floppy as the control for > bringing the > system up. The drill was to put LILO floppies in all the > drives (or remove them) > and force reboots over the net through a script. Sleazy, but > effective. > > If the floppy drive is not being used, you might try the > inverse of the floppy trick. > Write a script that tries to open a file called > on the floppy and halts > if successful. Run it under cron with an appropriate > interval, or just wrap it > in sleep loop and start the script when the system boots. > Tell the operator to > stick the bright red floppy in the drive and wait xx seconds > before powering down. > > The tricky thing may be signalling the operator when it > really is OK to power down. If > the box is new enough to shut itself off on a halt, then > you're done. Otherwise, > you may have to have the kernel beep a couple of times after > it's done sync'ing. > > -- Rob > > > > > On 28-Apr-00 Philippe Charron wrote: > > > Hello, > > > > > > Im a trying to do a FreeBSD box without any keyboard > (this machine will > > > be a Squid, HTTP and FTP serveur for non specialist > person that can't > > > handle with a Unix system). > > > > > > As the user can't shutdown properly the computer, he has > to press the > > > power button to switch off the box. > > > This leads to problems with fsck and inode lost in the system. > > > > > > Does anyone have an idea to solve this problem ? > > > > > > Thanx in avance > > > Philippe > > >> > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hardware" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message