Re: Wake up time

2009-09-22 Thread Anselm Strauss
That would be a possibility. Although I prefer a solution without  
additional hardware. Also, I'm not sure, if it's good to constantly  
disconnect the board from power. Well, it's certainly better for your  
power bill, but maybe not for the BIOS battery.


I know that my BIOS supports setting a wake up time (you can set only  
the time, and it will wake up each day on that time). I've just  
discovered the /dev/nvram device and there is a program for Linux  
called nvram-wakeup, that uses the nvram device to set this wakeup  
time from the OS. One can then compute the next wakeup time (within a  
day) at every shutdown and write it to the nvram.


I have to see if this program also compiles/runs on FreeBSD ...


On Sep 21, 2009, at 23:19 , Scott Schappell wrote:


On Sep 21, 2009, at 14:16:53, Rolf G Nielsen wrote:


Roland Smith wrote:

There are such timers, that run over a week rather than just 24  
hours, and they can have different times each day.




And make sure you set in the BIOS (if able) to power on after power  
fail and test it to make sure it works.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fwd: Wake up time

2009-09-22 Thread Anselm Strauss

Begin forwarded message:


From: Anselm Strauss amsiba...@gmail.com
Date: September 22, 2009 8:55:42 PM GMT+02:00
To: Don Brearley donbrear...@hibbing.edu
Subject: Re: Wake up time

Good idea. Would work for my setup, my router should be always on.  
And I think there is a wakeonlan port for FreeBSD.


The advantage of this solution would be that I can trigger a wakeup  
on very dynamic events. If I set the wakeup time in the BIOS it's  
rather static, and I have to know the next wakeup before I shut down  
the host.



On Sep 21, 2009, at 23:25 , Don Brearley wrote:


Roland Smith rsm...@xs4all.nl 09/21/09 4:06 PM 

On Mon, Sep 21, 2009 at 10:06:28PM +0200, Anselm Strauss wrote:

Hi,

anybody knows if it's possible to set BIOS wake up time in  
FreeBSD. I

have a machine I would like to regularly shutdown and wake up at
different times depending the on the day of week.



Could you enable Wake-On-LAN in the BIOS and then configure  
another box

to wake it up via the LAN at your specified time?

- Don
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Wake up time

2009-09-21 Thread Anselm Strauss

Hi,

anybody knows if it's possible to set BIOS wake up time in FreeBSD. I  
have a machine I would like to regularly shutdown and wake up at  
different times depending the on the day of week.


Cheers,
Anselm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wake up time

2009-09-21 Thread Roland Smith
On Mon, Sep 21, 2009 at 10:06:28PM +0200, Anselm Strauss wrote:
 Hi,
 
 anybody knows if it's possible to set BIOS wake up time in FreeBSD. I  
 have a machine I would like to regularly shutdown and wake up at  
 different times depending the on the day of week.

The easy and cheap way to accomplish something like that is to put a timer
between the machine's power supply and the power outlet, and use a script
started at boot to switch the machine off in a controlled fashion after a
specified time before the timer runs out.

The only inflexibility in this scheme is that timers usually require a time to
switch on and a time to switch off. So if you need the time that the machine
is awake variable, it won't be as easy. 


Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpGGrIEAJh0I.pgp
Description: PGP signature


Re: Wake up time

2009-09-21 Thread Rolf G Nielsen

Roland Smith wrote:

On Mon, Sep 21, 2009 at 10:06:28PM +0200, Anselm Strauss wrote:

Hi,

anybody knows if it's possible to set BIOS wake up time in FreeBSD. I  
have a machine I would like to regularly shutdown and wake up at  
different times depending the on the day of week.


The easy and cheap way to accomplish something like that is to put a timer
between the machine's power supply and the power outlet, and use a script
started at boot to switch the machine off in a controlled fashion after a
specified time before the timer runs out.

The only inflexibility in this scheme is that timers usually require a time to
switch on and a time to switch off. So if you need the time that the machine
is awake variable, it won't be as easy. 



Roland


There are such timers, that run over a week rather than just 24 hours, 
and they can have different times each day.



--

Rolf Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wake up time

2009-09-21 Thread Scott Schappell

On Sep 21, 2009, at 14:16:53, Rolf G Nielsen wrote:


Roland Smith wrote:

There are such timers, that run over a week rather than just 24  
hours, and they can have different times each day.




And make sure you set in the BIOS (if able) to power on after power  
fail and test it to make sure it works.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wake up time

2009-09-21 Thread Don Brearley
 Roland Smith rsm...@xs4all.nl 09/21/09 4:06 PM 
On Mon, Sep 21, 2009 at 10:06:28PM +0200, Anselm Strauss wrote:
 Hi,
 
 anybody knows if it's possible to set BIOS wake up time in FreeBSD. I  
 have a machine I would like to regularly shutdown and wake up at  
 different times depending the on the day of week.


Could you enable Wake-On-LAN in the BIOS and then configure another box
to wake it up via the LAN at your specified time?

- Don
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org