?
Solved

Turning off computer from power button in FreeBSD.

Posted on 2002-05-20
10
Medium Priority
?
299 Views
Last Modified: 2010-08-05
Just wondering if  anyone can help.  I need to run a freebsd box that is headless, keyboardless, mouseless, & that I will have no network access to. What I want to do is allow someone to push the power button and the
machine will halt. I've been searching and can't
really find any real answers. I am assuming it has to do with apm or acpi but, I can't figure out exactly how to get them to work.
0
Comment
Question by:Stirch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 1

Expert Comment

by:NTIVER
ID: 7023781
Stirch,

On a freebsd system - wouldn't holding down the power button serve this purpose for you, instead of just pushing it once?

Regards,

Neil
0
 
LVL 1

Author Comment

by:Stirch
ID: 7024122
No, I need to make correct shutdown, justl like after typing 'halt' on console.
0
 
LVL 1

Author Comment

by:Stirch
ID: 7024146
No, I need to make correct shutdown, justl like after typing 'halt' on console.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:Stirch
ID: 7024172
No, I need to make correct shutdown, justl like after typing 'halt' on console.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 2000 total points
ID: 7025383
you need a board which supports apm, acpi, and a power supply which does support it too.
Then a apmd can manage yor request.
0
 

Expert Comment

by:rrbf
ID: 7069666
definitely needs an extra hardware piece if you want
a clean shutdown. a halt signal may also be delivered from the serial port assuming you can configure the box before
leaving it alone. even from the parralel port, but it's getting
hairy. or have a quick script running in the background
monitoring some other io.

Or you may try remote serial like www.realweasel.com
they're a friendly business.
I still got a couple of their pci cards I'm not currently using.

Boris
0
 
LVL 1

Author Comment

by:Stirch
ID: 7074775
Sorry for delay.

ahoffmann - I got some troubles with apm0 device, still can't make it function.

rrbf - I discuss such devices at my local BBS, and decide not to use them for some reasons.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7075136
the apm0 device is completely useless if you board and/or BIOS does not work propper, please check this first.
0
 
LVL 20

Expert Comment

by:jmcg
ID: 10329603
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: ahoffmann {http:#7025383}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month8 days, 19 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question