Re: reconnect after sleeping



On Wed, 2009-08-05 at 08:14 -0400, Derek Atkins wrote:
> Dan,
> 
> Dan Williams <dcbw redhat com> writes:
> 
> > Is NM being told to go to sleep and wake up properly?  If so, you'll see
> > these messages in the logs:
> >
> > NetworkManager: Sleeping...
> > NetworkManager: Waking up...
> >
> > Can you provide some logs from /var/log/messages or /var/log/daemon.log
> > that show the wake-up sequence?
> 
> I think the problem is the lack of a wait/delay in the pm scripts..  I
> certainly see this issue periodically on Fedora 10.  Sometimes NM
> doesn't wake up after a resume; I have to sometimes manually turn
> networking back on.  It's somewhat random, though, and at this point
> the logs wont help me because I don't remember when I manually woke
> vs. automatic waking.

I *believe* the patch to fix that in dbus was committed last month, but
we'll still need --print-reply for a while.  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.

Dan




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