Frode Nordahl writes:
| On Fri, 2002-11-08 at 22:23, Hiten Pandya wrote: 
| > On Wed, Nov 06, 2002 at 10:27:47PM +0100, Frode Nordahl wrote the words in effect 
|of:
| > > Hello,
| > > 
| > > I have been searching mailing lists and my friend Google for information
| > > about a acpid (like apmd) implementation for FreeBSD, but I have found
| > > nothing.
| > > 
| > > Does one exist anywhere, or has anyone started out on something without
| > > telling anyone? :)
| > 
| > Why do you need an acpid?
| misc stuff 
| 
| instruct dhclient to get a new lease on resume (maybe free it on sleep),
| try to configure wlan if no link detected on ethernet etc. 
| 
| I put my computer to sleep instead of turning it of most of the time,
| and having to run "killall dhclient; dhclient dc0" every time I resume
| it after coming home / go to work is a bit annoying :) 
| 
| I'm sure people have this and other things they want to configure their
| computer to do on sleep / resume. 

Exactly.  My usage model is done at work put my laptop to sleep and go
home.  At home I resume it and it sync's up to any network it finds
with the appropriate security bits.  I put it to sleep before going to
work and resume at work.  I also have generic modes.  I install
different firewall rules depending on where I'm at.  I also run a 
local name server that needs to get updated.  Then there is YP, amd,
etc. that need configuring.  Actually it would be kind-of cool to
do a network stop/network start on suspend/resume.  Maybe in RCng???
Also I have some apps that need to be stopped and started.  Like ssh's
that can't work now that the network has changed.

With 802.11 resuming and seeking out the right network is so usefull.
My laptup is up for days/months before reboots but my uptime is lower due to
sleeping.  This is one reason I don't run -current on my laptop.  Other
problems are being resolved slowly but things are looking good.

Now devd should solve most of my suspend/resume issues with PCMCIA cards
but not with built-in 802.11 stuff.  Maybe devd can take over for as
an apmd replacement?

Doug A.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to