Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: Internet fails when resuming from sleep or hibernation

  1. #21
    Join Date
    Jul 2010
    Beans
    135

    Re: Internet fails when resuming from sleep or hibernation

    Hey scorp123!

    Before I repeated the steps I clicked the NetworkManager Applet and this is what it shows when connected:
    ---
    Wired Network
    WN (name of my network)
    Disconnect
    Wireless Networks
    disconnected
    ---

    I then followed the steps below as I did before from my previous post:

    Quote Originally Posted by linuxliberty View Post
    These are the steps I took with no success:
    -suspended the computer
    -resumed the computer (with no network connectivity)
    -entered the following command:
    Code:
    killall -1 nm-applet
    The NetworkManager Applet is killed however does not automatically restart. I then manually start the NetworkManager Applet by going to /usr/bin/nm-applet

    The NetworkManager then starts but without network connectivity. I must restart the system to regain a network connection.
    The same results occurred when following the directions above.

    Quote Originally Posted by scorp123 View Post
    ...But then: When you (right?)-click on the network applet icon ... does it even list any network interfaces?
    Answer: No, it does not. I clicked the NetworkManager Applet and this is what it shows when disconnected:
    ---
    Wired Network
    disconnected
    Wireless Networks
    disconnected
    ---

    Quote Originally Posted by scorp123 View Post
    And what happens if you go to the terminal and issue this command:
    Code:
    ifconfig -a
    ... does it list an "Ethernet 0" interface? Short form would be eth0 ...
    Answer: Yes, it does list eth0

    Quote Originally Posted by scorp123 View Post
    You can redirect the output into a file:
    Code:
    ifconfig -a > /home/yourUser/ifconfig.txt
    ... and then post that file here after you have rebooted and regained network connectivity.
    I only copied eth0 and x out my hardware mac address. Here is the output:

    Code:
    eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:32089 errors:0 dropped:0 overruns:0 frame:0
              TX packets:32469 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:28428634 (28.4 MB)  TX bytes:5189334 (5.1 MB)
              Interrupt:29 Base address:0xa000
    Thanks again!

  2. #22
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,541
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Internet fails when resuming from sleep or hibernation

    When at that step (you resume from standby) can you issue this command and see if that would help?

    Code:
    sudo service network-manager restart
    Or this one (not sure it works ... got this one via Google!):
    Code:
    sudo initctl restart network-interface INTERFACE=eth0

  3. #23
    Join Date
    Jul 2010
    Beans
    135

    Re: Internet fails when resuming from sleep or hibernation

    Thanks for your persistence on this issue! I really appreciate it!

    After the computer resumed from sleep mode, I entered this command:
    Code:
    sudo service network-manager restart
    Received the following output:
    Code:
    network-manager start/running, process 15894
    Nothing happened.


    I then entered this command:
    Code:
    sudo initctl restart network-interface INTERFACE=eth0
    Received the following output:
    Code:
    network-interface (eth0) start/running
    Nothing happened.


    Thanks again for all your help!

  4. #24
    Join Date
    Jan 2010
    Location
    Not Texas
    Beans
    340
    Distro
    Ubuntu 14.04 Trusty Tahr

    Thumbs down Re: Internet fails when resuming from sleep or hibernation

    Lol, is all this trouble worth just shutting down and rebooting.

    It takes me less than 30 seconds from turning on my computer to when I can load applications and begin using.

    Just my 2cents..

  5. #25
    Join Date
    Nov 2006
    Location
    Sand Springs, OK
    Beans
    34
    Distro
    Ubuntu

    Re: Internet fails when resuming from sleep or hibernation

    I have the same hardware and just managed to fix it. It has worked well all day.

    Code:
    gksudo gedit /etc/default/acpi-support
    Code:
    ACPI_SLEEP_MODE=standby
    I still have r8169 & mii on the whitelist.

    Hope it works!

  6. #26
    Join Date
    Jul 2010
    Beans
    135

    Re: Internet fails when resuming from sleep or hibernation

    Quote Originally Posted by owenlinx View Post
    I have the same hardware and just managed to fix it. It has worked well all day.

    Code:
    gksudo gedit /etc/default/acpi-support
    Code:
    ACPI_SLEEP_MODE=standby
    I still have r8169 & mii on the whitelist.

    Hope it works!
    Thanks for the reply!

    I tried it and was not able to regain network activity.

    Below is what my acpi-support file shows. Does yours look like this too? Do you think you could copy and paste what your acpi-support file shows so I compare with my acpi-support file? What do you think?

    Thanks again!

    Code:
    # Change the following to "standby" to use ACPI S1 sleep, rather than S3.
    # This will save less power, but may work on more machines
    ACPI_SLEEP_MODE=standby
    
    # Add modules to this list to leave them in the kernel over suspend/resume
    MODULES_WHITELIST="mii r8169"

  7. #27
    Join Date
    Nov 2006
    Location
    Sand Springs, OK
    Beans
    34
    Distro
    Ubuntu

    Re: Internet fails when resuming from sleep or hibernation

    This is the acpi-support file

    http://paste.ubuntu.com/487511/

    Try that first restart and everything.

    If that doesn't work try this

    Code:
    gksudo gedit /etc/pm/config.d/load
    just put in

    Code:
    SUSPEND_MODULES="r8169"
    then
    Code:
    sudo chmod +x /etc/pm/config.d/load
    I have the same hardware. Running 64 bit 10.04 and mine has worked for about 9 hrs

  8. #28
    Join Date
    Jul 2010
    Beans
    135

    Re: Internet fails when resuming from sleep or hibernation

    Quote Originally Posted by owenlinx View Post
    This is the acpi-support file

    http://paste.ubuntu.com/487511/

    Try that first restart and everything.

    If that doesn't work try this

    Code:
    gksudo gedit /etc/pm/config.d/load
    just put in

    Code:
    SUSPEND_MODULES="r8169"
    then
    Code:
    sudo chmod +x /etc/pm/config.d/load
    I have the same hardware. Running 64 bit 10.04 and mine has worked for about 9 hrs
    You did it! It works! Problem solved! =D>

    I first compared (I used Diffuse Merge Tool in Ubuntu Software Center for quick automated file comparison) my acpi-support file to your acpi-support file and there was one difference:

    Yours:
    Code:
    # Add modules to this list to leave them in the kernel over suspend/resume
    MODULES_WHITELIST="r8169 mii"
    Mine:
    Code:
    # Add modules to this list to leave them in the kernel over suspend/resume
    MODULES_WHITELIST="mii r8169"
    I mirrored your acpi-support file and rebooted. I placed the computer in sleep mode and then resumed it and was unable to regain network activity.

    I then completed the last steps you stated and it worked perfectly!

    Code:
    gksudo gedit /etc/pm/config.d/load
    just put in

    Code:
    SUSPEND_MODULES="r8169"
    then
    Code:
    sudo chmod +x /etc/pm/config.d/load
    Thanks again owenlinx!!! =D>
    Last edited by lbrty; September 3rd, 2010 at 01:18 AM.

  9. #29
    Join Date
    Nov 2006
    Location
    Sand Springs, OK
    Beans
    34
    Distro
    Ubuntu

    Re: Internet fails when resuming from sleep or hibernation

    Glad to help. Enjoy standing by

  10. #30
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,541
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Internet fails when resuming from sleep or hibernation

    So I was right and indeed it was something in that acpi-support file ...

    Bye

Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •