wifi don't work after suspend

Bug #1371625 reported by paolo gagini
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Invalid
Undecided
Unassigned
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When i take my laptop, fujitsu-siemens AMILO-Li3710, from a suspend state wifi don't work.
I need to restart it to function properly.

This is my laptop and i have ubuntu 14.04..
http://wiki.ubuntu-it.org/Hardware/Notebook/FujitsuSiemensAMILOLi3710

thx

Revision history for this message
Yu Ning (yuningdodo) wrote :

@paolo, could you check the output of command "nmcli nm"?

Revision history for this message
paolo gagini (pax2you) wrote :

sure! :)

IN ESECUZIONE STATO HARDWARE-WIFI WIFI HARDWARE-WWAN WWAN
in esecuzione collegato abilitato abilitato abilitato abilitato

Revision history for this message
Yu Ning (yuningdodo) wrote :

Sorry, I can't read it... Could you run the command instead?

LANG=C nmcli nm

Revision history for this message
paolo gagini (pax2you) wrote :

Sorry i can't change language in chinese.
This is output in english language:
RUNNING:running
STATE:asleep
WIFI-HARDWARE:enabled
WIFI:enabled
WWAN-HARDWARE:enabled
WWAN:disabled

I hope help you.
Thank you.

Revision history for this message
Yu Ning (yuningdodo) wrote :

paolo, thanks a lot for the translation. Then we have the same issue, on my box network manager is put into sleep during suspend, but not awaken during resuming. Although the root cause is not clear yet, you can manually execute below command as a workaround:

sudo nmcli nm sleep false

This command will manually awake network manager, so at least we don't have to restart the computer.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
paolo gagini (pax2you) wrote :

Your command is very useful.
Thank you! :)

I have also a problem in boot sequence.
Do you have same situation?
When i boot pc i receive those messages:

waiting for network configuration

waiting up to 60 more seconds for network configuration.

After login wifi network is ready after more 60 seconds and before nmcli nm command display:
RUNNING:not running
STATE:unknown
WIFI-HARDWARE:unknown
WIFI:unknown
WWAN-HARDWARE:unknown
WWAN:unknown

Revision history for this message
Bin Li (binli) wrote :

I find a way to easy reproduce it.

gdbus call --system --dest org.freedesktop.login1 --object-path /org/freedesktop/login1 --method org.freedesktop.login1.Manager.HybridSleep true

Revision history for this message
Yu Ning (yuningdodo) wrote :

paolo, I did have encountered the issue you mentioned in comment #7, however that was on ubuntu precise (12.04), and it wasn't reproduced on 12.10 and later. Could you please report a separate LP bug for it.

For the NM asleep issue, we can put the workaround in a PM hook, so we don't have to manually invoke the command every time.

Please create a file /etc/pm/sleep.d/90_awake-network-manager with below content:
```
#!/bin/sh

case "$1" in
    resume|thaw)
        nmcli nm sleep false
        ;;
esac
```

Please also make sure it's executable:

chmod a+x /etc/pm/sleep.d/90_awake-network-manager

Revision history for this message
paolo gagini (pax2you) wrote :

1-Ok i reported a new bug for boot problem here:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1388097

2-I followed instruction in comment #9 but the situation now is worst.
I also deleted 90_awake-network-manager file but command:
sudo nmcli nm sleep false
dont' work and output:
Error in sleep: Already awake
command:
nmcli nm
output:
RUNNING:running
STATE:asleep
WIFI-HARDWARE:enabled
WIFI:enabled
WWAN-HARDWARE:enabled
WWAN:disabled

I cant' go online.

Revision history for this message
Yu Ning (yuningdodo) wrote :

thanks for the tests. how about manually sleep & awake again?

sudo nmcli nm sleep true
sudo nmcli nm sleep false

Revision history for this message
paolo gagini (pax2you) wrote :

I installed 14.10 os. Sorry.
Same problem.

i followed #11 comment.
Nothing change.
After suspend mode wifi don't work.

If i launch twice:
sudo nmcli nm sleep false
it respond:
Error in sleep: Already awake
but wifi don't work.

Revision history for this message
Yu Ning (yuningdodo) wrote :

I didn't mean to awake twice, but sleep -> awake

sudo nmcli nm sleep true
sudo nmcli nm sleep false

would you like to give it a try?

Revision history for this message
paolo gagini (pax2you) wrote :

Yes i did.
Nothing happened and wifi dont' work.

Revision history for this message
Yu Ning (yuningdodo) wrote :

hmm, I have no idea now, it looks like a race condition issue to me, however the root cause is not clear yet.

Revision history for this message
paolo gagini (pax2you) wrote :

Thank you very much Yu Ning.
I hope someone can solve but is not mandatory. :)

Ara Pulido (ara)
Changed in oem-priority:
status: New → Incomplete
Revision history for this message
Ara Pulido (ara) wrote :

Marking as Invalid, as we don't have clear reproduceable steps

Changed in oem-priority:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.