Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a problem similar to reported here:

When I resume my computer from suspend it doesn't want to connect to any wireless connection. It looks like it is connecting, but after a while it asks me to retype a password for wireless connection. It connects after I restart it"

In my case it happens on Ubuntu 11.04 ThinkPad T61 with Intel PRO/Wireless 4965 AG.

Is there a way to fix the issue by some "magic" sequence of commands without rebooting?

BTW, the sequence of

sudo service network-manager stop
sudo rmmod iwlagn
sudo modprobe iwlagn
sudo service network-manager start

from here did not help

System details:

$ sudo lshw -class network
   description: Wireless interface
   product: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
   vendor: Intel Corporation
   physical id: 0
   bus info: pci@0000:03:00.0
   logical name: wlan0
   version: 61
   serial: 00:1d:e0:20:a3:47
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=iwlagn driverversion=2.6.38-10-generic firmware=228.61.2.24 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
   resources: irq:49 memory:df3fe000-df3fffff


$ iwconfig wlan0
wlan0     IEEE 802.11abgn  ESSID:"MyNet"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: Not-Associated   
          Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
share|improve this question

closed as too localized by jrg Mar 19 '12 at 19:35

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Please see the most recent answer, and if correct, mark as answered. If you have found a solution, please post and mark yourself. Otherwise, close. –  Lewis Goddard Feb 24 '12 at 20:31
    
After upgrading to 11.10 the issue did not happen –  Vitali Mar 18 '12 at 10:05

2 Answers 2

You may want to give this a try:

  1. Find your wireless kernel module with lspci -v. It appears that yours may be iwlagn
  2. Create/edit a file /etc/pm/config.d/00sleep_module and enter SUSPEND_MODULES=iwlagn

References:

http://ubuntuforums.org/showpost.php?p=6186232&postcount=3 http://ubuntuforums.org/showpost.php?p=6883391&postcount=16

share|improve this answer
    
I tried it, thanks. But unfortunately it did not help –  Vitali Sep 27 '11 at 12:57

Could pm-powersave be the cause of your problem? My answer to How to connect wirelessly in a cafe with 11.04 might apply:

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.