You are not logged in.

#1 2012-04-09 01:50:48

0112358
Member
Registered: 2012-04-09
Posts: 38

[Solved] Wireless internet fails after suspend

*EDIT for posterity: disabling bluetooth seems to have finally fixed this problem.

When I suspend my computer (either through gnome's gui or from the terminal with pm-suspend), wireless will not reconnect on resume.  Network Manager (or wicd, or anything I try) finds the network, but isn't ever able to authenticate - it just keeps trying to connect until it fails.

This seems like a common problem, but I've never been able to fix it.  It's happened ever since the 2.6.something kernel.  I used to have it with Ubuntu too, and since moving to Arch I've been able to solve a few other major issues I was having before, but not this one.  I thought maybe the Arch community might have a stroke of genius here...

Specs:
HP dv7t quad
Intel i7-2630QM 2.0 GHz
8GB RAM (13GB swap)
3.3.1-1-ARCH
IPv6 is disabled at boot (otherwise wifi doesn't work at all)

I have tried:

  • Suspending modules:

$ cat /etc/pm/config.d/modules
SUSPEND_MODULES="ehci_hcd xhci_hcd iwlwifi hp_wmi wmi mac80211 cfg80211"
  • Manually taking networkmanager and all the wireless modules down before suspend, and adding them back after resume:

rc.d stop networkmanager
rmmod -r -f iwlwifi
modprobe iwlwifi
rc.d start networkmanager
  • Bringing wlan0 down then back up with ifconfig on resume:

ifconfig wlan0 down
ifconfig wlan0 up

Outputs on resume:

$ lspci | grep net
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
$ lspci | grep Net
0d:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
$ lsmod | grep iwlwifi
iwlwifi               255023  0 
mac80211              396060  1 iwlwifi
cfg80211              176921  2 mac80211,iwlwifi
$ iwconfig
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=14 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
$ ifconfig
wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
        ether 8c:a9:82:97:69:00  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
$ ip link
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 8c:a9:82:97:69:00 brd ff:ff:ff:ff:ff:ff
$ cat /var/log/pm-suspend.log
enabled, not active

/usr/lib/pm-utils/sleep.d/01laptop-mode resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub resume suspend:

/usr/lib/pm-utils/sleep.d/01grub resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:

/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Sun Apr  8 20:40:58 EDT 2012: Finished.

Any help would be appreciated!

Last edited by 0112358 (2013-01-03 05:50:40)

Offline

#2 2012-04-10 05:02:52

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [Solved] Wireless internet fails after suspend

You can try ifplugd and configure it for your wifi by editing /etc/default/ifplugd. not sure it will work.

Offline

#3 2012-04-11 01:45:39

0112358
Member
Registered: 2012-04-09
Posts: 38

Re: [Solved] Wireless internet fails after suspend

hadrons123 wrote:

You can try ifplugd and configure it for your wifi by editing /etc/default/ifplugd. not sure it will work.

Doesn't seem to do the trick, but thank you for the suggestion.

Offline

Board footer

Powered by FluxBB