2017-05-08 22 views
1

我使用的是Ubuntu 16.04,並且遇到了一個已知的問題,即WiFi隨機失敗,圖標仍顯示連接但沒有可用的連接。這以前不是一個問題,並且經常突然發生,沒有明顯的原因。Ubuntu 16.04 - 無線連接隨機丟失,驅動必須重新啓動

如果有人可以找到解決方案,我會非常感謝,因爲這個問題使我的系統無法使用。

到目前爲止,我已經試圖通過解決問題:

  1. 運行 'sudo易於得到的dist-升級'

  2. 創建文件「的/ etc/PM /配置。 d /配置 '與: (http://grenangen.se/node/86

    SUSPEND_MODULES="rtl8821ae" 
    
  3. 創建文件' 的/ etc/PM /共nfig.d /配置」與:

    service network-manager restart 
    
  4. 創建文件 '與/etc/pm/sleep.d/10_resume_wifi': (https://askubuntu.com/questions/452826/wireless-networking-not-working-after-resume-in-ubuntu-14-04

    #!/bin/sh 
    
    case "${1}" in 
         resume|thaw) 
         nmcli nm sleep false 
           ;; 
    esac 
    

    OR

    #!/bin/sh 
    
    case "${1}" in 
        resume|thaw) 
        nmcli r wifi off && nmcli r wifi on ;; 
    esac 
    
  5. 創建文件'/etc/systemd/system/wifi-resume.service'與: (https://askubuntu.com/questions/761180/wifi-doesnt-work-after-suspend-after-16-04-upgrade

    #/etc/systemd/system/wifi-resume.service 
    #sudo systemctl enable wifi-resume.service 
    [Unit] 
    Description=Restart networkmanager at resume 
    After=suspend.target 
    After=hibernate.target 
    After=hybrid-sleep.target 
    
    [Service] 
    Type=oneshot 
    ExecStart=/bin/systemctl restart network-manager.service 
    
    [Install] 
    WantedBy=suspend.target 
    WantedBy=hibernate.target 
    WantedBy=hybrid-sleep.target 
    
  6. 創建具有文件 '/etc/modprobe.d/rtl8821ae.conf':

    options rtl8821ae fwlps=N 
    options rtl8821ae swenc=1 
    
  7. 運行在經由終端

    sudo apt-get install linux-headers-generic build-essential git 
    git clone http://github.com/lwfinger/rtlwifi_new.git 
    cd rtlwifi_new 
    make 
    sudo make install 
    

以下以下是我的無線信息:

########## wireless info START ########## 

Report from: 08 May 2017 13:02 ICT +0700 

Booted last: 08 May 2017 00:00 ICT +0700 

Script from: 25 Mar 2017 07:04 UTC +0000 

##### release ########################### 

Distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial 

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

Linux 4.4.0-75-generiC#96-Ubuntu SMP Thu Apr 20 09:56:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux 

Parameters: ro, quiet, splash, vt.handoff=7 

##### desktop ########################### 

Ubuntu 

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

01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10) Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:384c]  Kernel driver in use: r8169 

02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]  Subsystem: Lenovo RTL8821AE 802.11ac PCIe Wireless Network Adapter [17aa:a814] Kernel driver in use: rtl8821ae 

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

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 0bda:0821 Realtek Semiconductor Corp. Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 003: ID 04f2:b57e Chicony Electronics Co., Ltd Bus 001 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

##### PCMCIA card info ################## 

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

0: ideapad_wlan: Wireless LAN Soft blocked: no Hard blocked: no 1: ideapad_bluetooth: Bluetooth Soft blocked: no Hard blocked: no 2: hci0: Bluetooth  Soft blocked: no Hard blocked: no 6: phy0: Wireless LAN Soft blocked: no Hard blocked: no 

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

rtl8821ae    225280 0 btcoexist    53248 1 rtl8821ae rtl_pci    28672 1 rtl8821ae rtlwifi   77824 2 rtl_pci,rtl8821ae mac80211    737280 3 rtl_pci,rtlwifi,rtl8821ae cfg80211    565248 2 mac80211,rtlwifi ideapad_laptop   24576 0 sparse_keymap   16384 1 ideapad_laptop mxm_wmi    16384 1 nouveau wmi 20480 3 ideapad_laptop,mxm_wmi,nouveau video     40960 3 i915_bpo,ideapad_laptop,nouveau 

##### interfaces ######################## 

auto lo iface lo inet loopback 

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

docker0 Link encap:Ethernet HWaddr <MAC 'docker0' [IF1]> 
      inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 
      UP BROADCAST MULTICAST MTU:1500 Metric:1 
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
      collisions:0 txqueuelen:0 
      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 

enp1s0 Link encap:Ethernet HWaddr <MAC 'enp1s0' [IF2]> 
      UP BROADCAST MULTICAST MTU:1500 Metric:1 
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
      collisions:0 txqueuelen:1000 
      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 

lo  Link encap:Local Loopback 
      inet addr:127.0.0.1 Mask:255.0.0.0 
      inet6 addr: ::1/128 Scope:Host 
      UP LOOPBACK RUNNING MTU:65536 Metric:1 
      RX packets:3771 errors:0 dropped:0 overruns:0 frame:0 
      TX packets:3771 errors:0 dropped:0 overruns:0 carrier:0 
      collisions:0 txqueuelen:1 
      RX bytes:366844 (366.8 KB) TX bytes:366844 (366.8 KB) 

wlp2s0 Link encap:Ethernet HWaddr <MAC 'wlp2s0' [IF3]> 
      inet addr:192.168.1.51 Bcast:192.168.1.255 Mask:255.255.255.0 
      inet6 addr: fe80::5f5:68c6:8ccf:2c5c/64 Scope:Link 
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 
      RX packets:1686 errors:0 dropped:0 overruns:0 frame:0 
      TX packets:2943 errors:0 dropped:0 overruns:0 carrier:0 
      collisions:0 txqueuelen:1000 
      RX bytes:152100 (152.1 KB) TX bytes:4142898 (4.1 MB) 

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

lo  no wireless extensions. 

enp1s0 no wireless extensions. 

docker0 no wireless extensions. 

wlp2s0 IEEE 802.11abgn ESSID:"ROUND ABOUT" 
      Mode:Managed Frequency:5.805 GHz Access Point: <MAC 'ROUND ABOUT' [AN4]> 
      Bit Rate=150 Mb/s Tx-Power=20 dBm 
      Retry short limit:7 RTS thr=2347 B Fragment thr:off 
      Power Management:off 
      Link Quality=64/70 Signal level=-46 dBm 
      Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 
      Tx excessive retries:0 Invalid misc:32 Missed beacon:0 

##### route ############################# 

Kernel IP routing table Destination  Gateway   Genmask  Flags Metric Ref Use Iface 
0.0.0.0   192.168.1.1  0.0.0.0   UG 600 0  0 wlp2s0 
169.254.0.0  0.0.0.0   255.255.0.0  U  1000 0  0 docker0 
172.17.0.0  0.0.0.0   255.255.0.0  U  0  0  0 docker0 
192.168.1.0  0.0.0.0   255.255.255.0 U  600 0  0 wlp2s0 

##### resolv.conf ####################### 

nameserver 127.0.1.1 

##### network managers ################## 

Installed: 

    NetworkManager 

Running: 

root  859  1 0 12:45 ?  00:00:03 /usr/sbin/NetworkManager --no-daemon 

##### NetworkManager info ############### 

GENERAL.DEVICE:       docker0 GENERAL.TYPE:   bridge GENERAL.NM-TYPE:      NMDeviceBridge GENERAL.VENDOR:       GENERAL.PRODUCT:    GENERAL.DRIVER:       bridge GENERAL.DRIVER-VERSION: 
2.3 GENERAL.FIRMWARE-VERSION:    N/A GENERAL.HWADDR:       <MAC 'docker0' [IF1]> GENERAL.MTU:       1500 GENERAL.STATE:       100 (connected) GENERAL.REASON:       0 (No reason given) GENERAL.UDI:       /sys/devices/virtual/net/docker0 GENERAL.IP-IFACE:      docker0 GENERAL.IS-SOFTWARE:     yes GENERAL.NM-MANAGED:      yes GENERAL.AUTOCONNECT:  yes GENERAL.FIRMWARE-MISSING:    no GENERAL.NM-PLUGIN-MISSING:    no GENERAL.PHYS-PORT-ID:  
-- GENERAL.CONNECTION:      docker0 GENERAL.CON-UUID:      87779905-948b-4923-90a9-a9fdeb019c8c GENERAL.CON-PATH:     /org/freedesktop/NetworkManager/ActiveConnection/1 GENERAL.METERED: no (guessed) CAPABILITIES.CARRIER-DETECT:   yes CAPABILITIES.SPEED:      unknown CAPABILITIES.IS-SOFTWARE:    yes BRIDGE.SLAVES:    CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{23} CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 87779905-948b-4923-90a9-a9fdeb019c8c | docker0 IP4.ADDRESS[1]:   
172.17.0.1/16 IP4.GATEWAY:        IP4.ROUTE[1]:       dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000 IP6.GATEWAY:    


GENERAL.DEVICE:       wlp2s0 GENERAL.TYPE:   wifi GENERAL.NM-TYPE:      NMDeviceWifi GENERAL.VENDOR:       Realtek Semiconductor Co., Ltd. GENERAL.PRODUCT:      RTL8821AE 802.11ac PCIe Wireless Network Adapter GENERAL.DRIVER:       rtl8821ae GENERAL.DRIVER-VERSION:     4.4.0-75-generic GENERAL.FIRMWARE-VERSION:    N/A GENERAL.HWADDR:   <MAC 'wlp2s0' [IF3]> GENERAL.MTU:       1500 GENERAL.STATE:       100 (connected) GENERAL.REASON:       0 (No reason given) GENERAL.UDI:       /sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/net/wlp2s0 GENERAL.IP-IFACE:      wlp2s0 GENERAL.IS-SOFTWARE: no GENERAL.NM-MANAGED:      yes GENERAL.AUTOCONNECT: yes GENERAL.FIRMWARE-MISSING:    no GENERAL.NM-PLUGIN-MISSING:    no GENERAL.PHYS-PORT-ID:  
-- GENERAL.CONNECTION:      ROUND ABOUT GENERAL.CON-UUID:      0b9cd60a-1403-4e3f-88b2-05becd106bf0 GENERAL.CON-PATH:     /org/freedesktop/NetworkManager/ActiveConnection/4 GENERAL.METERED: no (guessed) CAPABILITIES.CARRIER-DETECT:   no CAPABILITIES.SPEED:      150 Mb/s CAPABILITIES.IS-SOFTWARE:    no WIFI-PROPERTIES.WEP:  yes WIFI-PROPERTIES.WPA:     yes WIFI-PROPERTIES.WPA2: yes WIFI-PROPERTIES.TKIP:     yes WIFI-PROPERTIES.CCMP: yes WIFI-PROPERTIES.AP:      yes WIFI-PROPERTIES.ADHOC: yes WIFI-PROPERTIES.2GHZ:     yes WIFI-PROPERTIES.5GHZ: yes CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{3} CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 0b9cd60a-1403-4e3f-88b2-05becd106bf0 | ROUND ABOUT IP4.ADDRESS[1]:  
192.168.1.51/24 IP4.GATEWAY:       192.168.1.1 IP4.DNS[1]:        203.144.206.29 IP4.DNS[2]:  
203.144.206.49 DHCP4.OPTION[1]:      requested_subnet_mask = 1 DHCP4.OPTION[2]:      requested_rfc3442_classless_static_routes = 1 DHCP4.OPTION[3]:   subnet_mask = 255.255.255.0 DHCP4.OPTION[4]:      domain_name_servers = 203.144.206.29 203.144.206.49 DHCP4.OPTION[5]: ip_address = 192.168.1.51 DHCP4.OPTION[6]:      requested_static_routes = 1 DHCP4.OPTION[7]:      dhcp_server_identifier = 192.168.1.1 DHCP4.OPTION[8]:     default_ip_ttl = 64 DHCP4.OPTION[9]:      requested_time_offset = 1 DHCP4.OPTION[10]:      time_offset = 0 DHCP4.OPTION[11]:      broadcast_address = 192.168.1.255 DHCP4.OPTION[12]:     requested_interface_mtu = 1 DHCP4.OPTION[13]:      requested_domain_name_servers = 1 DHCP4.OPTION[14]:     dhcp_rebinding_time = 75600 DHCP4.OPTION[15]:      dhcp_message_type = 5 DHCP4.OPTION[16]:      requested_broadcast_address = 1 DHCP4.OPTION[17]:      routers = 192.168.1.1 DHCP4.OPTION[18]:      dhcp_renewal_time = 43200 DHCP4.OPTION[19]:      requested_domain_name = 1 DHCP4.OPTION[20]:      requested_routers = 1 DHCP4.OPTION[21]:      expiry = 1494309725 DHCP4.OPTION[22]:      requested_wpad = 1 DHCP4.OPTION[23]:      requested_netbios_scope = 1 DHCP4.OPTION[24]:      requested_ms_classless_static_routes = 1 DHCP4.OPTION[25]:    requested_netbios_name_servers = 1 DHCP4.OPTION[26]:     network_number = 192.168.1.0 DHCP4.OPTION[27]:      requested_domain_search = 1 DHCP4.OPTION[28]:      requested_ntp_servers = 1 DHCP4.OPTION[29]:      next_server = 192.168.1.1 DHCP4.OPTION[30]:      requested_host_name = 1 DHCP4.OPTION[31]:      dhcp_lease_time = 86400 IP6.ADDRESS[1]:       fe80::5f5:68c6:8ccf:2c5c/64 IP6.GATEWAY:        

GENERAL.DEVICE:       enp1s0 GENERAL.TYPE:   ethernet GENERAL.NM-TYPE:      NMDeviceEthernet GENERAL.VENDOR:       Realtek Semiconductor Co., Ltd. GENERAL.PRODUCT:      RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller GENERAL.DRIVER:     r8169 GENERAL.DRIVER-VERSION:     2.3LK-NAPI GENERAL.FIRMWARE-VERSION:    GENERAL.HWADDR:    <MAC 'enp1s0' [IF2]> GENERAL.MTU:       1500 GENERAL.STATE:       20 (unavailable) GENERAL.REASON:       2 (Device is now managed) GENERAL.UDI:       /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/enp1s0 GENERAL.IP-IFACE:      GENERAL.IS-SOFTWARE:   no GENERAL.NM-MANAGED:      yes GENERAL.AUTOCONNECT: yes GENERAL.FIRMWARE-MISSING:    no GENERAL.NM-PLUGIN-MISSING:    no GENERAL.PHYS-PORT-ID:  
-- GENERAL.CONNECTION:      -- GENERAL.CON-UUID:      -- GENERAL.CON-PATH:      -- GENERAL.METERED:      unknown CAPABILITIES.CARRIER-DETECT:   yes CAPABILITIES.SPEED:      unknown CAPABILITIES.IS-SOFTWARE:    no WIRED-PROPERTIES.CARRIER: off CONNECTIONS.AVAILABLE-CONNECTION-PATHS: 

SSID      BSSID    MODE CHAN FREQ  RATE  SIGNAL BARS SECURITY ACTIVE * RA Workspace   <MAC 'RA Workspace' [AN1]> Infra 11 2462 MHz 54 Mbit/s 100  ▂▄▆█ WPA1 WPA2 no   ROUND ABOUT 2   <MAC 'ROUND ABOUT 2' [AN2]> Infra 11 2462 MHz 54 Mbit/s 94  ▂▄▆█ WPA1 WPA2 no   ASIA      <MAC 'ASIA' [AN3]> Infra 2  2417 MHz 54 Mbit/s 80  ▂▄▆_ WPA2  no   ROUND ABOUT <MAC 'ROUND ABOUT' [AN4]> Infra 161 5805 MHz 54 Mbit/s 76  ▂▄▆_ WPA1 WPA2 yes  * SMART 4G 5.5 Enterprise <MAC 'SMART 4G 
5.5 Enterprise' [AN5]> Infra 6  2437 MHz 54 Mbit/s 47  ▂▄__ WPA2  no   KaKA-HOME    <MAC 'KaKA-HOME' [AN6]> Infra 9  2452 MHz 54 Mbit/s 47  ▂▄__ WPA2  no   Kem3bb     <MAC 'Kem3bb' [AN7]> Infra 6  2437 MHz 54 Mbit/s 44  ▂▄__ WPA1 WPA2 no   

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

[main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true 

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

[main] plugins=ifupdown,keyfile,ofono dns=dnsmasq 

[ifupdown] managed=false 

##### NetworkManager profiles ########### 

[[/etc/NetworkManager/system-connections/Pineapple3]] (600 root) [connection] id=Pineapple3 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Pineapple3 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/Anna's iPhone]] (600 root) [connection] id=Anna's iPhone | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Anna's iPhone [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/Travellers Hostel and Cafe]] (600 root) [connection] id=Travellers Hostel and Cafe | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Travellers Hostel and Cafe [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/9101809875 5G]] (600 root) [connection] id=9101809875 5G | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=9101809875 5G [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/Pineapple 4]] (600 root) [connection] id=Pineapple 4 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Pineapple 4 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/unfashion]] (600 root) [connection] id=unfashion | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=unfashion [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/rockyrooster 2]] (600 root) [connection] id=rockyrooster 2 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=rockyrooster 2 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/CS-QR20]] (600 root) [connection] id=CS-QR20 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=CS-QR20 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/Steps2]] (600 root) [connection] id=Steps2 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Steps2 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/thonglorartspace2014]] (600 root) [connection] id=thonglorartspace2014 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=thonglorartspace2014 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/rockyrooster 1]] (600 root) [connection] id=rockyrooster 1 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=rockyrooster 1 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/Darkwonder II]] (600 root) [connection] id=Darkwonder II | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Darkwonder II [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/9101809875]] (600 root) [connection] id=9101809875 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=9101809875 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/the password is password]] (600 root) [connection] id=the password is password | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=the password is password [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/AP013904N002]] (600 root) [connection] id=AP013904N002 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=AP013904N002 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/ROUND ABOUT]] (600 root) [connection] id=ROUND ABOUT | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=ROUND ABOUT [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/Merkey Merkel's Sex Dungeon]] (600 root) [connection] id=Merkey Merkel's Sex Dungeon | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Merkey Merkel's Sex Dungeon [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/Sabaijai]] (600 root) [connection] id=Sabaijai | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Sabaijai [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/true_home2G_RmQ]] (600 root) [connection] id=true_home2G_RmQ | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=true_home2G_RmQ [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/Melange]] (600 root) [connection] id=Melange | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Melange [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/Haleeva SunShine 1]] (600 root) [connection] id=Haleeva SunShine 1 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=Haleeva SunShine 1 [ipv4] method=auto [ipv6] method=auto 

[[/etc/NetworkManager/system-connections/the password is password 1]] (600 root) [connection] id=the password is password 1 | type=wifi | permissions=user:conor:; [wifi] mac-address=<MAC 'wlp2s0' [IF3]> | mac-address-blacklist= | ssid=the password is password [ipv4] method=auto [ipv6] method=auto 

##### iw reg get ######################## 

Region: Asia/Bangkok (based on set time zone) 

country 00: DFS-UNSET (2402 - 2472 @ 40), (N/A, 20), (N/A) (2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR  (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR (5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR  (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR  (57240 - 63720 @ 2160), (N/A, 0), (N/A) 

##### iwlist scan ####################### 

lo  Interface doesn't support scanning. 

enp1s0 Interface doesn't support scanning. 

docker0 Interface doesn't support scanning. 

wlp2s0 Interface doesn't support scanning : Device or resource busy 

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

[rtl8821ae] filename:  /lib/modules/4.4.0-75-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.ko firmware:  rtlwifi/rtl8821aefw.bin description: Realtek 8821ae 
802.11ac PCI wireless license:  GPL author:   Realtek WlanFAE <[email protected]> srcversion:  0E3A4E69E52B6033CEE5893 depends:  rtlwifi,rtl_pci,btcoexist,mac80211 intree:   Y vermagic:  4.4.0-75-generic SMP mod_unload modversions parm:  swenc:Set to 1 for software crypto (default 0) (bool) parm:   ips:Set to 0 to not use link power save (default 1) (bool) parm:  swlps:Set to 1 to use SW control power save (default 0) (bool) parm: fwlps:Set to 1 to use FW control power save (default 1) (bool) parm: msi:Set to 1 to use MSI interrupts mode (default 1) (bool) parm:  debug:Set debug level (0-5) (default 0) (int) parm:   disable_watchdog:Set to 1 to disable the watchdog (default 0) (bool) parm:   int_clear:Set to 0 to disable interrupt clear before set (default 1) (bool) 

[rtl_pci] filename:  /lib/modules/4.4.0-75-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko description: PCI basic driver for rtlwifi license:  GPL author:   Larry Finger <[email protected]> author:  Realtek WlanFAE <[email protected]> author:   lizhaoming <[email protected]> srcversion:  3B33A271D8BDBE9755FC279 depends:  mac80211,rtlwifi intree:  Y vermagic:  4.4.0-75-generic SMP mod_unload modversions 

[rtlwifi] filename:  /lib/modules/4.4.0-75-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko description: Realtek 802.11n PCI wireless core license:  GPL author:   Larry Finger <[email protected]> author:  Realtek WlanFAE <[email protected]> author:   lizhaoming <[email protected]> srcversion:  F5F46436A12E44A7B798C34 depends:  mac80211,cfg80211 intree:  Y vermagic:  4.4.0-75-generic SMP mod_unload modversions 

[mac80211] filename:  /lib/modules/4.4.0-75-generic/kernel/net/mac80211/mac80211.ko license: GPL description: IEEE 802.11 subsystem srcversion:  0EDE2F31518E91FFBB1E4EC depends:  cfg80211 intree:   Y vermagic:  4.4.0-75-generic SMP mod_unload modversions parm:  minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool) 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) 

[cfg80211] filename:  /lib/modules/4.4.0-75-generic/kernel/net/wireless/cfg80211.ko description: wireless configuration support license:  GPL author:   Johannes Berg srcversion:  48C96882CCDC964173BE1D1 depends:   intree:   Y vermagic:  4.4.0-75-generic SMP mod_unload modversions parm:   bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int) 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 ################# 

[rtl8821ae] debug: 0 disable_watchdog: N fwlps: N int_clear: Y ips: Y msi: Y swenc: Y swlps: N 

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

[cfg80211] bss_entries_limit: 1000 cfg80211_disable_40mhz_24ghz: N ieee80211_regdom: 00 

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

##### 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 

[/etc/modprobe.d/r8169.conf] options r8169 fwlps=N 

[/etc/modprobe.d/rtl8821ae.conf] options rtl8821ae fwlps=N options rtl8821ae swenc=1 

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

exit 0 

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

[/etc/pm/config.d/config] (644 root) service network-manager restart 

[/etc/pm/sleep.d/10_resume_wifi] (755 root) case "${1}" in 
    resume|thaw) nmcli nm sleep false ;; esac 

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

回答