← Back to team overview

kernel-packages team mailing list archive

[Bug 1352379] [NEW] Network broken after resume

 

Public bug reported:

We use Dell Optiplex 7010 machines in our student lab. These machines
are capable of suspending and resuming, so that we don't waste power
during the night. In our lab we also use LDAP authentication for the
students. The problem is that networking is disabled once the machine is
resumed after a suspend. Because of the LDAP authentication, networking
is required for authentication, thus we cannot login to the machine
after a suspend. A "work-around" to restart network-manager is therefor
not an option.

I have tried numerous things, 
* creating a file /etc/pm/config.d/network-resume with the content "SUSPEND_MODULE="e1000e"

Outcome: This seems to break the suspend functionality. When manually
entering "suspend" it goes directly to the lock screen. The networking
is still disabled, so I cannot log in.

* creating a file /etc/pm/sleep.d/network-resume with

 #!/bin/sh

case ${1} in
	resume|thaw)
	nmcli nm sleep false
		;;
esac

Outcome: Manually suspending works, resume only works when pressing the
power button. Once resumed the networking is still disabled, and thus I
cannot log in.


* creating a file in /etc/pm/sleep.d with

#!/bin/sh

case "${1}" in
        resume|thaw)
        restart network-manager
                ;;
esac

Outcome: Manually suspending works, resume only works when pressing the
power button. Once resumed the networking is still disabled, and thus I
cannot log in. After about a full minute networking is restored and I
can log in.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "lspci-vnvn.log"
   https://bugs.launchpad.net/bugs/1352379/+attachment/4169575/+files/lspci-vnvn.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1352379

Title:
  Network broken after resume

Status in “linux” package in Ubuntu:
  New

Bug description:
  We use Dell Optiplex 7010 machines in our student lab. These machines
  are capable of suspending and resuming, so that we don't waste power
  during the night. In our lab we also use LDAP authentication for the
  students. The problem is that networking is disabled once the machine
  is resumed after a suspend. Because of the LDAP authentication,
  networking is required for authentication, thus we cannot login to the
  machine after a suspend. A "work-around" to restart network-manager is
  therefor not an option.

  I have tried numerous things, 
  * creating a file /etc/pm/config.d/network-resume with the content "SUSPEND_MODULE="e1000e"

  Outcome: This seems to break the suspend functionality. When manually
  entering "suspend" it goes directly to the lock screen. The networking
  is still disabled, so I cannot log in.

  * creating a file /etc/pm/sleep.d/network-resume with

   #!/bin/sh

  case ${1} in
  	resume|thaw)
  	nmcli nm sleep false
  		;;
  esac

  Outcome: Manually suspending works, resume only works when pressing
  the power button. Once resumed the networking is still disabled, and
  thus I cannot log in.

  
  * creating a file in /etc/pm/sleep.d with

  #!/bin/sh

  case "${1}" in
          resume|thaw)
          restart network-manager
                  ;;
  esac

  Outcome: Manually suspending works, resume only works when pressing
  the power button. Once resumed the networking is still disabled, and
  thus I cannot log in. After about a full minute networking is restored
  and I can log in.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1352379/+subscriptions


Follow ups

References