web-dev-qa-db-ja.com

ubuntu 18.04にT4U V3(8822bu)ドライバーがインストールされていますが、接続できません。パスワードを尋ね続ける

私はここに新しいです。 18.04で最近購入したTP-link T4U V3(8822buチップセット)ワイヤレスアダプターを使用できません。私はネット上のほとんどすべてのトリックを試しましたが、それでもワイヤレスネットワークに接続できません。接続に失敗し、パスワードを要求し続けます。

私はほとんどの解決策が指す次のドライバーの両方を試しました:

  1. https://github.com/EntropicEffect/rtl8822b (ランダムに2回動作)
  2. https://github.com/cilynx/rtl88x2b

最初の方が「うまくいく」ようで、ネットワークがより速く、私の5GHzネットワークに2回接続しました(2.4Ghzも試しました)。しかし、その後は再接続しませんでした。

また、ルーターの5Ghz構成をWPA2 PSK AESモードのみに設定しようとしました。

ブラックリストに登録されている別のPCI Expressワイヤレスカードがインストールされています。本当に悪い信号と2.4Ghzのみ。

次に何をすればいいですか?前もって感謝します!

(たくさんの)詳細:

uname -r -v

5.3.0-46-generic #38~18.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020

lsusb

Bus 004 Device 002: ID 0424:5744 Standard Microsystems Corp. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 1532:0037 Razer USA, Ltd 
Bus 003 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 002: ID 0424:2744 Standard Microsystems Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 22b8:2e24 Motorola PCS 
Bus 001 Device 002: ID 2357:0115  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsmod | grep 88x

88x2bu               2441216  0
cfg80211              704512  1 88x2bu

lspci -knn | grep -iA2 net

06:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter [10ec:818b]
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter [10ec:8196]
    Kernel modules: rtl8192ee
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:8677]
    Kernel driver in use: r8169
    Kernel modules: r8169

syslogfor https://github.com/EntropicEffect/rtl8822b

Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5660] device (wlxd0374555494e): Activation: starting connection 'Oi_459D_5G' (16596e28-ee03-48ff-a0a2-61faf3a37ba4)
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5662] audit: op="connection-activate" uuid="16596e28-ee03-48ff-a0a2-61faf3a37ba4" name="Oi_459D_5G" pid=2323 uid=1000 result="success"
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5666] device (wlxd0374555494e): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5677] device (wlxd0374555494e): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5686] device (wlxd0374555494e): Activation: (wifi) access point 'Oi_459D_5G' has security, but secrets are required.
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5687] device (wlxd0374555494e): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5744] device (wlxd0374555494e): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5748] device (wlxd0374555494e): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5753] device (wlxd0374555494e): Activation: (wifi) connection 'Oi_459D_5G' has security, and secrets exist.  No new secrets needed.
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5754] Config: added 'ssid' value 'Oi_459D_5G'
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5754] Config: added 'scan_ssid' value '1'
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5754] Config: added 'bgscan' value 'simple:30:-80:86400'
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5754] Config: added 'key_mgmt' value 'WPA-PSK'
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5754] Config: added 'auth_alg' value 'OPEN'
Apr  9 13:50:04 cashway NetworkManager[938]: <info>  [1586451004.5755] Config: added 'psk' value '<hidden>'
Apr  9 13:50:04 cashway gnome-Shell[2323]: Object St.Widget (0x562a06e78f90), has been already deallocated - impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: == Stack trace for context 0x562a0462c330 ==
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #0 0x562a04ac6a28 i   resource:///org/gnome/Shell/ui/modalDialog.js:93 (0x7fd85c3f14d8 @ 22)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #1 0x7ffc200f9d60 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fd85c3b5de0 @ 71)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #2 0x562a04ac6970 i   resource:///org/gnome/gjs/modules/_legacy.js:39 (0x7fd85c3b5b38 @ 215)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #3 0x562a04ac68e0 i   resource:///org/gnome/Shell/ui/status/network.js:783 (0x7fd8061152b8 @ 409)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #4 0x7ffc200fb0d0 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fd85c3b5de0 @ 71)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #5 0x562a04ac6858 i   resource:///org/gnome/Shell/ui/modalDialog.js:168 (0x7fd85c3f1a28 @ 92)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #6 0x7ffc200fbcb0 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fd85c3b5de0 @ 71)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #7 0x7ffc200fc440 b   self-hosted:914 (0x7fd85c3f12b8 @ 346)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #8 0x562a04ac67b8 i   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (0x7fd85c3d2b38 @ 54)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #9 0x7ffc200fdaf0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:337 (0x7fd85c3d2bc0 @ 1626)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #10 0x7ffc200fdba0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:350 (0x7fd85c3d2c48 @ 100)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #11 0x562a04ac6740 i   resource:///org/gnome/gjs/modules/tweener/tweener.js:365 (0x7fd85c3d2cd0 @ 10)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #12 0x7ffc200fef20 b   resource:///org/gnome/gjs/modules/signals.js:128 (0x7fd85c3d2230 @ 386)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #13 0x562a04ac66b0 i   resource:///org/gnome/Shell/ui/tweener.js:244 (0x7fd85c3cf808 @ 159)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #14 0x7ffc200ffb70 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fd85c3b5de0 @ 71)
Apr  9 13:50:04 cashway org.gnome.Shell.desktop[2323]: #15 0x562a04ac6630 i   resource:///org/gnome/Shell/ui/tweener.js:219 (0x7fd85c3cf780 @ 15)
Apr  9 13:50:04 cashway gnome-Shell[2323]: clutter_actor_destroy: assertion 'CLUTTER_IS_ACTOR (self)' failed
Apr  9 13:50:09 cashway NetworkManager[938]: <info>  [1586451009.5917] device (wlxd0374555494e): supplicant interface state: disconnected -> scanning
Apr  9 13:50:15 cashway wpa_supplicant[943]: wlxd0374555494e: Trying to associate with a8:49:4d:10:45:a8 (SSID='Oi_459D_5G' freq=5180 MHz)
Apr  9 13:50:15 cashway NetworkManager[938]: <info>  [1586451015.2167] device (wlxd0374555494e): supplicant interface state: scanning -> associating
Apr  9 13:50:21 cashway wpa_supplicant[943]: wlxd0374555494e: CTRL-EVENT-ASSOC-REJECT status_code=1
Apr  9 13:50:21 cashway wpa_supplicant[943]: wlxd0374555494e: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Oi_459D_5G" auth_failures=1 duration=10 reason=CONN_FAILED
Apr  9 13:50:21 cashway wpa_supplicant[943]: wlxd0374555494e: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Apr  9 13:50:21 cashway wpa_supplicant[943]: wlxd0374555494e: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=BR
Apr  9 13:50:21 cashway NetworkManager[938]: <info>  [1586451021.8764] device (wlxd0374555494e): supplicant interface state: associating -> disconnected
Apr  9 13:50:29 cashway NetworkManager[938]: <warn>  [1586451029.4765] device (wlxd0374555494e): Activation: (wifi) association took too long
Apr  9 13:50:29 cashway NetworkManager[938]: <info>  [1586451029.4765] device (wlxd0374555494e): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Apr  9 13:50:29 cashway NetworkManager[938]: <warn>  [1586451029.4788] device (wlxd0374555494e): Activation: (wifi) asking for new secrets
Apr  9 13:50:31 cashway NetworkManager[938]: <warn>  [1586451031.0468] device (wlxd0374555494e): User canceled the secrets request.
Apr  9 13:50:31 cashway NetworkManager[938]: <info>  [1586451031.0468] device (wlxd0374555494e): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
Apr  9 13:50:31 cashway NetworkManager[938]: <warn>  [1586451031.0476] device (wlxd0374555494e): Activation: failed for connection 'Oi_459D_5G'
Apr  9 13:50:31 cashway NetworkManager[938]: <info>  [1586451031.0486] device (wlxd0374555494e): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Apr  9 13:50:31 cashway gnome-Shell[1839]: An active wireless connection, in infrastructure mode, involves no access point?
Apr  9 13:50:31 cashway gnome-Shell[2323]: An active wireless connection, in infrastructure mode, involves no access point?

ifconfig

wlxd0374555494e: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether d0:37:45:55:49:4e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

iw reg get

global
country BR: DFS-FCC
    (2402 - 2482 @ 40), (N/A, 20), (N/A)
    (5170 - 5250 @ 80), (N/A, 17), (N/A), AUTO-BW
    (5250 - 5330 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
    (5490 - 5730 @ 160), (N/A, 24), (0 ms), DFS
    (5735 - 5835 @ 80), (N/A, 30), (N/A)

rfkill list all

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

/ etc/default/crda
REGDOMAIN=BR


編集:

sudo iwlist chan

wlxd0374555494e  32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Channel 149 : 5.745 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
          Current Frequency:2.412 GHz (Channel 1)

nmcliデバイスのwifiリスト

IN-USE  SSID                    MODE   CHAN  RATE        SIGNAL  BARS  SECURITY  
        Oi_459D_5G              Infra  36    405 Mbit/s  70      ▂▄▆_  WPA2      
        Oi_459D                 Infra  8     195 Mbit/s  69      ▂▄▆_  WPA2      
        NET_2G0D41E4            Infra  11    195 Mbit/s  50      ▂▄__  WPA1 WPA2 
        CASA DA DORIS           Infra  1     130 Mbit/s  44      ▂▄__  WPA2      
        NetVirtua402            Infra  1     130 Mbit/s  44      ▂▄__  WPA1 WPA2 
        carvalho                Infra  3     130 Mbit/s  44      ▂▄__  WPA1 WPA2 
        Ole Telecom-45968       Infra  10    270 Mbit/s  44      ▂▄__  WPA2      
        #NET-CLARO-WIFI         Infra  1     130 Mbit/s  40      ▂▄__  --        
        Kalani2                 Infra  11    135 Mbit/s  39      ▂▄__  WPA1 WPA2 
        INTELBRAS               Infra  11    135 Mbit/s  37      ▂▄__  --        
        APT 202                 Infra  7     195 Mbit/s  32      ▂▄__  WPA1 WPA2 
        dlink-3806              Infra  6     270 Mbit/s  30      ▂___  WPA1 WPA2 
        #NET-CLARO-WIFI         Infra  7     195 Mbit/s  30      ▂___  --        
        NET VIRTUA 200 APT 801  Infra  11    130 Mbit/s  30      ▂___  WPA2      
        Kamile                  Infra  8     130 Mbit/s  29      ▂___  WPA1 WPA2 
        #NET-CLARO-WIFI         Infra  8     130 Mbit/s  29      ▂___  --        
        #NET-CLARO-WIFI         Infra  11    130 Mbit/s  29      ▂___  --        
        Virginia                Infra  11    195 Mbit/s  27      ▂___  WPA2      
        #NET-CLARO-WIFI         Infra  11    130 Mbit/s  27      ▂___  --        
        Rt Diogo Oi Fibra 5G    Infra  64    405 Mbit/s  15      ▂___  WPA1 WPA2 

sudo airmon-ngも(有用かどうかわからない):

PHY Interface   Driver      Chipset

phy0    wlxd0374555494e ??????

iwリスト

max # scan SSIDs: 9
    max scan IEs length: 2304 bytes
    max # sched scan SSIDs: 0
    max # match sets: 0
    max # scan plans: 1
    max scan plan interval: -1
    max scan plan iterations: 0
    Retry short limit: 7
    Retry long limit: 4
    Coverage class: 0 (up to 0m)
    Supported Ciphers:
        * WEP40 (00-0f-ac:1)
        * WEP104 (00-0f-ac:5)
        * TKIP (00-0f-ac:2)
        * CCMP-128 (00-0f-ac:4)
    Available Antennas: TX 0 RX 0
    Supported interface modes:
         * IBSS
         * managed
         * AP
         * P2P-client
         * P2P-GO

編集2:
自動チャネル:(

iwconfig

wlxd0374555494e  unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=5.18 GHz  Access Point: Not-Associated   
          Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
1
DIG

部分的なソリューション

ドライバー: https://github.com/EntropicEffect/rtl8822b
モード:管理
固定チャネル。
40MHzの固定チャネル帯域幅。
WPA/WPA2 AESのみ。

私はそれがハハを働かせるルーチンを得ました

  1. USBアダプタを入れます
  2. 接続してみてください
  3. 接続を忘れる
  4. もう一度接続してみてください
  5. もう一度パスワードを求められたらキャンセルする
  6. Wi-Fiをオフにする
  7. アダプターを外す
  8. リブート
  9. ログインする
  10. アダプターを接続する
  11. Wi-Fiをオンにする
  12. 接続してください! LOL :)

なぜこれが機能するのかはわかりませんが、これらの手順で3回続けて確実に接続することができました。シャットダウンするたびに手順3〜7を実行する必要があります。少し吸います。また、新しい接続が発生するたびにDNSサーバーを配置する必要があります。

私はそれが他の人を助けることを願っていますが、それを解決するといいでしょう何か案は??

0
DIG