This forum has been archived. All content is frozen. Please use KDE Discuss instead.

network issue after suspend

Tags: None
(comma "," separated)
Sparrow lemon
Registered Member
Posts
4
Karma
0
OS

network issue after suspend

Mon May 16, 2011 2:26 pm
Hi,

I'm using kubuntu 11.04 since 2 months and I'm very impressed of kde environment. Anyway, after suspend, the network manager is waiting for authentication. The only way for me to solve this issue is to restart it with konsole:

killall kded4
kded4

I'm trying to do it automatically by adding a script in ect/pm/sleep.d:

#!/bin/bash
case "$1" in
hibernate|suspend)
;;
thaw|resume)
killall kded4
kded4
;;
*)
;;
esac
exit $?

Automatically, this script is run with root privilege but kded4 has to be run with user rights. How can I do that?

Thanks for your help.

Regards,
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: network issue after suspend

Wed May 18, 2011 5:34 am
Have you tried checking ~/.xsession-errors to see if any error message is indicated as to why this happens? Network Management may be asking NetworkManager too quickly to reconnect, which might be causing this issue.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Sparrow lemon
Registered Member
Posts
4
Karma
0
OS

Re: network issue after suspend

Wed May 18, 2011 7:02 pm
hi,

First thank you for the answer.

I didn't find anything relevant for the moment. Can you tell me what I should find? I'm asking you this because the folder is very big.

I also find out that changing the owner (from root to me) of the script allows the script to be run. Unfortunately, network manager is still waiting for authentication. but what kind of authentication???

Regards
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: network issue after suspend

Thu May 19, 2011 5:34 am
Something regarding either "NM" or "Network Management" or "NetworkManager".


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Sparrow lemon
Registered Member
Posts
4
Karma
0
OS

Re: network issue after suspend

Thu May 19, 2011 7:26 am
Hi,

This is what I looked for but there is nothing about NM network or else in errors.

Regards,
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: network issue after suspend

Sat May 21, 2011 2:10 am
Ok, you will need to look in the system logs, found in /var/log/. The needed items will either be in "messages" or "NetworkManager". You will need to use root powers to access those files.
Code: Select all
sudo cat /var/log/messages


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Sparrow lemon
Registered Member
Posts
4
Karma
0
OS

Re: network issue after suspend

Sat May 21, 2011 8:41 am
I finally find out that the problem comes from kdewallet. wifi requieres kdewallet password and authentification to run after suspend. I havec reinstalled kubuntu and upgraded to kde 4.6 and there's no problem anymore.

Consequently, sudo cat /var/log/pm-suspend.log returns success for every action.

Thank you for your help.

Regards,
jayesh.badwaik
Registered Member
Posts
3
Karma
0
OS

Re: network issue after suspend

Tue May 24, 2011 12:06 am
Hi,

I too have upgraded to KDE 4.6 but have done so without any reinstallation. I still encounter the same problem. The same problem also occurs when i disable wi-fi in my laptop through the hardware wifi switch and then start it again.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: network issue after suspend

Tue May 24, 2011 10:20 am
Ok, you are likely striking a bug in either NetworkManager (system wide component) or in Network Management (the KDE component).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]