Làm cách nào để giữ cho Wifi của tôi không bị rơi?


30

Tôi có System76 Gazelle, gapz8, chạy Ubuntu 14.04. Wifi của tôi liên tục rơi ra trong khoảng thời gian ngẫu nhiên. Tôi có một bộ định tuyến mới, vì vậy tôi không tin đó là vấn đề, nhưng tôi đang ở trong một tòa nhà chung cư, vì vậy các tín hiệu có thể rất đông. Máy tính của tôi vẫn đăng ký wifi như đã kết nối, nhưng dừng gửi và nhận dữ liệu. Tôi đã thấy rằng việc ngắt kết nối với wifi và kết nối lại khắc phục sự cố, nhưng nó có thể xảy ra một lần nữa trong vòng vài phút. Có ai hiểu vấn đề hoặc làm thế nào để khắc phục nó? Tôi vui lòng cung cấp thêm thông tin nếu điều đó sẽ làm rõ vấn đề, chỉ cần cho tôi biết những gì.

Theo yêu cầu bên dưới, kết quả từ "tập lệnh không dây" "

########## thông tin không dây BẮT ĐẦU ##########

Báo cáo từ: ngày 28 tháng 9 năm 2014 23:17 EDT -0400

Khởi động lần cuối: ngày 28 tháng 9 năm 2014 20:28 EDT -0400

Kịch bản từ: 20 tháng 9 năm 2014 23:04 UTC +0000

##### giải phóng ###########################

ID nhà phân phối: Ubuntu
Mô tả: Ubuntu 14.04.1 LTS
Phát hành: 14.04
Tên mã: đáng tin cậy

##### kernel ##############################

Linux 3.13.0-36-generic # 63-Ubuntu SMP Thứ tư ngày 3 tháng 9 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU / Linux

Các tham số: ro, quiet, giật gân, acpi_os_name = Linux, acpi_osi =, vt.handoff = 7

##### máy tính để bàn #############################

Ubuntu

##### lspci ###############################

02: 00.0 Bộ điều khiển mạng [0280]: Tập đoàn Intel Centrino Wireless-N 2230 [8086: 0887] (rev c4)
    Hệ thống con: Tập đoàn Intel Centrino Wireless-N 2230 BGN [8086: 4062]
    Trình điều khiển hạt nhân đang sử dụng: iwlwifi

Bộ điều khiển Ethernet 03: 00.2 [0200]: Công ty TNHH Bán dẫn Realtek RTL8111 / 8168/8411 Bộ điều khiển Ethernet Gigabit Gigabit [10ec: 8168] (rev 0a)
    Hệ thống con: Thiết bị máy tính CLEVO / KAPOK [1558: 2706]
    Trình điều khiển hạt nhân đang sử dụng: r8169

##### lsusb ###############################

Thiết bị Bus 002 003: ID 5986: 0401 Acer, Inc 
Thiết bị Bus 002 002: ID 8087: 0024 Trung tâm kết hợp tỷ lệ tích hợp của Intel Corp
Bus 002 Thiết bị 001: ID 1d6b: 0002 Trung tâm gốc Linux Foundation 2.0
Thiết bị Bus 001 002: ID 8087: 0024 Intel Corp
Bus 001 Thiết bị 001: ID 1d6b: 0002 Trung tâm gốc Linux Foundation 2.0
Bus 004 Thiết bị 001: ID 1d6b: 0003 Trung tâm gốc Linux Foundation 3.0
Bus 003 Thiết bị 002: ID 045e: 00e1 Chuột không dây Microsoft Corp 6000 Reciever
Bus 003 Thiết bị 001: ID 1d6b: 0002 Trung tâm gốc Linux Foundation 2.0

##### Thông tin thẻ PCMCIA ###################

##### rfkill ##############################

0: phy0: Mạng LAN không dây
    Mềm bị chặn: không
    Bị chặn cứng: không

##### lsmod ###############################

iwldvm 232285 0 
mac80211 630653 1 iwldvm
iwlwifi 169932 1 iwldvm
cfg80211 484040 3 iwlwifi, mac80211, iwldvm
wmi 19177 0 

##### giao diện ########################

tự động lo
iface lo inet loopback

##### ifconfig ############################

mã hóa liên kết eth0: Ethernet HWaddr   
          UP MADICAST MULTICAST MTU: 1500 Số liệu: 1
          Các gói RX: 0 lỗi: 0 rớt: 0 tràn: 0 khung: 0
          Các gói TX: 0 lỗi: 0 rớt: 0 tràn: 0 sóng mang: 0
          va chạm: 0 txqueuelen: 1000 
          Các byte RX: 0 (0,0 B) TX byte: 0 (0,0 B)

Mã hóa liên kết wlan0: Ethernet HWaddr   
          inet addr: 192.168.1.5 Bcast: 192.168.1.255 Mặt nạ: 255.255.255.0
          inet6 addr: fe80 :: 626c: 66ff: fe30: 1786/64 Phạm vi: Liên kết
          UP MADICAST RUNNING MULTICAST MTU: 1500 Số liệu: 1
          Các gói RX: 132928 lỗi: 0 rớt: 0 tràn: 0 khung: 0
          Các gói TX: 81169 lỗi: 0 rớt: 0 tràn: 0 sóng mang: 0
          va chạm: 0 txqueuelen: 1000 
          Các byte RX: 167705002 (167,7 MB) TX byte: 10766737 (10,7 MB)

##### iwconfig ############################

eth0 không có phần mở rộng không dây.

lo không có phần mở rộng không dây.

wlan0 IEEE 802.11bgn ESSID: "Bộ định tuyến 2: Boogaloo điện"  
          Chế độ: Tần số được quản lý: 2.417 GHz Điểm truy cập:    
          Tốc độ bit = 65 Mb / giây Tx-Power = 16 dBm   
          Thử lại giới hạn dài: 7 RTS thr: off Fragment thr: off
          Quản lý điện năng: tắt
          Chất lượng liên kết = 63/70 Mức tín hiệu = -47 dBm  
          Rx không hợp lệ nwid: 0 Rx mật mã không hợp lệ: 0 Rx không hợp lệ Frag: 0
          Tx thử lại quá mức: 0 Linh tinh không hợp lệ: 67 Đèn hiệu bị mất: 0

##### lộ trình ##############################

Bảng định tuyến IP kernel
Cổng đích Genmask Cờ Số liệu Tham khảo Sử dụng Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0

##### decv.conf ########################

máy chủ tên 127.0.1.1

##### nm-tool ############################

Công cụ quản lý mạng

Bang: đã kết nối (toàn cầu)

- Thiết bị: eth0 ---------------------------------------------- -------------------
  Loại: Có dây
  Tài xế: r8169
  Nhà nước: không có sẵn
  Mặc định: không
  Địa chỉ CTNH:        

  Khả năng:
    Phát hiện tàu sân bay: có

  Thuộc tính có dây
    Người vận chuyển: tắt

- Thiết bị: wlan0 [Bộ định tuyến 2: Boogaloo điện] ---------------------------------
  Loại: WiFi 802.11
  Tài xế: iwlwifi
  Bang: đã kết nối
  Mặc định: có
  Địa chỉ CTNH:        

  Khả năng:
    Tốc độ: 115 Mb / giây

  Thuộc tính không dây
    Mã hóa WEP: có
    Mã hóa WPA: có
    Mã hóa WPA2: có

  Điểm truy cập không dây (* = AP hiện tại)
    Lucille: Infra ,, Freq 2427 MHz, Tốc độ 54 Mb / giây, Sức mạnh 75 WPA WPA2
    DG1670A82: Infra ,, Freq 2437 MHz, Tốc độ 54 Mb / giây, Sức mạnh 62 WPA2
    Mcchacko-2G: Infra ,, Freq 2412 MHz, Tốc độ 54 Mb / giây, Sức mạnh 52 WPA2
    TRỰC TIẾP-roku-900: Infra ,, Freq 2437 MHz, Tốc độ 54 Mb / giây, Sức mạnh 50 WPA2
    B4R87: Infra ,, Freq 2437 MHz, Tốc độ 54 Mb / giây, Sức mạnh 44 WPA2
    NETGEAR65: Infra ,, Freq 2437 MHz, Tốc độ 54 Mb / giây, Sức mạnh 42 WPA2
    táo tợn: Infra ,, Freq 2462 MHz, Tốc độ 54 Mb / giây, Sức mạnh 27 WPA2
    DG1670A22: Infra ,, Freq 2412 MHz, Tốc độ 54 Mb / giây, Sức mạnh 25 WPA2
    * Bộ định tuyến 2: Boogaloo điện: Infra ,, Freq 2417 MHz, Tốc độ 54 Mb / giây, Sức mạnh 77 WPA2
    Wellfords: Infra ,, Freq 2412 MHz, Tốc độ 54 Mb / giây, Sức mạnh 57 WPA WPA2
    RubyWirl: Infra ,, Freq 2437 MHz, Tốc độ 54 Mb / giây, Sức mạnh 40 WPA WPA2
    Nhà bánh quế: Infra ,, Freq 2412 MHz, Tốc độ 54 Mb / giây, Sức mạnh 27 WPA WPA2
    Linksys e3200: Infra ,, Freq 2412 MHz, Tốc độ 54 Mb / giây, Sức mạnh 27 WPA WPA2
    RubyWirl-khách: Infra ,, Freq 2437 MHz, Tốc độ 54 Mb / giây, Sức mạnh 45
    TG1672G12: Infra ,, Freq 2427 MHz, Tốc độ 54 Mb / giây, Sức mạnh 34 WPA2
    55B2Q: Infra ,, Freq 2462 MHz, Tốc độ 54 Mb / giây, Sức mạnh 34 WPA2
    luna: Infra ,, Freq 2437 MHz, Tốc độ 54 Mb / giây, Sức mạnh 30 WPA WPA2
    Linksys e3200-khách: Infra ,, Freq 2412 MHz, Tốc độ 54 Mb / giây, Sức mạnh 27

  Cài đặt IPv4:
    Địa chỉ: 192.168.1.5
    Tiền tố: 24 (255.255.255.0)
    Cổng: 192.168.1.1

    DNS: 192.168.1.1

##### NetworkManager.state ###############

[chủ yếu]
MạngEnables = true
WirelessEnables = true
WWanenables = true
WimaxEnables = đúng

##### NetworkManager.conf ################

[chủ yếu]
plugin = ifupdown, keyfile, ofono
dns = dnsmasq

[ifupdown]
quản lý = sai

##### Cấu hình NetworkManager ############

[[/ etc / NetworkManager / hệ thống kết nối / Mạng Apple 5df1bd]] (600 root)
[kết nối] id = Mạng Apple 5df1bd | loại = 802-11-không dây
[802-11-không dây] ssid = Mạng Apple 5df1bd | địa chỉ mac =
[ipv4] phương thức = tự động
[ipv6] phương thức = tự động

[[/ etc / NetworkManager / system-results / 200W102nd3E]] (600 root)
[kết nối] id = 200W102nd3E | loại = 802-11-không dây
[802-11-không dây] ssid = 200W102nd3E | địa chỉ mac =
[ipv4] phương thức = tự động
[ipv6] phương thức = tự động

[[/ etc / NetworkManager / system-results / NETGEAR49]] (600 root)
[kết nối] id = NETGEAR49 | loại = 802-11-không dây
[802-11-không dây] ssid = NETGEAR49 | địa chỉ mac =
[ipv4] phương thức = tự động
[ipv6] phương thức = tự động

[[/ etc / NetworkManager / system-results / NYU-ROAM3]] (600 root)
[kết nối] id = NYU-ROAM3 | loại = 802-11-không dây
[802-11-không dây] ssid = NYU-ROAM3 | địa chỉ mac =
[ipv6] phương thức = tự động
[ipv4] phương thức = tự động

[[/ etc / NetworkManager / system-results / Router 2: Electric Boogaloo]] (600 root)
[kết nối] id = Bộ định tuyến 2: Boogaloo điện | loại = 802-11-không dây
[802-11-không dây] ssid = Bộ định tuyến 2: Boogaloo điện | địa chỉ mac =
[ipv4] phương thức = tự động
[ipv6] phương thức = tự động

##### iw reg nhận #########################

Vùng: America / New_York (dựa trên múi giờ đã đặt)

quốc gia 00:
    (2402 - 2472 @ 40), (3, 20)
    (2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
    (2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
    (5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
    (5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

##### iwlist các kênh ####################

eth0 không có thông tin tần số.

lo không có thông tin tần số.

wlan0 tổng cộng 13 kênh; tần số có sẵn:
          Kênh 01: 2.412 GHz
          Kênh 02: 2.417 GHz
          Kênh 03: 2.422 GHz
          Kênh 04: 2.427 GHz
          Kênh 05: 2.432 GHz
          Kênh 06: 2.437 GHz
          Kênh 07: 2.442 GHz
          Kênh 08: 2.447 GHz
          Kênh 09: 2.452 GHz
          Kênh 10: 2,456 GHz
          Kênh 11: 2,62 GHz
          Kênh 12: 2.467 GHz
          Kênh 13: 2,472 GHz
          Tần số hiện tại: 2.417 GHz (Kênh 2)

##### iwlist quét ########################

Công suất kênh:

      2 AP trên Tần số: 2.412 GHz (Kênh 1)
      1 AP trên Tần số: 2.417 GHz (Kênh 2)
      1 AP trên Tần số: 2.427 GHz (Kênh 4)
      7 AP trên Tần số: 2.437 GHz (Kênh 6)
      1 AP trên Tần số: 2.456 GHz (Kênh 10)
      1 AP trên Tần số: 2.462 GHz (Kênh 11)

Giao diện eth0 không hỗ trợ quét.

Giao diện lo không hỗ trợ quét.

Quét wlan0 đã hoàn thành:
          Ô 01 - Địa chỉ: 
                    Kênh: 2
                    Tần số: 2.417 GHz (Kênh 2)
                    Chất lượng = 60/70 Mức tín hiệu = -50 dBm  
                    Khóa mã hóa: bật
                    ESSID: "Bộ định tuyến 2: Boogaloo điện"
                    Tốc độ bit: 1 Mb / s; 2 Mb / giây; 5,5 Mb / giây; 11 Mb / giây; 6 Mb / giây
                              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=0000000226ee9d93
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: 
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=44/70  Signal level=-66 dBm  
                    Encryption key:on
                    ESSID:"Mcchacko-2G"
                    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=00000051d26350a2
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 03 - Address: 
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=48/70  Signal level=-62 dBm  
                    Encryption key:on
                    ESSID:"Wellfords"
                    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=00000000bfdb08ba
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 04 - Address: 
                    Channel:4
                    Frequency:2.427 GHz (Channel 4)
                    Quality=58/70  Signal level=-52 dBm  
                    Encryption key:on
                    ESSID:"Lucille"
                    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=0000001d3ad33a1d
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 05 - Address: 
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=44/70  Signal level=-66 dBm  
                    Encryption key:on
                    ESSID:"RubyWillow"
                    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=000000d59bbc1370
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 06 - Address: 
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=50/70  Signal level=-60 dBm  
                    Encryption key:on
                    ESSID:"NETGEAR65"
                    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=000002fda7d406be
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 07 - Address: 
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=32/70  Signal level=-78 dBm  
                    Encryption key:on
                    ESSID:"luna"
                    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=0000000007386e99
                    Extra: Last beacon: 692ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 08 - Address: 
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=53/70  Signal level=-57 dBm  
                    Encryption key:on
                    ESSID:"DG1670A82"
                    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=000002913cbce2ae
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 09 - Address: 
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=41/70  Signal level=-69 dBm  
                    Encryption key:on
                    ESSID:"DIRECT-roku-900"
                    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=000001bb4835fa76
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 10 - Address: 
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=44/70  Signal level=-66 dBm  
                    Encryption key:off
                    ESSID:"RubyWillow-guest"
                    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=000000d59bbc2e70
                    Extra: Last beacon: 44ms ago
          Cell 11 - Address: 
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=36/70  Signal level=-74 dBm  
                    Encryption key:on
                    ESSID:"B4R87"
                    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=00000077da1f65f7
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 12 - Address: 
                    Channel:10
                    Frequency:2.457 GHz (Channel 10)
                    Quality=24/70  Signal level=-86 dBm  
                    Encryption key:on
                    ESSID:"Trust but Verify 2"
                    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=0000002b08ecdcda
                    Extra: Last beacon: 480ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 13 - Address: 
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=30/70  Signal level=-80 dBm  
                    Encryption key:on
                    ESSID:"cheeky"
                    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=000001c711ca046e
                    Extra: Last beacon: 44ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK

##### module infos ######################

[iwldvm]
filename:       /lib/modules/3.13.0-36-generic/kernel/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko
license:        GPL
author:         Copyright(c) 2003-2013 Intel Corporation 
version:        in-tree:
description:    Intel(R) Wireless WiFi Link AGN driver for Linux
srcversion:     CC4D1BA11C1EF73A6ABDE53
depends:        iwlwifi,mac80211,cfg80211
intree:         Y
vermagic:       3.13.0-36-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        38:F3:B6:C6:3A:85:AF:FD:FB:BE:0E:53:33:9D:F8:E0:C6:B6:C9:D5
sig_hashalgo:   sha512

[mac80211]
filename:       /lib/modules/3.13.0-36-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:     B822641624778B987844F6F
depends:        cfg80211
intree:         Y
vermagic:       3.13.0-36-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        38:F3:B6:C6:3A:85:AF:FD:FB:BE:0E:53:33:9D:F8:E0:C6:B6:C9:D5
sig_hashalgo:   sha512
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[iwlwifi]
filename:       /lib/modules/3.13.0-36-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
license:        GPL
author:         Copyright(c) 2003-2013 Intel Corporation 
version:        in-tree:
description:    Intel(R) Wireless WiFi driver for Linux
firmware:       iwlwifi-100-5.ucode
firmware:       iwlwifi-1000-5.ucode
firmware:       iwlwifi-135-6.ucode
firmware:       iwlwifi-105-6.ucode
firmware:       iwlwifi-2030-6.ucode
firmware:       iwlwifi-2000-6.ucode
firmware:       iwlwifi-5150-2.ucode
firmware:       iwlwifi-5000-5.ucode
firmware:       iwlwifi-6000g2b-6.ucode
firmware:       iwlwifi-6000g2a-5.ucode
firmware:       iwlwifi-6050-5.ucode
firmware:       iwlwifi-6000-4.ucode
firmware:       iwlwifi-7265-7.ucode
firmware:       iwlwifi-3160-7.ucode
firmware:       iwlwifi-7260-7.ucode
srcversion:     C2D0F3DFCA289585C100E36
depends:        cfg80211
intree:         Y
vermagic:       3.13.0-36-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        38:F3:B6:C6:3A:85:AF:FD:FB:BE:0E:53:33:9D:F8:E0:C6:B6:C9:D5
sig_hashalgo:   sha512
parm:           swcrypto:using crypto in software (default 0 [hardware]) (int)
parm:           11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm:           amsdu_size_8K:enable 8K amsdu size (default 0) (int)
parm:           fw_restart:restart firmware in case of error (default true) (bool)
parm:           antenna_coupling:specify antenna coupling in dB (defualt: 0 dB) (int)
parm:           wd_disable:Disable stuck queue watchdog timer 0=system default, 1=disable, 2=enable (default: 0) (int)
parm:           nvm_file:NVM file name (charp)
parm:           bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm:           led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm:           power_save:enable WiFi power management (default: disable) (bool)
parm:           power_level:default power save level (range from 1 - 5, default: 1) (int)

[cfg80211]
filename:       /lib/modules/3.13.0-36-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     C2478077E22138832B71659
depends:        
intree:         Y
vermagic:       3.13.0-36-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        38:F3:B6:C6:3A:85:AF:FD:FB:BE:0E:53:33:9D:F8:E0:C6:B6:C9:D5
sig_hashalgo:   sha512
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500

[iwlwifi]
11n_disable: 0
amsdu_size_8K: 0
antenna_coupling: 0
bt_coex_active: Y
fw_restart: Y
led_mode: 0
nvm_file: (null)
power_level: 0
power_save: N
swcrypto: 0
wd_disable: 1

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

lp
rtc

##### modprobe options ##################

[/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

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

[/etc/pm/power.d/wireless] (755 root)
/sbin/iwconfig wlan0 power off

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x0887 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

##### dmesg #############################

[ 6007.775779] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 6011.128079] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 6011.136901] iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
[ 6011.203681] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 6012.329356] wlan0: authenticate with 
[ 6012.334173] wlan0: send auth to  (try 1/3)
[ 6012.336306] wlan0: authenticated
[ 6012.336744] wlan0: associate with  (try 1/3)
[ 6012.341336] wlan0: RX AssocResp from  (capab=0x431 status=0 aid=3)
[ 6012.364839] wlan0: associated
[ 6012.364893] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 6012.384107] wlan0: deauthenticating from  by local choice (reason=2)
[ 6012.408121] wlan0: authenticate with 
[ 6012.412092] wlan0: send auth to  (try 1/3)
[ 6012.414214] wlan0: authenticated
[ 6012.416765] wlan0: associate with  (try 1/3)
[ 6012.421359] wlan0: RX AssocResp from  (capab=0x431 status=0 aid=3)
[ 6012.443977] wlan0: associated

########## wireless info END ############

This does sound like a network/router issue.
Kaz Wolfe

Have you looked at the log files in /var/log? Try grep NetworkManager /var/log/syslog*, and spend some time trying to understand the messages before reposting. Also, read the "Related" problems along the right side of this screen.
waltinator

1
Please run the script that is in the accepted answer in the link below so we may see the information needed to help diagnose the issue. <askubuntu.com/questions/425155/…>
Wild Man

@Whaaaaaat I've recently replaced both the router and the cable box. Anything beyond that belongs to Time Warner Cable. Even if it is TWC's fault, there must be something I can do to make my laptop more resilient to these interruptions, make it better at reconnecting. If I disconnect and reconnect, the wifi works again, so why can't my laptop do that itself?
bigcat42

1
I have this same symptom on a dual boot with windows 8 and finally upgraded to windows 10 and that system doesn't have any issues with the router. Neither does any other machine on the same wifi. Just when I'm in ubuntu.
Jason Kleban

Câu trả lời:


25

Run the following commands, one line at a time in the terminal (CTRL+ALT+T):

echo "options iwlwifi 11n_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf
sudo modprobe -rfv iwldvm
sudo modprobe -rfv iwlwifi
sudo modprobe -v iwlwifi

What does this do? The 11n_disable option disables 802.11n features. Adding it to /etc/modprobe.d/iwlwifi.conf makes the change persist after reboots (because it will be part of the module config). The modprobe -rfv commands are removing the kernel modules iwldvm and iwlwifi, and finally the last line modprobe -v is adding iwlwifi back in.

To know what those kernel modules are/do, you can run modinfo <module name> | grep description, which will tell you the following:

iwlwifi is an Intel(R) Wireless WiFi driver for Linux (generic Intel drivers)

iwldvm is Intel(R) Wireless WiFi Link AGN driver for Linux (more specific drivers)


Other suggestions

Now, check the settings in the router. WPA2-AES is preferred; not any WPA and WPA2 mixed mode and certainly not TKIP. Second, if your router is capable of N speeds, You may have better luck with a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz. I also have better luck with a fixed channel, either 1, 6 or 11, rather than automatic channel selection. After making these changes, you may need to reboot the router.


11
I would appreciate some references before I go blindly modifying system configurations.
ThorSummoner

7
@ThorSummoner you have a good point there. I've just edited the answer to explain what each line does
Enrico

1
my wifi only randomly drops out when connect using wpa2 enterprise, if I'm using wpa2 personal it's just fine, any suggestion?
Ahmad Muzakki

1
I got an error saying that iwlwifi.conf is in use. Although simply skipping the last three steps seemed to fix my problem anyway.
Abe Petrillo

How to undo the changes in the post?
mahmood

16

Change the wireless setting of IPv6. I tried it with my laptop, which has been continually dropping the connection, and so far, all day long, I have not had a single dropout! It seems to be working. In Ubuntu, in the top right, click on the wireless network icon that shows connectivity. In the dropdown menu, at the bottom, select "edit connections" and then highlight your wireless connection name. Choose edit, then select the IPv6 tab (to the right of the IPv4 tab) and change the setting from "automatic" to "ignore". Save and exit. Reboot your PC. That took care of my problem, and hopefully will yours, too.


1
This also worked for me with Ubuntu 16.04
David Bosschaert

1
Can someone explain to me why this works?
YellowPillow

5

Edit the wireless settings, set the IPv6 method to "ignore".

This may be a very simple solution to this problem. My 12.04 wireless connection dropped out every few minutes when connected over Comcast and sometimes also in hotels. This happened consistently on different Comcast wireless setups. On many other wireless setups, it was solid (in my workplace, at Starbucks, for example).

After struggling with many complicated fixes, I finally stumbled across the above solution: No more dropouts.


Edit by cipricus to add images (in KDE Plasma 5.8 interface):

enter image description here

enter image description here

enter image description here


1
In 12.04, click on the network icon in the top right tool bar. Select "edit connections" and go to wireless. Select the connection in question, p ush the "edit" button to the right. Then go to IPv6 settings and select "ignore" under "method". Hit save. Problem over.
Dana Yoerger

2
Much better! :-) Can you now edit your answer and put it there instead of the comments here and then delete your comment? (My original comment already deleted) ;-)
Fabby

1
I don't have the "ignore option" on linux mint. Is it possible to have this option somewhere else?
Karl Adler

@abimelex you might try editing the config file in /etc/NetworkManager/system-connections/
pomsky

2
Ubuntu 17.10 does not have a GUI "ignore" option. It does have a "Disable" option; inspecting the /etc/NetworkManager/system-connections/* I can confirm that this translates into the same method=ignore. Unfortunately this did not fix things for me.
josephwb

1

I found a good article on this at: http://itsfoss.com/speed-up-slow-wifi-connection-ubuntu/

I tried steps 1 through 4, but in the end step 5 (installing WICD) is what worked for me.

I'll quote that section here since it's a solution that I didn't see in the prior answers here:

SOLUTION 5: DITCH DEFAULT NETWORK MANAGER AND EMBRACE WICD "Slow or inconsistent wireless connection, in some cases, are also due to Ubuntu’s very own default network manager. I am not sure what causes this but I have seen people in Ubuntu Forums talking about this problem in especially in Ubuntu 12.04. You can install Wicd, an alternate and a better network manager from Ubuntu Software Centre or from terminal. For details on how to use Wicd, you can read my other article which I used to find SSID of wireless networks in Ubuntu."

To clarify, after installing WICD, my WIFI is I think getting disconnected a little less frequently (it was about every 20 minutes), but the big difference is that I previously had to go disable WIFI and then re-enable WIFI to reestablish my internet connection. Now with WICD it just automatically (and pretty much transparently) reconnects within a few seconds.


0

Hi If you are dual booting or using a PC, firstly ensure your Ethernet does not turn off connection to save power, may not be The Solution but it is one step closer. there are 2 that need turning off. Do this Control Panel/device manager/Network adapters right click Properties / power management/ Un-tick "Allow computer to turn Off this device to save power" Since Windows95 it is always ticked by Default and often when one recovers from a crash it is ticked again and needs to be turned off. Hope it helps


This is a Windows-based answer to a Linux-based question.
flith

-1

My quick and dirty hack

My wifi adapter (Realtek RTL8188CUS) is just angry with Ubuntu and no real solution worked, so I ping my router every 5s:

ping 192.168.0.1 -i 5

...and the connection stays on.


This intrigued me. I thought this might give some hints on underlying causes, so I tried it before trying other things. However, I'd say inconclusive/unhelpful: when I left for an hour and returned, the ping had started giving ping: sendmsg: Network is unreachable
sage

This will work if your problem is hardware going to some sleep-mode or low-power state (forcing it to remain active). It won't help if there is some issue with the hardware itself or the driver; it's like pinging the router on a wired connecting and expecting it to help if somebody disconnects the network cable. I would suggest this is some power-saving setting specific to the RTL8188 driver.
flith
Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.