Ubuntu 13.10: no network after resuming from hibernation

UbuntuI followed the guidelines explained in this post to enable suspend and hibernate in Ubuntu 13.10. Resuming from suspend worked, including network devices. But somehow, after resuming from hibernation, the network devices did not.

This issue seems to be caused by bug #1184262. It is not related to the networking as such, but to power management. Network Manager does not get the signal that says the computer is now back up.

The workaround I found was to create a file named /etc/pm/sleep.d/10_resume_network containing

 #!/bin/sh
 #Tell Network Manager that resume was successful
case "$1" in
         thaw)
           /usr/bin/nmcli nm sleep false
          ;;
 esac

Then chmod 775 /etc/pm/sleep.d/10_resume_network

In effect, the script tells Network Manager that the computer has now come out of the sleep mode.

Update 20 April 2014: It seems the above is no more needed with Ubuntu 14.04

  1. i also had that issue on 14.04, after i upgraded from 12.04.
    now it works perfectly, thx a lot

  2. I had the issue on 14.04, although it was upgraded in-place from 13.10.

    Anyway, your work-around still worked, so I’m happy.

    Thanks for sharing.

  3. Very annoying issue, glad to know I someone found a way around it.
    Thanks for sharing!

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>