Network and Suspend Issues

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Network and Suspend Issues

Postby kefka on Fri Jul 06, 2012 4:30 pm

I'm currently experiencing a rather weird problem. I have an Aspire One 722. I have done everything necessary to get wireless working on the laptop, and it works perfectly. However, I have a strange problem connecting to a network at all after I suspend the computer. When I wake up from the suspend, everything looks fine, and all the possible wired and wireless connections are showing, but I cannot connect to them; If i try, I get spammed with the message "Wireless Network Disconnected" every 10 seconds or so. :? The only way to access a network is to reboot the computer.

I have seen that other people have had similar problems, but none of the solutions on the forum (or on any forum for that matter) have worked. I understand that wireless has problems on this laptop, but wireless works on a fresh reboot, so I'm at a loss.
kefka
Level 1
Level 1
 
Posts: 4
Joined: Wed Jul 04, 2012 1:27 am

Linux Mint is funded by ads and donations.
 

Re: Network and Suspend Issues

Postby Sonsum on Sat Jul 07, 2012 5:45 pm

From what I've found, a lot of 12.04 Ubuntu counterparts can't get this laptop to resume from suspend at all.

I'm not sure if it will help your problem, but here's some useful Debian information regarding your laptop.

http://wiki.debian.org/InstallingDebianOn/Acer/AspireOne_722
Sonsum
Level 3
Level 3
 
Posts: 111
Joined: Fri Jun 24, 2011 9:03 pm

Re: Network and Suspend Issues

Postby titetanium on Mon Jul 09, 2012 4:21 pm

Hi,

If you have powertop, open a terminal and run it as sudo. If you don't have it, install it and then run sudo powertop in a terminal. Press the right arrow until tunables is showing. Look for the line "wireless powersaving for interface wlan0", wlan0 being what your wireless interface is called. Click on that line by pressing spacebar so it says bad. Press esc. Try suspending and resuming. It should have no problems connecting.

For a more permanent fix, you need to edit a certain file to turn wireless powersaving off globally. It should be /etc/pm/power.d/wireless, look for the block with this code:
Code: Select all
case $1 in
    true) wireless_powersave off ;;
    false) wireless_powersave off ;;
    *) exit $NA ;;
esac
and make sure the block looks exactly like this. If you don't have that file, copy it from /usr/lib/pm-utils/power.d/wireless and paste it into /etc/pm/power.d. Reboot and wireless will stick across suspend and hibernate.
titetanium
Level 2
Level 2
 
Posts: 71
Joined: Mon Jun 18, 2012 4:26 pm

Re: Network and Suspend Issues

Postby halregen on Sat May 10, 2014 6:32 am

titetanium wrote:Hi,

If you have powertop, open a terminal and run it as sudo. If you don't have it, install it and then run sudo powertop in a terminal. Press the right arrow until tunables is showing. Look for the line "wireless powersaving for interface wlan0", wlan0 being what your wireless interface is called. Click on that line by pressing spacebar so it says bad. Press esc. Try suspending and resuming. It should have no problems connecting.

For a more permanent fix, you need to edit a certain file to turn wireless powersaving off globally. It should be /etc/pm/power.d/wireless, look for the block with this code:
Code: Select all
case $1 in
    true) wireless_powersave off ;;
    false) wireless_powersave off ;;
    *) exit $NA ;;
esac
and make sure the block looks exactly like this. If you don't have that file, copy it from /usr/lib/pm-utils/power.d/wireless and paste it into /etc/pm/power.d. Reboot and wireless will stick across suspend and hibernate.

I tried both of these solutions. The second one did not work. The first one, using powertop I could not get the space key to toggle "good" to "bad" in the line: "Good wireless powersaving for interface wlan0" I tried enter key instead that did notwork either. I had opened powertop with sudo.
Code: Select all
$ sudo powertop
Cannot load from file /var/cache/powertop/saved_results.powertop
Cannot load from file /var/cache/powertop/saved_parameters.powertop
RAPL device for cpu 0
RAPL device for cpu 0
Cannot load from file /var/cache/powertop/saved_parameters.powertop
Leaving PowerTOP


My system:
USB devices;
Code: Select all
$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 003 Device 003: ID 050d:845a Belkin Components F7D2101 802.11n Surf & Share Wireless Adapter v1000 [Realtek RTL8192SU]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

PCI devices,
Code: Select all
$ lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation B85 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

It is a new home assembled PC.
How can I work this powertop.
halregen
Level 1
Level 1
 
Posts: 2
Joined: Fri Jul 12, 2013 5:40 am


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 2 guests