2001-01-05 -+- John Cooper -+- -+- Could this not be intergrated with the UPS software in someway so that this could all be controlled by inittab?

John 2001-01-06 -+- Scot Wilcoxon -+- scot@wilcoxon.org -+- UPS systems have been using similar methods for a while, with a relay reporting when main power has failed.

I have used a mouse on several keyboardless servers to allow shutdown or restart. Type "man gpm" and read "SPECIAL COMMANDS". It's already there.

I really like the LED feedback on this device. 2001-01-25 -+- Ron Boney -+- rboney@kc.rr.com -+- I like this project. I may try it. But I think will find one of those key swithches that I should have lying around. If I used a push button I just know that I would bump it at the worst possible moment. 2001-02-09 -+- Johan Östensson -+- johan.ostensson@swipnet.se -+- Hehe just finished this, and it works :) 2001-02-11 -+- Sam Horrocks -+- samhorrocks@yahoo.com -+- Sometimes my system is so messed up thrashing to disk it becomes extremely
slow, and you can't even execute any commands. This is the time when I
need a shutdown button like this, but my concern is that since this method
involves a user-level process, it won't be able to run and shut down the
computer because it's thrashing so much.

W2K has a feature where if you press the power button on the front of
the computer it executes a very quick shutdown and then powers off.
Of course it requires a "soft" power switch. Ideally I'd like to do this
with linux - in other words use the soft power switch to execute a
shutdown command. Does anyone know how to do this? 2001-02-11 -+- Dan Cyr -+- dan@stratabase.com -+- Thanks Scott! I just tested the mouse -S function, and it works great, this is cool stuff.

I do like the button/led way as well, I have plans to make one switch take the whole server farm down. It won't be hard to do, it's just not on the top of the pile right now. ;-) 2001-02-12 -+- Ken -+- -+- Love it, neat idea for idiot boxes. 2001-02-12 -+- Mirko Doelle -+- mdoelle@linux-magazin.de -+- We published a much more advanced version in the german Linux Magazin 09/2000, you can find an (german) online version at:
http://www.linux-community.de/Neues/story?storyid=270

It will also be published in an translated english version in the Linux Magazine March 2001 (Issue 6), will be probably online within a few weeks.

The advanced version I built has 5 keys and two LED (one dual LED) for status information, additionaly there is a control programm on our FTP-Server.

Have a lot of fun...
Mirko 2001-02-22 -+- Larry Platzek -+- larryp@inow.com -+- What will the correct site name be for updated english version be?
http://www.linux-mag.com ? If this is right it does not show it for March 2001
I just want to be sure I am looking in the right place or be informed
of the right place to look.
Thank you. 2001-03-07 -+- guido socher -+- guido@linuxfocus.org -+- Hello Larry,
I have no clue where the English version will be but I can read the German
text and tell you that this version uses exactly the same mechanism but
checks 3 more input lines. In addition to CD it uses DSR, CTS and RI

All you need to do is use the code from this article and modify it where
it checks the button status and add an if statement.

Then you can act on these additional buttons. They use it to unmount
the cdrom and eject it.

I think I don't need that on my server because I would do that from remote
or I would just wait for the shutdown to complete. The cdrom is anyhow
unmounted during shutdown and all cdrom drives have an eject button
that will work once the disk is unmounted. This hardware presented in
my article is smaller and easier to install.

It't up to you. The cool thing about GPL software is that you can study
it understand it and modify it as you like.

Regards
Guido

On Tue, Mar 06, 2001, larryp@inow.com (Larry Platzek) wrote:
> Would it be possibl to get the updated article mentioned in the talk
> back section? The Linux Magizin did not put article online in english.
>
> --
> Larry Platzek larryp@inow.com 2001-06-29 -+- Gerald Waugh -+- gerald@waugh.com -+- Looks great.
I want to use the code to modify my APC power bakup unit, so I don't need to buy their $39.00 cable for Linux. I will use the standard serial cable. 2001-08-20 -+- Adriano Rocco -+- Adrianorocco@usa.net -+- I hope nobody flames me ....but it would be nice if somebody could tell me where to find an app like this that works with Win9x 2001-09-05 -+- Rich Mason -+- -+- This works great. Now all i need is to find one of those Dr Evil Style buttons switches with a lid. You know, the sort they use on the movies to start WWIII or launch missiles or other dramatic stuff. Anyone got any ideas where to get one?

2001-11-03 -+- Patrick Fikes -+- pfikes@mainefast.net -+- I moved the standard ATX power plug jummper on the motherboard to the serial comm port 2 (pins 7-8) which are RTS and CTS. I set the RTS pin at initialization and read CTS to determine switch closure.

This set up requires no cable or button and is indistingushable from outside the computer. In several applications i moved the reset button to the power switch, to keep functionality.

Originally I modified the APCUPSD software to monitor and shut down the system via a button press. I did a system reboot if the button was pressed and released. I did a system halt if button was held for >5 seconds. The Halt command in init.d was changed to "halt -p". The enclosure speaker was used for feedback. For my application I had to hack out a lot of functioanlity. It could have served a shutdown out the local net. It did send out a shut down notice to all online users.

I am going to look through this software and see if it is a cleaner start to the same functionality.

Patick Fikes
MaineFastNet,Inc.
2001-12-11 -+- Remi Suinot -+- -+- Just for information (and for fun :)
I have create a similar project.

see http://rsuinux.free.fr/oups
(page is in French) 2002-01-03 -+- Pete -+- petedahl@yahoo.com -+- I use a Reiser file system on my firewall. I simply turn off
my machine like an appliance, there is no need to shutdown
properly. If the power goes out, there is never a need to fsck
the disk. It comes up ok every time. Your solution is still
needed for those times when the machine is hard to get to
physically (like in the attic). 2002-01-10 -+- lcdtastatur -+- -+- the same on Parallelport with 15 keys and LCD


http://members.tripod.de/MASE5/linux/lcd/


for under 25$
2002-01-27 -+- jeroen -+- -+- I just made it and it works pretty fine
thx 2002-02-23 -+- farshid_askari@msn.com -+- -+- dear sir
« if you can send me the usefull information that how can i member in your magizine»
I look forward to hearing from you soon.
Address:
Farshid Askari
El-Goli-Banafsheh-No:14
Po.Box:5166877583
Iran
Tabriz
Tel/Fax:+98-411-3317766
Email:
Farshid_Askari@msn.com 2002-04-01 -+- markus -+- markus.bauer@net-gaming.de -+- ja is geil, werd ich auch mal bastln ! 2002-04-22 -+- Axel -+- a.jacobs@unl.ac.uk -+- We've created a CD burning and file sharing appliance for the research unit. The button is used to start the burning process (and for shut-down). The user guide is under http://www.unl.ac.uk/LEARN/student/info/burncd-HOWTO.html, tech stuff under http://www.unl.ac.uk/LEARN/student/info/burncd-tech.html. 2002-10-06 -+- Peter Pfrang -+- peter.pfrang(at)gmx.de -+- I had a similar project (up to 7 Command Buttons):
http://ttyctrl.sourceforge.net
regards peter -+- 145.254.174.136 = Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; QXW03413) 2002-10-21 -+- Simon -+- -+- Even cooler, use a redunant button on the front of the computer (say a turbo button) and connect that to some junk inside the box. Much neater.

However I was thinking of using the parellel port; then your serials are left for controlling modems etc. -+- 62.254.128.4 = Mozilla/5.0 (compatible; Konqueror/2.0.1; X11); Supports MD5-Digest; Supports gzip encoding 2002-10-25 -+- wweiradio -+- wweiradio@hotmail.com -+- It is good.But do you know how to cope with your machine when it shows a "login:" on the screen without a keyboard?
I mean if we make a method to start linux box without requesting login,then we can make keyborad really unnecessary.
Is that right? -+- 218.104.83.172 = Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.2b) Gecko/20021016 2002-10-25 -+- guido -+- -+- Hi wweiradio,
you can disable console login prompt in /etc/inittab. But there
is no point doing this. It is good to have the login promt in case
you want to connect one day a keyboard to login locally instead of
remote login via ssh.
-+- 217.185.243.126 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 2003-01-30 -+- Tristan Shores -+- tristan@data911 -+- Are you aware of any retail products or design guides for graceful shutdown of Windows operating systems remotely thru the serial port??

Thanks. -+- 209.81.57.242 = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) 2003-04-09 -+- indera -+- inderaramdin@hotmail -+- i need the diagram and defination of the different parts of the computer. -+- 65.199.193.135 = Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90; BCD2000) 2003-06-20 -+- Jürgen -+- djg@gmx.at -+- Very useful and good idea. I have sold this little electronics together, but i've a problem with the software.

i installed it under "debian":

cp /etc/init.d/sled
ln -s ../init.d/sled S99sled

But when i start the server it start also the "sled" and shuts it down in the same moment. I can't do anything.

please help me, what can i do?
my email is: djg@gmx.at

thanks a lot and 've a nice day ;)
greets Jürgen -+- 213.147.162.233 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) 2003-07-04 -+- Auda -+- -+- I would check your wiring to the switch maybe you have it connected so that the switch is closed and so it shuts down instantly ?
-+- 202.89.128.86 = Mozilla/4.0 (compatible; MSIE 5.0; Windows 98) Opera 6.05 [en] 2003-07-30 -+- Stefan Puschek -+- stefan<dot>puschek<at>t-online<dot>de -+- It works just fine!!! But does anybody know something similar to shut down Novell Netware???

Thanks
SP
-+- 80.135.81.226 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322) 2003-08-12 -+- chris -+- -+- This is why I like Linux. Nice little solution to the problem of running headless servers. Who wants to have to walk all the back to the office to do a shutdown.
Thanks!!! -+- 130.76.32.20 = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; Boeing kit; .NET CLR 1.0.3705) 2003-09-18 -+- Al R -+- alberor @ ucia . gov -+-
Great tool! We run a lights-out, locked-up, server room and cannot get to the room within 5 minutes. If our air conditioning (10 ton unit) fails, the 320 Opteron processors only have a few minutes... I connected a thermostat as my "switch" and set it to trigger on 80F.

In fact, since most motherboards have two serial ports, you can run one thermostat at 75F on ttyS0 and send an email to warn of "warm condition". If the temp reaches 80F, the other instance of sled on ttyS1 will shut down the system.

Later we will incorporate lm-sensors to look for hotspots and fan failures. Till then, we have a great protective feature. Clusters do not last very long with two Opterons in a 1U formfactor and no AC!

Thanks again- Al
-+- 69.140.218.74 = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) 2003-10-08 -+- Dr. Cyber -+- Dr-Cyber@gmx.de -+- Hi,
can you explain me how I can make this:

You must now manually create links from /etc/rc.d/rc3.d/S99sled
and /etc/rc.d/rc5.d/S99sled to /etc/rc.d/init.d/sled_rc

Thanks -+- 217.84.111.234 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 2003-10-10 -+- wweiradio -+- wweiradio@sina.com -+- thanks guido .
i use open to run my application automatically without login;

hi Dr.Cyber

you can use:
$ ln -s /etc/rc.d/init.d/sled_rc /etc/rc.d/rc3.d/S99sled

$ ln -s /etc/rc.d/init.d/sled_rc /etc/rc.d/rc5.d/S99sled

good luck -+- 218.104.83.172 = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) 2003-11-07 -+- Coen -+- vanhartingsveldt@hetnet.nl -+- Gaaf,
ik begin net met het uitzoeken hoe bijv. een autotje kan laten rijden met m'n seriele poort.

Waar kan nog meer schakelingetjes vinden?
(Om m'n poort niet op te blazen, want dat is volgens mij best mogelijk als je het niet goed doet.)

Coen -+- 195.121.156.246 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 2003-12-09 -+- Patrick -+- patrick@bartlettinc.com -+- We used this circuit to mount two external buttons on a box that could be used to act as the same as two onscreen button (Okay and Cancel). In some applications we are unable to use the onscreen butttons so we wanted to be able to control the program with the external buttons. We have written the program to run on a PDA running a version of WindowsCE. Basically we look to see when the circuit is broken to execute the command. We are experiencing problems whereby the external buttons will cease to function or work intermittently. Sometimes we have to reboot. It's as if it stops responding. Not sure if you have any suggestions on the setup of this.
-+- 12.154.166.141 = Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90) 2004-05-28 -+- Vesqs -+- vesqs@email.com -+- I built the device inside the 9-pin serial connector case. I reliased that I dont need to have the switch connected all the time and now I only keep it connected, when I need my server to shut down.
Wonderful piece of hardware. Thanks -+- 80.186.125.111 = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 2004-06-24 -+- ashyak -+- -+- Hi,

for the windows freakz here, i have done it :-)
The normal Sled hardware (2 LEDs & 1 key) works with Windows 2000 and Windows XP.
The software is written in visual basic 6.
The features/usage are:
-put sled.exe in autostart
-when the pc boot up, a short jingle sounds through the pc speaker, for every tone the two LEDs flashes by turns.
-the green LED present the active key
-if you press the key, both both LEDs turn off, after a short while both LEDs turn on. Now you can press the key secondly and the system will shutdown. If you not press secondly the key, after a short while, only the green LED will show the active key.


I have no time to create a homepage, for more information or even the sourcecode/binaries, ask me in ICQ: --> 58840684



.....cya
-+- 80.138.110.46 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.23 [de] 2004-06-29 -+- Martijn -+- martijn_at_nuonsolarteam_dot_com -+- I am trying to get a 15-button print to work on my serial port. This scheme uses pins 1,6,8,9 for signals, ping 4 for voltage and 5 for power indication.
I would like to create/download a script in linux (preferrably written in bash) that monitors the ports status and assign commands to each of the 15 buttons. Most of them will be used to control an mp3 player, some for other functions. I would be pleased if someone could help me out. -+- 145.94.49.126 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040506 Firefox/0.8 #2005-01-16 -+- Farshid Askari Rankouhi -+- Rankouhi@gmail.com -+- dear sir
« if you can send me the usefull information that how can i member in your magizine»
I look forward to hearing from you soon.
Address:
Farshid Askari Rankouhi
Po.Box:51575-5685 ,tabriz,iran
Tel/Fax:+98-411-3317766
Cell:+98-914-411-1832 -+- 84.11.20.9 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media Center PC 3.0; .NET CLR 1.0.3705) 2005-02-15 -+- bob -+- -+- Simple and useful. Thanks! -+- 195.71.95.105 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 2005-12-13 -+- chandrasekar -+- chandrasekar@aelixsystems.com -+- Hi All,
I am running filesystem using Debian package. I want to disable the login. Can any one tell me how to disable the login, so that when the system boots, it should come to the bash prompt ?

Regards,
Chandru.
-+- 59.92.130.35 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 2006-04-22 -+- Benjamin Schmidt -+- -+- Only a big thank for your well written article!! -+- 85.178.67.88 = Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.8b2) Gecko/20050921 2006-07-17 -+- Henrique -+- ika_338@hotmail.com -+- Hi there, nice project!
What line of the C code I need to change to get more time that 3seg?


regards

H. -+- 81.179.196.146 = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 2006-08-06 -+- Travis Hein -+- info(at)travnet(dot)org -+- My second serial port was a header on the motherboard and was not being used. So I liberated the 25 pin D-SUB end from the serial ribbon with 10 pin header connector that came with my motherboard.

Then I wasn't too keen on drilling holes in my 2 U server.
Since the serial port header was near the expansion slot cover plates, I built the circuit onto a small punch board and cut holes in the blank expansion slot cover plate.

Aside from my handywork with the glue gun, it looks pretty slick. I guess this helps to make the switch sort of hidden too. -+- 206.191.28.104 = Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.2 (like Gecko)