Bug 328011 - networkmanager does not reconnect on suspend/resume
Summary: networkmanager does not reconnect on suspend/resume
Status: RESOLVED DUPLICATE of bug 232420
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Mobile Devices (show other bugs)
Version: RC 1
Hardware: 64bit Linux
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Joachim Gleissner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-24 22:21 UTC by Fred van Zwieten
Modified: 2007-09-29 20:09 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
coolo: SHIP_STOPPER-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred van Zwieten 2007-09-24 22:21:13 UTC
I have a ipw3945 wireless card. When I resume from S2R, all ESSID's are gone from the ist in knetworkmanager. After I restart the networkstack (rcnetwork restart) it will autoconnect again, based on the info in kwallet (I think). This is a continuation of the bugreport summary in bug 326906.
Comment 1 Fred van Zwieten 2007-09-24 22:26:40 UTC
OK, I've investigated a bit further in the refusal of networkmanager to
reconnect on resume. First, could it have anything to do with bug 310509.
Second, if I do a "rcnetwork restart" it reconnects. It seems the dbus call in
/usr/lib/pm-utils/sleep.d/10NetworkManager doesn't seem to doing anything. I've
executed the same command on the commandline. Nothing happened. Here is a
excerp from /var/log/pm-suspend.log:

===== Thu Sep 20 23:18:47 CEST 2007: running hook:
/usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Thu Sep 20 23:18:47 CEST 2007: running hook:
/usr/lib/pm-utils/sleep.d/06autofs =====
===== Thu Sep 20 23:18:47 CEST 2007: running hook:
/usr/lib/pm-utils/sleep.d/05led =====
===== Thu Sep 20 23:18:47 CEST 2007: running hook:
/usr/lib/pm-utils/sleep.d/01logging =====
===== Thu Sep 20 23:18:47 CEST 2007: running hook:
/usr/lib/pm-utils/sleep.d/00clear =====
Thu Sep 20 23:18:47 CEST 2007: done running resume hooks.
Comment 3 Fred van Zwieten 2007-09-25 13:20:46 UTC
When I run the dbus command from 10NetworkManager from the commenct prompt nothing happens. I don't get any response from it. I also patched 10Networkmanager: I added a "rcnetwork restart" statement in the resume logic. It did not help, but doing the same from the command line does help... Is this a timing thingie?
Comment 4 JP Rosevear 2007-09-25 15:09:50 UTC
ipw3945 bug, pretty sure this is a dupe.
Comment 6 Fred van Zwieten 2007-09-29 09:38:23 UTC
Oke, i'm a but further with this. I noticed nm-tool didn't even see the wireless adapter, so it had to be a driver issue. I've added the ipw3945 module driver to /usr/lib/pm-utils/default like so: SUSPEND_MODULES="ipw3945" (I know it's the wrong place, but I thought it could hurd for a quick test :-). Things are a little easier now. The driver and it's dependency get unloaded at suspend and loaded at resume. I see a list of ESSID's again in knetworkmanager and nm-tool sees the wireless adapter again. However, it does _not_ reconnect on it's own, I have to choose my ESSID manually. So now the behaviour at startup and at resume are basically the same. Wireless up and running, kwallet has all the info, but it will _not_ autoconnect.
Comment 7 Fred van Zwieten 2007-09-29 09:41:33 UTC
O, I forgot. If I quit and restart knetworkmanager after resume in the above situation it _does_ autoconnect. Is there a way to give (k)networkmanager a notice to connect to a ESSID from the CLI?
Comment 8 Fred van Zwieten 2007-09-29 20:08:11 UTC
This is a dup of bug 232420. From there I saw the mention of using s2ram. suspending using s2ram is very successfull! It resume's and the connection doesn't even need to be re-established, it just works again!
Comment 9 Fred van Zwieten 2007-09-29 20:09:10 UTC

*** This bug has been marked as a duplicate of bug 232420 ***