Re: reconnect after sleeping



On Wed, 2009-08-19 at 20:21 +0100, Rick Jones wrote:
> --On Tuesday, August 18, 2009 09:06:45 -0500 Dan Williams
> <dcbw redhat com> wrote:
> > .... I've got vague hand-wavy
> > plans to get rid of the deps on pm-utils entirely, or at least move
> them
> > into NetworkManager for the time being.  No idea when that would
> happen
> > though; but if somebody wanted to spearhead it that would be
> awesome.
> > First step would be convincing pm-utils to drop the NM
> suspend/resume
> > scripts, and then move them into NetworkManager git for both 0.7 and
> > master.  Next up, we try to figure out how much work we really do
> need
> > to do for suspend/resume; maybe we can get uevents for them instead
> of
> > relying on pm-utils or something.
> 
> It seems to me this would be a good opportunity to handle WOL
> properly. I've never been able to get WOL to work, and messing around
> with ethtool shouldn't be necessary anyway. It seems to be something
> that just isn't easy on Linux. If NM were to take control of
> suspending the network devices then it should be easy for it to set up
> the conditions for WOL to work.
> 
> Another good reason to press ahead with this?

I wouldn't expect WOL to work at the driver/hardware level before 2.6.32
anyway given that there's only recently been a lot of work on it
upstream.  I'm not sure of the specifics though, since it seems like
we'd need some sort of communication between the card/driver and
userspace to alert NM or the supplicant to *why* the machine was woken
up, and potentially what to do in response to that.

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]