Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

  1. #1
    Join Date
    May 2013
    Beans
    11

    Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    Hi All.

    I have just installed Ubuntu 12.04 on my Laptop Lenovo B570e. Wifi connection is not continuous. I mean after some time it shows that connection is disconnected and again after few seconds it connects automatically. I have searched many forums but in vain. Please help me anybody. Thanks

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    17,732
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    Hi, copy and paste this command in the terminal (ctrl+alt+t) please:
    Code:
     wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script
    It will download a script and create a file named wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless at this time and the Mac address, WPA key and WEP key are removed for your security, then reply back, click on the paper clip and attach the wireless-info.tar.gz file as a zip file.

    If you do not have ethernet either then follow the directions at this link for running the script without internet.
    http://ubuntuforums.org/showpost.php?p=12350385
    Thanks

  3. #3
    Join Date
    May 2013
    Beans
    9

    Re: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    Yes, the open source WIFI drivers are pretty terrible. This is a very large problem with Ubuntu. Every PC I've tried Ubuntu on with WIFI has had this problem (and numerous other WIFI issues). I think the easiest and least time wasting probable solution would be to use ndiswrapper, which lets you install the Windows WIFI driver.

    Please type the following command into the Terminal and post the output.
    lspci

  4. #4
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    17,732
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    open source WIFI drivers are pretty terrible
    Not really a true statement, there are issues with any of the drivers from time to time not exclusive to open source and most issues can be resolved with a little effort.
    I think the easiest and least time wasting probable solution would be to use ndiswrapper
    Not true this should only be used as a last option and is almost nerver needed anymore.
    Thanks

  5. #5
    Join Date
    May 2013
    Beans
    9

    Re: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    Quote Originally Posted by Wild Man View Post
    Not really a true statement, there are issues with any of the drivers from time to time not exclusive to open source and most issues can be resolved with a little effort.
    Not true this should only be used as a last option and is almost nerver needed anymore.
    Thanks
    I know there are issues with 'any of the drivers' as you put it, but from personal experience with WIFI and Ubuntu, on a number of computers, it's unfortunately true.

    As for ndiswrapper, again from personal experience, I've found that downloading & compiling the latest ndiswrapper and installing the Windows driver is far, far less time consuming and confusing than trying to install a firmware update that probably won't work anyway.

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

    Re: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    Quote Originally Posted by Deviljho View Post
    I know there are issues with 'any of the drivers' as you put it, but from personal experience with WIFI and Ubuntu, on a number of computers, it's unfortunately true.
    May be a problem with wireless + Ubuntu, not really a problem exclusive to the 'open source' drivers, as wild man put it. The proprietary ones may (and often do) also suffer from same, similar, or different issues. That's why we try the native drivers first, it'll be a relatively more stable solution if worked.

    As for ndiswrapper, again from personal experience, I've found that downloading & compiling the latest ndiswrapper and installing the Windows driver is far, far less time consuming and confusing than trying to install a firmware update that probably won't work anyway.
    Depends on what device you are using.

    Apart from a very few outdated devices (or some very rare ultra-new ones), almost never is ndiswrapper is required, although you 'may' be able to make it work. The reason why we consider it the 'last resort' is that its performance is really poor on linux compared to the native driver if we have a working one.

    Except when some critical changes are introduced in the kernel (like in 3.8 series), the native ones work out of box with most of the hardware they are supposed to work with. But when they don't, we do need to go through several steps to hunt down the issue and solve it. Unfortunately, the reasons for different problems vastly differ for different users when it comes to wireless. There are just too many variables to consider at once. But once the problem is found, the next time it is easier to implement the solution than bothering with workarounds like ndiswrapper (provided the device/driver combo does not have a known, unfixed problem, in which case, we may have to use ndiswrapper).
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  7. #7
    Join Date
    May 2013
    Beans
    9

    Re: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    At the risk of repeating myself, the default WIFI drivers have been consistently terrible in my own experience. Trying to compile & install firmware updates is considerably more difficult and confusing than ndiswrapper.

  8. #8
    Join Date
    May 2013
    Beans
    11

    Post Re: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    Quote Originally Posted by Wild Man View Post
    Hi, copy and paste this command in the terminal (ctrl+alt+t) please:
    Code:
     wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script
    It will download a script and create a file named wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless at this time and the Mac address, WPA key and WEP key are removed for your security, then reply back, click on the paper clip and attach the wireless-info.tar.gz file as a zip file.

    If you do not have ethernet either then follow the directions at this link for running the script without internet.
    http://ubuntuforums.org/showpost.php?p=12350385
    Thanks
    Hello Wild Man

    Thanks for your quick rreply. I have run your command and i got a txt file in my Home folder. I did not understand how attachment works. BUt i post data of .txt file.

    Code:
    *************** info trace ***************
    
    ***** uname -a *****
    
    Linux ubuntu 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    
    ***** lsb_release *****
    
    Distributor ID:    Ubuntu
    Description:    Ubuntu 12.04.2 LTS
    Release:    12.04
    Codename:    precise
    
    ***** lspci *****
    
    02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
        Subsystem: Lenovo Device [17aa:30a1]
        Kernel driver in use: ath9k
    --
    03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
        Subsystem: Lenovo Device [17aa:3975]
        Kernel driver in use: r8169
    
    ***** 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 001 Device 003: ID 04f2:b272 Chicony Electronics Co., Ltd Lenovo EasyCamera
    Bus 002 Device 003: ID 0bda:0139 Realtek Semiconductor Corp. 
    
    ***** iwconfig *****
    
    wlan0     IEEE 802.11bgn  ESSID:"eduroam"  
              Mode:Managed  Frequency:2.467 GHz  Access Point: <MAC address removed>   
              Bit Rate=54 Mb/s   Tx-Power=15 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:off
              Link Quality=49/70  Signal level=-61 dBm  
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:65   Missed beacon:0
    
    
    ***** rfkill *****
    
    0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    
    ***** lsmod *****
    
    ath9k                 133133  0 
    mac80211              555198  1 ath9k
    ath9k_common           14054  1 ath9k
    ath9k_hw              399665  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:            r8169
      State:             unavailable
      Default:           no
      HW Address:        <MAC address removed>
    
      Capabilities:
        Carrier Detect:  yes
    
      Wired Properties
        Carrier:         off
    
    
    - Device: wlan0  [eduroam] -----------------------------------------------------
      Type:              802.11 WiFi
      Driver:            ath9k
      State:             connected
      Default:           yes
      HW Address:        <MAC address removed>
    
      Capabilities:
        Speed:           48 Mb/s
    
      Wireless Properties
        WEP Encryption:  yes
        WPA Encryption:  yes
        WPA2 Encryption: yes
    
      Wireless Access Points (* = current AP)
        eduroam:         Infra, <MAC address removed>, Freq 2412 MHz, Rate 54 Mb/s, Strength 39 WPA WPA2 Enterprise
        eduroam:         Infra, <MAC address removed>, Freq 2417 MHz, Rate 54 Mb/s, Strength 30 WPA WPA2 Enterprise
        stw-wohnheim:    Infra, <MAC address removed>, Freq 2412 MHz, Rate 54 Mb/s, Strength 39
        stw-wohnheim:    Infra, <MAC address removed>, Freq 2417 MHz, Rate 54 Mb/s, Strength 27
        eduroam:         Infra, <MAC address removed>, Freq 2457 MHz, Rate 54 Mb/s, Strength 42 WPA WPA2 Enterprise
        eduroam:         Infra, <MAC address removed>, Freq 2462 MHz, Rate 54 Mb/s, Strength 32 WPA WPA2 Enterprise
        stw-wohnheim:    Infra, <MAC address removed>, Freq 2457 MHz, Rate 54 Mb/s, Strength 45
        stw-wohnheim:    Infra, <MAC address removed>, Freq 2462 MHz, Rate 54 Mb/s, Strength 30
        stw-wohnheim:    Infra, <MAC address removed>, Freq 2467 MHz, Rate 54 Mb/s, Strength 51
        *eduroam:        Infra, <MAC address removed>, Freq 2467 MHz, Rate 54 Mb/s, Strength 65 WPA WPA2 Enterprise
    
      IPv4 Settings:
        Address:         134.102.92.92
        Prefix:          23 (255.255.254.0)
        Gateway:         134.102.93.250
    
        DNS:             134.102.20.20
        DNS:             134.102.200.14
    
    
    
    ***** NetworkManager.state *****
    
    [main]
    NetworkingEnabled=true
    WirelessEnabled=true
    WWANEnabled=true
    WimaxEnabled=true
    
    ***** NetworkManager.conf *****
    
    [main]
    plugins=ifupdown,keyfile
    dns=dnsmasq
    
    [ifupdown]
    managed=false
    
    ***** interfaces *****
    
    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback
    
    ***** iwlist *****
    
    wlan0     Scan completed :
              Cell 01 - Address: <MAC address removed>
                        Channel:12
                        Frequency:2.467 GHz (Channel 12)
                        Quality=47/70  Signal level=-63 dBm  
                        Encryption key:on
                        ESSID:"eduroam"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                                  11 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=000004245c88780e
                        Extra: Last beacon: 916ms ago
                        IE: Unknown: 0007656475726F616D
                        IE: Unknown: 010882848B0C12961824
                        IE: Unknown: 03010C
                        IE: Unknown: 2A0100
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : 802.1x
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (1) : TKIP
                            Authentication Suites (1) : 802.1x
                        IE: Unknown: 32043048606C
                        IE: Unknown: 851E000081000F00FF0319004C756973656E74616C3134350000000005000025
                        IE: Unknown: DD06004096010101
                        IE: Unknown: DD050040960303
                        IE: Unknown: DD1600409604000207A4000023A400004243000062320000
                        IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00
              Cell 02 - Address: <MAC address removed>
                        Channel:12
                        Frequency:2.467 GHz (Channel 12)
                        Quality=46/70  Signal level=-64 dBm  
                        Encryption key:off
                        ESSID:"stw-wohnheim"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                                  11 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=000004245c887192
                        Extra: Last beacon: 868ms ago
                        IE: Unknown: 000C7374772D776F686E6865696D
                        IE: Unknown: 010882848B0C12961824
                        IE: Unknown: 03010C
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: Unknown: 851E000081000F00FF0319004C756973656E74616C3134350000000005000025
                        IE: Unknown: DD06004096010101
                        IE: Unknown: DD050040960303
                        IE: Unknown: DD1600409604000207A4000023A400004243000062320000
                        IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00
              Cell 03 - Address: <MAC address removed>
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality=40/70  Signal level=-70 dBm  
                        Encryption key:off
                        ESSID:"stw-wohnheim"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                                  11 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=000004245c53600f
                        Extra: Last beacon: 3324ms ago
                        IE: Unknown: 000C7374772D776F686E6865696D
                        IE: Unknown: 010882848B0C12961824
                        IE: Unknown: 030101
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: Unknown: 851E000081000F00FF0319004C756973656E74616C3133380000000002000025
                        IE: Unknown: DD06004096010101
                        IE: Unknown: DD050040960304
                        IE: Unknown: DD050040960B01
                        IE: Unknown: DD180050F2020101820003A4000027A4000042435E0062322F00
              Cell 04 - Address: <MAC address removed>
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality=41/70  Signal level=-69 dBm  
                        Encryption key:on
                        ESSID:"eduroam"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                                  11 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=000004245c541fc3
                        Extra: Last beacon: 3324ms ago
                        IE: Unknown: 0007656475726F616D
                        IE: Unknown: 010882848B0C12961824
                        IE: Unknown: 030101
                        IE: Unknown: 2A0100
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (1) : CCMP
                            Authentication Suites (1) : 802.1x
                        IE: Unknown: 32043048606C
                        IE: Unknown: 851E000081000F00FF0319004C756973656E74616C3133380000000002000025
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (1) : TKIP
                            Authentication Suites (1) : 802.1x
                        IE: Unknown: DD06004096010101
                        IE: Unknown: DD050040960304
                        IE: Unknown: DD050040960B01
                        IE: Unknown: DD180050F2020101820003A4000027A4000042435E0062322F00
    
    
    ***** resolv.conf *****
    
    nameserver 127.0.0.1
    search wohnheim.uni-bremen.de
    
    ***** 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
    
    ***** dmesg *****
    
    [   30.858574] ath: EEPROM regdomain: 0x65
    [   30.858577] ath: EEPROM indicates we should expect a direct regpair map
    [   30.858580] ath: Country alpha2 being used: 00
    [   30.858581] ath: Regpair used: 0x65
    [   30.874451] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
    [   30.874705] Registered led device: ath9k-phy0
    [   31.416130] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   31.419333] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   34.019704] wlan0: authenticate with <MAC address removed>
    [   34.033536] wlan0: send auth to <MAC address removed> (try 1/3)
    [   34.035206] wlan0: authenticated
    [   34.043307] wlan0: associate with <MAC address removed> (try 1/3)
    [   34.048259] wlan0: RX AssocResp from <MAC address removed> (capab=0x421 status=0 aid=13)
    [   34.048350] wlan0: associated
    [   34.048640] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   57.101879] wlan0: authenticate with <MAC address removed>
    [   57.115526] wlan0: send auth to <MAC address removed> (try 1/3)
    [   57.120764] wlan0: authenticated
    [   57.129456] wlan0: associate with <MAC address removed> (try 1/3)
    [   57.333169] wlan0: associate with <MAC address removed> (try 2/3)
    [   57.536928] wlan0: associate with <MAC address removed> (try 3/3)
    [   57.740642] wlan0: association with <MAC address removed> timed out
    [   63.613500] wlan0: authenticate with <MAC address removed>
    [   63.627040] wlan0: direct probe to <MAC address removed> (try 1/3)
    [   63.828774] wlan0: send auth to <MAC address removed> (try 2/3)
    [   63.830495] wlan0: authenticated
    [   63.840748] wlan0: associate with <MAC address removed> (try 1/3)
    [   63.848192] wlan0: RX AssocResp from <MAC address removed> (capab=0x421 status=0 aid=14)
    [   63.848288] wlan0: associated
    [   74.819119] wlan0: authenticate with <MAC address removed>
    [   74.832487] wlan0: send auth to <MAC address removed> (try 1/3)
    [   74.841446] wlan0: authenticated
    [   74.850525] wlan0: associate with <MAC address removed> (try 1/3)
    [   75.054267] wlan0: associate with <MAC address removed> (try 2/3)
    [   75.257985] wlan0: associate with <MAC address removed> (try 3/3)
    [   75.461728] wlan0: association with <MAC address removed> timed out
    [   81.338565] wlan0: authenticate with <MAC address removed>
    [   81.352072] wlan0: direct probe to <MAC address removed> (try 1/3)
    [   81.553861] wlan0: send auth to <MAC address removed> (try 2/3)
    [   81.757592] wlan0: send auth to <MAC address removed> (try 3/3)
    [   81.759412] wlan0: authenticated
    [   81.769552] wlan0: associate with <MAC address removed> (try 1/3)
    [   81.775245] wlan0: RX AssocResp from <MAC address removed> (capab=0x421 status=0 aid=15)
    [   81.775319] wlan0: associated
    [  161.687346] wlan0: authenticate with <MAC address removed>
    [  161.700497] wlan0: send auth to <MAC address removed> (try 1/3)
    [  161.704414] wlan0: authenticated
    [  161.714138] wlan0: associate with <MAC address removed> (try 1/3)
    [  161.917884] wlan0: associate with <MAC address removed> (try 2/3)
    [  162.121597] wlan0: associate with <MAC address removed> (try 3/3)
    [  162.325396] wlan0: association with <MAC address removed> timed out
    [  168.206820] wlan0: authenticate with <MAC address removed>
    [  168.220066] wlan0: direct probe to <MAC address removed> (try 1/3)
    [  168.421585] wlan0: send auth to <MAC address removed> (try 2/3)
    [  168.425173] wlan0: authenticated
    [  168.433482] wlan0: associate with <MAC address removed> (try 1/3)
    [  168.438864] wlan0: RX AssocResp from <MAC address removed> (capab=0x421 status=0 aid=16)
    [  168.438968] wlan0: associated
    [  175.708988] wlan0: authenticate with <MAC address removed>
    [  175.722331] wlan0: send auth to <MAC address removed> (try 1/3)
    [  175.737553] wlan0: authenticated
    [  175.747987] wlan0: associate with <MAC address removed> (try 1/3)
    [  175.951768] wlan0: associate with <MAC address removed> (try 2/3)
    [  176.155513] wlan0: associate with <MAC address removed> (try 3/3)
    [  176.359242] wlan0: association with <MAC address removed> timed out
    [  182.240629] wlan0: authenticate with <MAC address removed>
    [  182.253904] wlan0: direct probe to <MAC address removed> (try 1/3)
    [  182.455361] wlan0: send auth to <MAC address removed> (try 2/3)
    [  182.457183] wlan0: authenticated
    [  182.467335] wlan0: associate with <MAC address removed> (try 1/3)
    [  182.476077] wlan0: RX AssocResp from <MAC address removed> (capab=0x421 status=0 aid=17)
    [  182.476180] wlan0: associated
    [  341.486523] wlan0: authenticate with <MAC address removed>
    [  341.499811] wlan0: send auth to <MAC address removed> (try 1/3)
    [  341.504160] wlan0: authenticated
    [  341.513508] wlan0: associate with <MAC address removed> (try 1/3)
    [  341.717277] wlan0: associate with <MAC address removed> (try 2/3)
    [  341.921000] wlan0: associate with <MAC address removed> (try 3/3)
    [  342.124747] wlan0: association with <MAC address removed> timed out
    [  348.002097] wlan0: authenticate with <MAC address removed>
    [  348.015478] wlan0: direct probe to <MAC address removed> (try 1/3)
    [  348.216852] wlan0: direct probe to <MAC address removed> (try 2/3)
    [  348.420619] wlan0: direct probe to <MAC address removed> (try 3/3)
    [  348.624406] wlan0: authentication with <MAC address removed> timed out
    [  354.501550] wlan0: authenticate with <MAC address removed>
    [  354.515043] wlan0: direct probe to <MAC address removed> (try 1/3)
    [  354.716561] wlan0: send auth to <MAC address removed> (try 2/3)
    [  354.718255] wlan0: authenticated
    [  354.728461] wlan0: associate with <MAC address removed> (try 1/3)
    [  354.736288] wlan0: RX AssocResp from <MAC address removed> (capab=0x421 status=0 aid=18)
    [  354.736423] wlan0: associated
    [  363.454259] wlan0: authenticate with <MAC address removed>
    [  363.467343] wlan0: send auth to <MAC address removed> (try 1/3)
    [  363.482673] wlan0: authenticated
    [  363.493123] wlan0: associate with <MAC address removed> (try 1/3)
    [  363.696869] wlan0: associate with <MAC address removed> (try 2/3)
    [  363.900608] wlan0: associate with <MAC address removed> (try 3/3)
    [  364.104344] wlan0: association with <MAC address removed> timed out
    [  375.862065] wlan0: authenticate with <MAC address removed>
    [  375.875406] wlan0: direct probe to <MAC address removed> (try 1/3)
    [  376.076858] wlan0: send auth to <MAC address removed> (try 2/3)
    [  376.078737] wlan0: authenticated
    [  376.088829] wlan0: associate with <MAC address removed> (try 1/3)
    [  376.097030] wlan0: RX AssocResp from <MAC address removed> (capab=0x421 status=0 aid=19)
    [  376.097134] wlan0: associated
    [  380.449456] wlan0: deauthenticating from <MAC address removed> by local choice (reason=3)
    [  381.362383] wlan0: authenticate with <MAC address removed>
    [  381.376451] wlan0: direct probe to <MAC address removed> (try 1/3)
    [  381.577730] wlan0: send auth to <MAC address removed> (try 2/3)
    [  381.579460] wlan0: authenticated
    [  381.589650] wlan0: associate with <MAC address removed> (try 1/3)
    [  381.598163] wlan0: RX AssocResp from <MAC address removed> (capab=0x431 status=0 aid=20)
    [  381.598275] wlan0: associated
    
    ****************** done ******************
    Last edited by ymahmood; June 1st, 2013 at 11:10 AM.

  9. #9
    Join Date
    May 2013
    Beans
    11

    Re: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    Quote Originally Posted by Deviljho View Post
    Yes, the open source WIFI drivers are pretty terrible. This is a very large problem with Ubuntu. Every PC I've tried Ubuntu on with WIFI has had this problem (and numerous other WIFI issues). I think the easiest and least time wasting probable solution would be to use ndiswrapper, which lets you install the Windows WIFI driver.

    Please type the following command into the Terminal and post the output.
    Thannks Devilhho !

    Here are your requred results.

    00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
    00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
    00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
    00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
    00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
    00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
    00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
    00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
    02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

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

    Re: Ubuntu 12.04 Wifi is disconnecting continuously after undefined period on Laptop.

    Quote Originally Posted by Deviljho View Post
    At the risk of repeating myself, the default WIFI drivers have been consistently terrible in my own experience. Trying to compile & install firmware updates is considerably more difficult and confusing than ndiswrapper.
    Those are proprietary drivers that you need to compile

    Open-source ones are almost always available in packaged form, which you can just double-click to install, if they're not already included in the kernel

    @ ymahmood,
    Please edit your post with the output of Wild Man's script to wrap the output part in 'Code' tags. It preserves the formatting, prevents the codes from turning into smileys, and makes your post look clean, compact and more readable. Follow the "Code tags example" link in my signature to see how to do that.

    You are using ath9k driver for your card. I have exactly the same card (AR9285) in my laptop, but unfortunately, no wireless networks around to test myself. The last time I checked its connectivity, I was on kernel 3.2.0-36 (still on the same one) and it worked wonderfully.

    However, as of now, please try -
    Code:
    sudo modprobe -rfv ath9k
    sudo modprobe -v ath9k nohwcrypt=1
    Then try to connect and see if it helps. This is a temporary change and will be lost at next boot. If it seems to help, we can make it permanent.

    Also, is it a university campus wifi?

    There is a known problem with Network Manager when there are too many Access Points available with same SSID. In that case, you may try one of two things (Only if the above code doesn't help) -
    Open Network Manager drop-down menu > Edit Connections > Wireless tab > double-click your wireless connection to edit it. Then, in the BSSID field, enter the MAC address of the nearest access point whose signal seems strongest as per the script output (or 'sudo iwlist scan' command). Click 'Save' and close the connection settings box. Retry to connect and see if the connection sticks.

    Downside of the workaround is that you may have to manually change the BSSID everytime you move from one location to another within the campus (where the SSID is same).

    Alternatively, you may try 'wicd' instead of Network Manager. It often works better in such cases.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

Page 1 of 3 123 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
  •