Results 1 to 6 of 6

Thread: Wifi will not stay connected on battery power.

  1. #1
    Join Date
    May 2009
    Location
    San Francisco, CA
    Beans
    11

    Wifi will not stay connected on battery power.

    I have no problem with my Asus Ubuntu 12.04 LTS as long as the power cord is attached. Once the notebook is running on battery only, the wifi will connect and disconnect about every minute. It's horrible because I have to wait for it to disconnect and reconnect so I can estimate the amount of time I have while connected so I don't lose anything. I've read there are problems with the wireless power management but, I can't find a way to disable it or modify the settings. Asus support is totally useless. They only had the option of a factory restore or sending it in for repair. Reading online, I'm clearly not the only person that has this problem.

  2. #2
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wifi will not stay connected on battery power.

    Please follow the "Wireless Script" link in my signature, download and run the script as per instructions there, and post back the report it generates.

    While posting the outputs, please use 'Code' tags. It preserves the output's formatting and makes the post cleaner, compact and more readable. To see a quick 'HowTo' with screenshots, please follow the "Using Code Tags" link in my signature.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

  3. #3
    Join Date
    May 2009
    Location
    San Francisco, CA
    Beans
    11

    Re: Wifi will not stay connected on battery power.

    Code:
    
    *************** info trace ***************
    
    
    ***** uname -a *****
    
    
    Linux carl-X200CA 3.5.0-47-generic #71~precise1-Ubuntu SMP Wed Feb 19 22:02:52 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    
    
    ***** lsb_release *****
    
    
    Distributor ID:	Ubuntu
    Description:	Ubuntu 12.04.4 LTS
    Release:	12.04
    Codename:	precise
    
    
    ***** lspci *****
    
    
    02:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
    	Subsystem: Lite-On Communications Inc Device [11ad:6627]
    	Kernel driver in use: ath9k
    --
    03:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8172 Fast Ethernet [1969:10a0] (rev 10)
    	Subsystem: ASUSTeK Computer Inc. Device [1043:200f]
    	Kernel driver in use: alx
    
    
    ***** lsusb *****
    
    
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 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 002 Device 003: ID 0bda:5603 Realtek Semiconductor Corp. 
    
    
    ***** PCMCIA Card Info *****
    
    
    
    
    ***** iwconfig *****
    
    
    wlan0     IEEE 802.11bgn  ESSID:"meldydell"  
              Mode:Managed  Frequency:2.447 GHz  Access Point: <MAC address removed>   
              Bit Rate=65 Mb/s   Tx-Power=27 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:off
              Link Quality=56/70  Signal level=-54 dBm  
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:46   Missed beacon:0
    
    
    
    
    ***** rfkill *****
    
    
    0: asus-wlan: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    1: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    
    
    ***** iw reg get *****
    
    
    country US:
    	(2402 - 2472 @ 40), (3, 27)
    	(5170 - 5250 @ 40), (3, 17)
    	(5250 - 5330 @ 40), (3, 20), DFS
    	(5490 - 5600 @ 40), (3, 20), DFS
    	(5650 - 5710 @ 40), (3, 20), DFS
    	(5735 - 5835 @ 40), (3, 30)
    
    
    ***** route -n *****
    
    
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 wlan0
    10.0.0.0        0.0.0.0         255.255.255.0   U     2      0        0 wlan0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0
    
    
    ***** lsmod *****
    
    
    ath9k                 133095  0 
    mac80211              555318  1 ath9k
    ath9k_common           14054  1 ath9k
    ath9k_hw              399752  2 ath9k,ath9k_common
    ath                    24124  3 ath9k,ath9k_common,ath9k_hw
    cfg80211              208382  3 ath9k,mac80211,ath
    
    
    ***** nm-tool *****
    
    
    NetworkManager Tool
    
    
    State: connected (global)
    
    
    - Device: eth0 -----------------------------------------------------------------
      Type:              Wired
      Driver:            alx
      State:             unavailable
      Default:           no
      HW Address:        <MAC address removed>
    
    
      Capabilities:
        Carrier Detect:  yes
    
    
      Wired Properties
        Carrier:         off
    
    
    
    
    - Device: wlan0  [meldydell] ---------------------------------------------------
      Type:              802.11 WiFi
      Driver:            ath9k
      State:             connected
      Default:           yes
      HW Address:        <MAC address removed>
    
    
      Capabilities:
        Speed:           65 Mb/s
    
    
      Wireless Properties
        WEP Encryption:  yes
        WPA Encryption:  yes
        WPA2 Encryption: yes
    
    
      Wireless Access Points (* = current AP)
        Francis K's Guest Network: Infra, <MAC address removed>, Freq 2412 MHz, Rate 54 Mb/s, Strength 70 WPA2
        Francis K's Network: Infra, <MAC address removed>, Freq 2412 MHz, Rate 54 Mb/s, Strength 70 WPA2
        TOWER:           Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 57 WPA2
        Townsend205:     Infra, <MAC address removed>, Freq 2442 MHz, Rate 54 Mb/s, Strength 52 WPA WPA2
        Sylvia:          Infra, <MAC address removed>, Freq 2452 MHz, Rate 54 Mb/s, Strength 52 WPA2
        DIRECT-roku-583: Infra, <MAC address removed>, Freq 2447 MHz, Rate 54 Mb/s, Strength 52 WPA2
        habibi:          Infra, <MAC address removed>, Freq 2417 MHz, Rate 54 Mb/s, Strength 39 WPA2
        linksys_SES_42915: Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 39 WPA
        Maddux31:        Infra, <MAC address removed>, Freq 2412 MHz, Rate 54 Mb/s, Strength 27 WPA WPA2
        LickItBitch:     Infra, <MAC address removed>, Freq 2437 MHz, Rate 54 Mb/s, Strength 22 WPA
        lucca:           Infra, <MAC address removed>, Freq 2422 MHz, Rate 54 Mb/s, Strength 20 WPA2
        Charlotte:       Infra, <MAC address removed>, Freq 2417 MHz, Rate 54 Mb/s, Strength 19 WPA2
        Redone:          Infra, <MAC address removed>, Freq 2462 MHz, Rate 54 Mb/s, Strength 19 WPA2
        TeamA:           Infra, <MAC address removed>, Freq 2422 MHz, Rate 54 Mb/s, Strength 17 WPA2
        *meldydell:      Infra, <MAC address removed>, Freq 2447 MHz, Rate 54 Mb/s, Strength 72 WPA WPA2
        HOME-9088:       Infra, <MAC address removed>, Freq 2457 MHz, Rate 54 Mb/s, Strength 22 WPA WPA2
        HOME-9148:       Infra, <MAC address removed>, Freq 2412 MHz, Rate 54 Mb/s, Strength 12 WPA WPA2
        ATT112:          Infra, <MAC address removed>, Freq 2462 MHz, Rate 54 Mb/s, Strength 20 WPA WPA2
    
    
      IPv4 Settings:
        Address:         10.0.0.40
        Prefix:          24 (255.255.255.0)
        Gateway:         10.0.0.1
    
    
        DNS:             75.75.75.75
        DNS:             75.75.76.76
    
    
      IPv6 Settings:
        Address:         2601:9:8400:5f1:2df0:65f:b46:2d68
        Prefix:          64
        Gateway:         fe80::21d:d5ff:fe04:fe61
    
    
        Address:         2601:9:8400:5f1:2216:d8ff:fe0e:8362
        Prefix:          64
        Gateway:         fe80::21d:d5ff:fe04:fe61
    
    
        Address:         fe80::2216:d8ff:fe0e:8362
        Prefix:          64
        Gateway:         fe80::21d:d5ff:fe04:fe61
    
    
        DNS:             2001:558:feed::2
        DNS:             2001:558:feed::1
    
    
    
    
    
    
    ***** NetworkManager.state *****
    
    
    [main]
    NetworkingEnabled=true
    WirelessEnabled=true
    WWANEnabled=true
    WimaxEnabled=true
    
    
    ***** NetworkManager.conf *****
    
    
    [main]
    plugins=ifupdown,keyfile
    dns=dnsmasq
    
    
    [ifupdown]
    managed=false
    
    
    ***** interfaces *****
    
    
    auto lo
    iface lo inet loopback
    
    
    
    
    ***** iwlist *****
    
    
    wlan0     Scan completed :
              Cell 01 - Address: <MAC address removed>
                        Channel:8
                        Frequency:2.447 GHz (Channel 8)
                        Quality=60/70  Signal level=-50 dBm  
                        Encryption key:on
                        ESSID:"meldydell"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                                  18 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=000000237b42503a
                        Extra: Last beacon: 52ms ago
                        IE: Unknown: 00096D656C647964656C6C
                        IE: Unknown: 010882848B961224486C
                        IE: Unknown: 030108
                        IE: Unknown: 2A0104
                        IE: Unknown: 32048C98B060
                        IE: Unknown: 2D1A0C0017FFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D1608030400000000000000000000000000000000000000
                        IE: Unknown: 3E0100
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : TKIP CCMP
                            Authentication Suites (1) : PSK
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : TKIP CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                        IE: Unknown: 0B0504001F127A
                        IE: Unknown: 7F0101
                        IE: Unknown: DD07000C4303000000
                        IE: Unknown: 0706555320010B10
                        IE: Unknown: DD870050F204104A0001101044000102103B000103104700102880288028801880A880001DD504FE6010210005415252495310230006544738363247102400065254323836301042000831323334353637381054000800060050F204000110110012415252495320544738363220526F7574657210080002210C103C0001011049000600372A000120
              Cell 02 - Address: <MAC address removed>
                        Channel:2
                        Frequency:2.417 GHz (Channel 2)
                        Quality=48/70  Signal level=-62 dBm  
                        Encryption key:on
                        ESSID:"habibi"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=000001a47ef71594
                        Extra: Last beacon: 2456ms ago
                        IE: Unknown: 0006686162696269
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 030102
                        IE: Unknown: 0706555320010B1E
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2D1AAD511BFFFFFF0000000000000000000000000000000000000000
                        IE: Unknown: 3D1602000000000000000000000000000000000000000000
                        IE: Unknown: DD180050F2020101010003A4000027A4000042435E0062322F00
                        IE: Unknown: DD0700039301750320
                        IE: Unknown: DD070017F203020180
                        IE: Unknown: DD0E0017F2070001010620C9D01A537D
                        IE: Unknown: DD0B0017F20100010100000007
              Cell 03 - Address: <MAC address removed>
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality=27/70  Signal level=-83 dBm  
                        Encryption key:on
                        ESSID:"Maddux31"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=00000074cc3b647b
                        Extra: Last beacon: 2464ms ago
                        IE: Unknown: 00084D61646475783331
                        IE: Unknown: 010882848B962430486C
                        IE: Unknown: 030101
                        IE: Unknown: 2A0100
                        IE: Unknown: 2F0100
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 32040C121860
                        IE: Unknown: 2D1ABC181BFFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D1601080400000000000000000000000000000000000000
                        IE: Unknown: DD840050F204104A0001101044000102103B000103104700104A8AD2A1B5704DA0A233D879E251F02410210009436173746C656E65741023000A434257333833473444431024000631323334353610420007303030303030311054000800060050F2040001101100085A4F4F4D35333532100800022008103C0001011049000600372A000120
                        IE: Unknown: DD090010180203000C0000
                        IE: WPA Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
              Cell 04 - Address: <MAC address removed>
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality=54/70  Signal level=-56 dBm  
                        Encryption key:on
                        ESSID:"Francis K's Network"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=00000299a37bf590
                        Extra: Last beacon: 2460ms ago
                        IE: Unknown: 00134672616E636973204B2773204E6574776F726B
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 030101
                        IE: Unknown: 0706555320010B1E
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2D1AAC4117FFFFFF0000000000000000000000000000000000000000
                        IE: Unknown: 33027E95
                        IE: Unknown: 3D1601000000000000000000000000000000000000000000
                        IE: Unknown: 46050200010000
                        IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00
                        IE: Unknown: DD0700039301710320
                        IE: Unknown: DD0E0017F207000101069027E45DF64F
              Cell 05 - Address: <MAC address removed>
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality=20/70  Signal level=-90 dBm  
                        Encryption key:on
                        ESSID:""
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                                  18 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=0000007025a97ba5
                        Extra: Last beacon: 2716ms ago
                        IE: Unknown: 0000
                        IE: Unknown: 010882848B961224486C
                        IE: Unknown: 030101
                        IE: Unknown: 32040C183060
                        IE: Unknown: 0706555320010B14
                        IE: Unknown: 050400010000
                        IE: Unknown: 2A0104
                        IE: Unknown: 2D1AEE1117FFFFFF0001000000000000000000000000030000000000
                        IE: Unknown: 3D1601000000000000000000000000000000000000000000
                        IE: Unknown: 4A0E14000A002C01C800140005001900
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                        IE: Unknown: 0B05000081127A
                        IE: Unknown: DD07000C4300000000
              Cell 06 - Address: <MAC address removed>
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality=54/70  Signal level=-56 dBm  
                        Encryption key:on
                        ESSID:"Francis K's Guest Network"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=00000299a37b4a31
                        Extra: Last beacon: 2452ms ago
                        IE: Unknown: 00194672616E636973204B2773204775657374204E6574776F726B
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 030101
                        IE: Unknown: 0706555320010B1E
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2D1AAC4117FFFFFF0000000000000000000000000000000000000000
                        IE: Unknown: 33027E95
                        IE: Unknown: 3D1601000000000000000000000000000000000000000000
                        IE: Unknown: 46050200010000
                        IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00
                        IE: Unknown: DD0700039301710208
                        IE: Unknown: DD0E0017F207000101069027E45DF64F
              Cell 07 - Address: <MAC address removed>
                        Channel:6
                        Frequency:2.437 GHz (Channel 6)
                        Quality=35/70  Signal level=-75 dBm  
                        Encryption key:on
                        ESSID:"TOWER"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=0000008a0e8dc184
                        Extra: Last beacon: 212ms ago
                        IE: Unknown: 0005544F574552
                        IE: Unknown: 010882848B962430486C
                        IE: Unknown: 030106
                        IE: Unknown: 0706555320010B1E
                        IE: Unknown: 200100
                        IE: Unknown: 23021900
                        IE: Unknown: 2A0100
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 32040C121860
                        IE: Unknown: 2D1AAD1917FFFFFF0000000000000000000000000000000000000000
                        IE: Unknown: 3D1606081100000000000000000000000000000000000000
                        IE: Unknown: 7F080000000000000040
                        IE: Unknown: DD0B0017F20100010100000007
                        IE: Unknown: DD0700039301770320
                        IE: Unknown: DD0E0017F2070001010680EA96EA17D1
                        IE: Unknown: DD090010180200001C0000
                        IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                        IE: Unknown: 46050200010000
              Cell 08 - Address: <MAC address removed>
                        Channel:8
                        Frequency:2.447 GHz (Channel 8)
                        Quality=61/70  Signal level=-49 dBm  
                        Encryption key:on
                        ESSID:""
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                                  18 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=000000237b4d0b1f
                        Extra: Last beacon: 168ms ago
                        IE: Unknown: 0000
                        IE: Unknown: 010882848B961224486C
                        IE: Unknown: 030108
                        IE: Unknown: 32048C98B060
                        IE: Unknown: 0706555320010B14
                        IE: Unknown: 050400010000
                        IE: Unknown: 2A0104
                        IE: Unknown: 2D1A0C0017FFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D1608030400000000000000000000000000000000000000
                        IE: Unknown: 7F0101
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                        IE: Unknown: 0B0504001F127A
                        IE: Unknown: DD07000C4303000000
              Cell 09 - Address: <MAC address removed>
                        Channel:8
                        Frequency:2.447 GHz (Channel 8)
                        Quality=41/70  Signal level=-69 dBm  
                        Encryption key:on
                        ESSID:"DIRECT-roku-583"
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                                  36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=00000077e4c4880a
                        Extra: Last beacon: 52ms ago
                        IE: Unknown: 000F4449524543542D726F6B752D353833
                        IE: Unknown: 01088C129824B048606C
                        IE: Unknown: 030108
                        IE: Unknown: 0706513220010B1E
                        IE: Unknown: 200100
                        IE: Unknown: 23021200
                        IE: Unknown: 2A0100
                        IE: Unknown: 2F0100
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2D1A7C181AFFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D1608081100000000000000000000000000000000000000
                        IE: Unknown: DD090010180200102C0000
                        IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                        IE: Unknown: DD050050F20500
                        IE: Unknown: DD7B0050F204104A0001101044000102103B0001031047001022210203040506070809B83E592BE58B1021000842726F6164636F6D10230006536F66744150102400013010420001301054000800060050F20400011011000F4449524543542D726F6B752D353833100800020108103C0001011049000600372A000120
              Cell 10 - Address: <MAC address removed>
                        Channel:9
                        Frequency:2.452 GHz (Channel 9)
                        Quality=33/70  Signal level=-77 dBm  
                        Encryption key:on
                        ESSID:"Sylvia"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=00000024052c5188
                        Extra: Last beacon: 188ms ago
                        IE: Unknown: 000653796C766961
                        IE: Unknown: 010882848B962430486C
                        IE: Unknown: 030109
                        IE: Unknown: 2A0104
                        IE: Unknown: 2F0104
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 32040C121860
                        IE: Unknown: DD090010180202F5000000
              Cell 11 - Address: <MAC address removed>
                        Channel:3
                        Frequency:2.422 GHz (Channel 3)
                        Quality=23/70  Signal level=-87 dBm  
                        Encryption key:on
                        ESSID:"lucca"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=000010465c1259cf
                        Extra: Last beacon: 2196ms ago
                        IE: Unknown: 00056C75636361
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 030103
                        IE: Unknown: 0706555320010B1E
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2D1A2C4017FFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D1603000400000000000000000000000000000000000000
                        IE: Unknown: 46050200010000
                        IE: Unknown: DD180050F2020101010003A4000027A4000042435E0062322F00
                        IE: Unknown: DD07000393016B0B20
                        IE: Unknown: DD0E0017F2070001010678CA39426773
              Cell 12 - Address: <MAC address removed>
                        Channel:6
                        Frequency:2.437 GHz (Channel 6)
                        Quality=34/70  Signal level=-76 dBm  
                        Encryption key:on
                        ESSID:"linksys_SES_42915"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=000005e03abe04db
                        Extra: Last beacon: 1136ms ago
                        IE: Unknown: 00116C696E6B7379735F5345535F3432393135
                        IE: Unknown: 010882848B962430486C
                        IE: Unknown: 030106
                        IE: Unknown: 2A0104
                        IE: Unknown: 2F0104
                        IE: Unknown: 32040C121860
                        IE: Unknown: DD09001018020014000000
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (1) : TKIP
                            Authentication Suites (1) : PSK
              Cell 13 - Address: <MAC address removed>
                        Channel:6
                        Frequency:2.437 GHz (Channel 6)
                        Quality=24/70  Signal level=-86 dBm  
                        Encryption key:on
                        ESSID:"LickItBitch"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=00000046f2e6362e
                        Extra: Last beacon: 1380ms ago
                        IE: Unknown: 000B4C69636B49744269746368
                        IE: Unknown: 010882848B962430486C
                        IE: Unknown: 030106
                        IE: Unknown: 2A0100
                        IE: Unknown: 2F0100
                        IE: Unknown: 32040C121860
                        IE: Unknown: DD06001018020004
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (1) : TKIP
                            Authentication Suites (1) : PSK
              Cell 14 - Address: <MAC address removed>
                        Channel:6
                        Frequency:2.437 GHz (Channel 6)
                        Quality=23/70  Signal level=-87 dBm  
                        Encryption key:on
                        ESSID:"linksys_WPS_7436"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                                  24 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=000002fc06c72e4e
                        Extra: Last beacon: 1384ms ago
                        IE: Unknown: 00106C696E6B7379735F5750535F37343336
                        IE: Unknown: 010882848B962430486C
                        IE: Unknown: 030106
                        IE: Unknown: 2A0104
                        IE: Unknown: 2F0104
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 32040C121860
                        IE: Unknown: DD7E0050F204104A0001101044000102103B00010310470010138140001DD211B29FFFC67E816B4BFB102100074C696E6B73797310230006526F7574657210240007575254353447321042000C43535630314A3534303730301054000800060050F204000110110011576972656C6573732D4720526F75746572100800020084
                        IE: Unknown: DD090010180200F4000000
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
              Cell 15 - Address: <MAC address removed>
                        Channel:7
                        Frequency:2.442 GHz (Channel 7)
                        Quality=44/70  Signal level=-66 dBm  
                        Encryption key:on
                        ESSID:"Townsend205"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                                  18 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=00000063847bb16a
                        Extra: Last beacon: 684ms ago
                        IE: Unknown: 000B546F776E73656E64323035
                        IE: Unknown: 010882848B961224486C
                        IE: Unknown: 030107
                        IE: Unknown: 32048C98B060
                        IE: Unknown: 0706555320010B14
                        IE: Unknown: 050400010030
                        IE: Unknown: DD310050F204104A0001101044000102104700102880288028801880A880CCA4620516F0103C0001011049000600372A000120
                        IE: Unknown: 2A0104
                        IE: Unknown: 2D1A8E1117FFFF000001000000000000000000000000000000000000
                        IE: Unknown: 3D1607050600000000000000000000000000000000000000
                        IE: Unknown: 4A0E14000A002C01C800140005001900
                        IE: Unknown: 7F0101
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : TKIP CCMP
                            Authentication Suites (1) : PSK
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : TKIP CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                        IE: Unknown: 0B05020015127A
                        IE: Unknown: DD07000C4303000000
              Cell 16 - Address: <MAC address removed>
                        Channel:7
                        Frequency:2.442 GHz (Channel 7)
                        Quality=46/70  Signal level=-64 dBm  
                        Encryption key:on
                        ESSID:""
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                                  18 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=000000638470f382
                        Extra: Last beacon: 1388ms ago
                        IE: Unknown: 0000
                        IE: Unknown: 010882848B961224486C
                        IE: Unknown: 030107
                        IE: Unknown: 32048C98B060
                        IE: Unknown: 0706555320010B14
                        IE: Unknown: 050400010000
                        IE: Unknown: 2A0104
                        IE: Unknown: 2D1A8E1117FFFF000001000000000000000000000000000000000000
                        IE: Unknown: 3D1607050600000000000000000000000000000000000000
                        IE: Unknown: 4A0E14000A002C01C800140005001900
                        IE: Unknown: 7F0101
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                        IE: Unknown: 0B05020015127A
                        IE: Unknown: DD07000C4303000000
              Cell 17 - Address: <MAC address removed>
                        Channel:10
                        Frequency:2.457 GHz (Channel 10)
                        Quality=19/70  Signal level=-91 dBm  
                        Encryption key:on
                        ESSID:""
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                                  18 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=0000005f5f550b85
                        Extra: Last beacon: 620ms ago
                        IE: Unknown: 0000
                        IE: Unknown: 010882848B961224486C
                        IE: Unknown: 03010A
                        IE: Unknown: 32040C183060
                        IE: Unknown: 0706555320010B14
                        IE: Unknown: 050400010000
                        IE: Unknown: 2A0104
                        IE: Unknown: 2D1AEE1117FFFFFF00010000000000000000000000000F0000000000
                        IE: Unknown: 3D160A070600000000000000000000000000000000000000
                        IE: Unknown: 4A0E14000A002C01C800140005001900
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                        IE: Unknown: 0B05010026127A
                        IE: Unknown: DD07000C4304000000
              Cell 18 - Address: <MAC address removed>
                        Channel:10
                        Frequency:2.457 GHz (Channel 10)
                        Quality=20/70  Signal level=-90 dBm  
                        Encryption key:on
                        ESSID:""
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                                  18 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=0000005f5f551b48
                        Extra: Last beacon: 616ms ago
                        IE: Unknown: 0000
                        IE: Unknown: 010882848B961224486C
                        IE: Unknown: 03010A
                        IE: Unknown: 32040C183060
                        IE: Unknown: 0706555320010B14
                        IE: Unknown: 050400010000
                        IE: Unknown: 2A0104
                        IE: Unknown: 2D1AEE1117FFFFFF00010000000000000000000000000F0000000000
                        IE: Unknown: 3D160A070600000000000000000000000000000000000000
                        IE: Unknown: 4A0E14000A002C01C800140005001900
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : TKIP CCMP
                            Authentication Suites (1) : PSK
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : TKIP CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                        IE: Unknown: 0B05010026127A
                        IE: Unknown: DD07000C4304000000
              Cell 19 - Address: <MAC address removed>
                        Channel:11
                        Frequency:2.462 GHz (Channel 11)
                        Quality=22/70  Signal level=-88 dBm  
                        Encryption key:on
                        ESSID:"Lucca"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=0000104642c19f02
                        Extra: Last beacon: 76ms ago
                        IE: Unknown: 00054C75636361
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 03010B
                        IE: Unknown: 0706555320010B1E
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : CCMP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2D1AAC4117FFFFFF0000000000000000000000000000000000000000
                        IE: Unknown: 33027E95
                        IE: Unknown: 3D160B001100000000000000000000000000000000000000
                        IE: Unknown: 46050200010000
                        IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00
                        IE: Unknown: DD0700039301720320
                        IE: Unknown: DD0E0017F207000101069027E45D0E13
    
    
    
    
    ***** resolv.conf *****
    
    
    nameserver 127.0.0.1
    search hsd1.ca.comcast.net
    
    
    ***** blacklist *****
    
    
    [/etc/modprobe.d/blacklist-ath_pci.conf]
    blacklist ath_pci
    
    
    [/etc/modprobe.d/blacklist.conf]
    blacklist evbug
    blacklist usbmouse
    blacklist usbkbd
    blacklist eepro100
    blacklist de4x5
    blacklist eth1394
    blacklist snd_intel8x0m
    blacklist snd_aw2
    blacklist i2c_i801
    blacklist prism54
    blacklist bcm43xx
    blacklist garmin_gps
    blacklist asus_acpi
    blacklist snd_pcsp
    blacklist pcspkr
    blacklist amd76x_edac
    
    
    ***** modinfo *****
    
    
    filename:       /lib/modules/3.5.0-47-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
    license:        Dual BSD/GPL
    description:    Support for Atheros 802.11n wireless LAN cards.
    author:         Atheros Communications
    srcversion:     2739A66454A502EC7DA66D6
    alias:          platform:ar934x_wmac
    alias:          platform:ar933x_wmac
    alias:          platform:ath9k
    alias:          pci:v0000168Cd00000037sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000034sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000033sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000032sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000030sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000002Esv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000002Csv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000002Asv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000029sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000027sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000024sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000023sv*sd*bc*sc*i*
    depends:        ath9k_hw,ath9k_common,mac80211,ath,cfg80211
    intree:         Y
    vermagic:       3.5.0-47-generic SMP mod_unload modversions 
    parm:           debug:Debugging mask (uint)
    parm:           nohwcrypt:Disable hardware encryption (int)
    parm:           blink:Enable LED blink on activity (int)
    parm:           btcoex_enable:Enable wifi-BT coexistence (int)
    
    
    filename:       /lib/modules/3.5.0-47-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
    license:        Dual BSD/GPL
    description:    Shared library for Atheros wireless 802.11n LAN cards.
    author:         Atheros Communications
    srcversion:     1673D73171C827FC143E431
    depends:        ath,ath9k_hw
    intree:         Y
    vermagic:       3.5.0-47-generic SMP mod_unload modversions 
    
    
    filename:       /lib/modules/3.5.0-47-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
    license:        Dual BSD/GPL
    description:    Support for Atheros 802.11n wireless LAN cards.
    author:         Atheros Communications
    srcversion:     CB2ABC6267ACC1CBB44DBA1
    depends:        ath
    intree:         Y
    vermagic:       3.5.0-47-generic SMP mod_unload modversions 
    parm:           force_new_ani:Force new ANI for AR5008, AR9001, AR9002 (int)
    
    
    filename:       /lib/modules/3.5.0-47-generic/kernel/drivers/net/wireless/ath/ath.ko
    license:        Dual BSD/GPL
    description:    Shared library for Atheros wireless LAN cards.
    author:         Atheros Communications
    srcversion:     8C339DF4D303827C9304BB0
    depends:        cfg80211
    intree:         Y
    vermagic:       3.5.0-47-generic SMP mod_unload modversions 
    
    
    
    
    ***** udev rules *****
    
    
    # PCI device 0x1969:/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0 (alx)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
    
    
    # PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0 (ath9k)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address removed>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
    
    
    ***** dmesg *****
    
    
    [   13.936568] ath: EEPROM regdomain: 0x60
    [   13.936572] ath: EEPROM indicates we should expect a direct regpair map
    [   13.936575] ath: Country alpha2 being used: 00
    [   13.936577] ath: Regpair used: 0x60
    [   14.095747] Registered led device: ath9k-phy0
    [   14.542827] psmouse serio4: elantech: assuming hardware version 4 (with firmware version 0x361f01)
    [   15.949409] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   15.951640] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   18.802445] wlan0: authenticate with <MAC address removed>
    [   18.810190] wlan0: send auth to <MAC address removed> (try 1/3)
    [   18.812123] wlan0: authenticated
    [   18.821255] wlan0: associate with <MAC address removed> (try 1/3)
    [   18.829208] wlan0: RX AssocResp from <MAC address removed> (capab=0xc11 status=0 aid=2)
    [   18.829349] wlan0: associated
    [   18.829802] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   18.835698] ath: regdomain 0x8348 updated by CountryIE
    [   18.835699] ath: EEPROM regdomain: 0x8348
    [   18.835701] ath: EEPROM indicates we should expect a country code
    [   18.835703] ath: doing EEPROM country->regdmn map search
    [   18.835705] ath: country maps to regdmn code: 0x3a
    [   18.835707] ath: Country alpha2 being used: US
    [   18.835708] ath: Regpair used: 0x3a
    
    
    ****************** done ******************

  4. #4
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wifi will not stay connected on battery power.

    Quote Originally Posted by fagmango View Post
    Code:
      Wireless Access Points (* = current AP)
        ....
        *meldydell:      Infra, <MAC address removed>, Freq 2447 MHz, Rate 54 Mb/s, Strength 72 WPA WPA2
        ....
    
    
    ***** iwlist *****
    
    wlan0     Scan completed :
              Cell 01 - Address: <MAC address removed>
                        Channel:8
                        Frequency:2.447 GHz (Channel 8)
                        Quality=60/70  Signal level=-50 dBm  
                        Encryption key:on
                        ESSID:"meldydell"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                                  18 Mb/s; 36 Mb/s; 54 Mb/s
                        Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                        Mode:Master
                        Extra:tsf=000000237b42503a
                        Extra: Last beacon: 52ms ago
                        IE: Unknown: 00096D656C647964656C6C
                        IE: Unknown: 010882848B961224486C
                        IE: Unknown: 030108
                        IE: Unknown: 2A0104
                        IE: Unknown: 32048C98B060
                        IE: Unknown: 2D1A0C0017FFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D1608030400000000000000000000000000000000000000
                        IE: Unknown: 3E0100
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : TKIP CCMP
                            Authentication Suites (1) : PSK
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : TKIP CCMP
    A few general suggestions based on above quoted parts.

    1) Please change the encryption type in the router to pure WPA2-PSK with AES (CCMP). Currently it is using WPA/WPA2 mixed mode with TKIP - it should be avoided at all costs.

    2) Try changing the channel in the router to 1 or 11, as they usually offer better signal quality. Some of your neighbourhood access-points are already using channel 1, so channel 11 may be better for you.

    After saving the changes in the router, reboot it for them to take effect properly.

    Then, in Ubuntu, please run the following command in a terminal (Ctrl-Alt-T) -
    Code:
    echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf
    This will create a .conf file in your /etc/modprobe.d directory that will load a parameter "nohwcrypt=1" with the wireless driver. Even if it doesn't help, it won't hurt either.

    Lastly, are you sure it happens ONLY when you run on battery power? Because that would mean we may have to deal with Power Management as well.

    When you are running on battery power, frequently check the output of -
    Code:
    iwconfig
    ..and post back if you see the value of "Power Management" to be "on". It may be "off" for a while, then may automatically change to "off". If that happens, report back, and we'll take additional steps as necessary.

    If the changes suggested above don't help, please do reboot (so the logs are fresh and short) > post back the report about what you see about "Power Management", along with the following output -
    Code:
    cat /var/log/pm-powersave.log

    PS:
    I'd also recommend to install "PowerTop" program -
    Code:
    sudo apt-get install powertop
    Then run it with sudo -
    Code:
    sudo powertop
    It will run in the terminal. When it starts, hit the Left arrow key to quickly go to the last tab. It will show a long list of different settings with their status indicated as "Good" or "Bad". Locate the "Wireless Power saving on interface wlan0", and see if its status is "Good" or "Bad".

    We need it to be "Bad" (yeah, we don't need to save power on wireless, we need performance). Hit 'Enter' key and the selected setting will change from "Good" to "Bad" (or vice-versa). Press 'Esc' to exit the program while leaving the setting as we set.

    I have never recommended this to anyone, so not sure if it can help or not. Besides, the status "Good" or "Bad" may keep changing automatically (just like in "iwconfig") if the power is managed by external features, like BIOS or a PM script.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

  5. #5
    Join Date
    May 2009
    Location
    San Francisco, CA
    Beans
    11

    Re: Wifi will not stay connected on battery power.

    Thanks so much for your help. The only thing I needed to do to fix the problem was disable the power management of the Wifi. No other steps were required.

  6. #6
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wifi will not stay connected on battery power.

    Quote Originally Posted by fagmango View Post
    The only thing I needed to do to fix the problem was disable the power management of the Wifi. No other steps were required.
    Hmm.. with so many suggestions in a single post, I guess it got scared of me ("start working buddy! who knows wut this guy's upto" )

    Please mark the thread as [SOLVED] to make your thread useful to others as well. The option is under "Thread Tools" link above the top post.
    Last edited by varunendra; March 14th, 2014 at 04:23 AM.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

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
  •