Michael Biebl a écrit :
> Vincent Danjean wrote:
>> Michael Biebl a écrit :
>>> If the nm-applet does not show up, it often means that the hal daemon is
>>> not running.
>>> Could you please check next time you resume from suspend, that the dbus
>>> and hal daemon are running correctly (what does nm-tool say after resume)
>> So :
>> - the applet is still in my toolbar but it does not show any interface
>> anymore.
>> - nm-tool show me :
>> [EMAIL PROTECTED]:~$ nm-tool
>>
>> NetworkManager Tool
>>
>> State: disconnected
>>
>> print_devices(): didn't get a reply from NetworkManager.
>> There are no available network devices.
>
> Do you have a suspend script which kills the NetworkManager daemon?
I have not modified any suspend script myself and results below suggest
that NetworkManager daemon is not killed.
> It seems as if NetworkManager is not running anymore (check with ps aux
> | grep NetworkManager).
> If so, this might be a bug in your suspend script.
NetworkManager is not killed. Here is the result of 'ps axfu' before
suspending (all was working):
[EMAIL PROTECTED]:~$ cat toto.txt
vdanjean 7881 0.0 0.0 3440 772 pts/18 S+ 17:02 0:00 \_ grep
NetworkMa
root 3772 0.0 0.2 28808 2228 ? Ssl 15:28 0:00
/usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkManager.pid
root 3801 0.0 0.1 3048 1276 ? Ss 15:28 0:00
/usr/sbin/NetworkManagerDispatcher --pid-file
/var/run/NetworkManager/NetworkManagerDispatcher.pid
And after my last suspend/resume cycle (and nm-applet stops working again):
[EMAIL PROTECTED]:~$ ps uaxf | grep NetworkM
vdanjean 12036 0.0 0.0 3436 772 pts/6 S+ 19:07 0:00 \_ grep
NetworkM
root 3772 0.0 0.1 28808 1932 ? Ssl 15:28 0:00
/usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkManager.pid
root 3801 0.0 0.0 3048 1004 ? Ss 15:28 0:00
/usr/sbin/NetworkManagerDispatcher --pid-file
/var/run/NetworkManager/NetworkManagerDispatcher.pid
[EMAIL PROTECTED]:~$ nm-tool
NetworkManager Tool
State: disconnected
print_devices(): didn't get a reply from NetworkManager.
There are no available network devices.
[EMAIL PROTECTED]:~$
[note that pids are the same : NetworkManager has not been stopped and
restarted]
PS: I just try
[EMAIL PROTECTED]:~$ sudo su
cayuga:/home/vdanjean# kill 3772
cayuga:/home/vdanjean# ps uaxf | grep NetworkM
root 12319 0.0 0.0 3436 768 pts/6 S+ 19:10 0:00
\_ grep NetworkM
root 3801 0.0 0.0 3048 1004 ? Ss 15:28 0:00
/usr/sbin/NetworkManagerDispatcher --pid-file
/var/run/NetworkManager/NetworkManagerDispatcher.pid
cayuga:/home/vdanjean# /usr/sbin/NetworkManager --pid-file
/var/run/NetworkManager/NetworkManager.pid
cayuga:/home/vdanjean#
It has been enough for the nm-tool and the applet (even without
restarting it) to work again. So the bug should probably be reassigned
to network-manager instead of network-manager-gnome.
Best regards,
Vincent