WSIWYG,我无法连接到 Wi-Fi,当我尝试连接时,密码提示出现 2-3 次,然后连接失败。我使用的是 Realtek Semiconductor Corp. USB3.0 802.11ac 1200M 适配器,这个司机。
这是输出inxi -Fxz
:
Network: Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: 5.6.0-k port: e000 bus ID: 03:00.0
IF: enp3s0 state: down mac: <filter>
Device-2: Realtek USB3.0 802.11ac 1200M Adapter type: USB driver: rtl88x2bu bus ID: 1-7:4
IF: wlx1cbfce78b64c state: down mac: <filter>
我尝试连接的 Wi-Fi 网络使用 WPA2 个人加密,并且我能够从具有不同硬件的其他 Linux 机器顺利连接到该网络。
编辑:这是 NetworkManager 的一些 journalctl 输出:
xx:19:22 device (wlx1cbfce78b64c): Activation: starting connection 'Auto ..' ({UUID})
xx:19:22 audit: op="connection-activate" uuid="{UUID}" name="Auto .." pid=2114 uid=1000 result="success"
xx:19:22 device (wlx1cbfce78b64c): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
xx:19:22 device (wlx1cbfce78b64c): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
xx:19:22 device (wlx1cbfce78b64c): Activation: (wifi) access point 'Auto ..' has security, but secrets are required.
xx:19:22 device (wlx1cbfce78b64c): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
xx:19:22 device (wlx1cbfce78b64c): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
xx:19:22 device (wlx1cbfce78b64c): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
xx:19:22 device (wlx1cbfce78b64c): Activation: (wifi) connection 'Auto ..' has security, and secrets exist. No new secrets needed.
xx:19:22 Config: added 'ssid' value '..'
xx:19:22 Config: added 'scan_ssid' value '1'
xx:19:22 Config: added 'bgscan' value 'simple:30:-70:86400'
xx:19:22 Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
xx:19:22 Config: added 'auth_alg' value 'OPEN'
xx:19:22 Config: added 'psk' value '<hidden>'
xx:19:39 device (wlx1cbfce78b64c): supplicant interface state: disconnected -> scanning
xx:19:39 device (p2p-dev-wlx1cbfce78b64c): supplicant management interface state: disconnected -> scanning
xx:19:46 device (wlx1cbfce78b64c): supplicant interface state: scanning -> associating
xx:19:46 device (p2p-dev-wlx1cbfce78b64c): supplicant management interface state: scanning -> associating
xx:19:47 device (wlx1cbfce78b64c): Activation: (wifi) association took too long
xx:19:47 device (wlx1cbfce78b64c): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
xx:19:47 device (wlx1cbfce78b64c): Activation: (wifi) asking for new secrets
xx:19:48 connection disconnected (reason -3)
xx:19:48 device (wlx1cbfce78b64c): supplicant interface state: associating -> disconnected
xx:19:48 device (p2p-dev-wlx1cbfce78b64c): supplicant management interface state: associating -> disconnected
xx:19:48 connection disconnected (reason 1)
PROMPT
xx:20:52 device (wlx1cbfce78b64c): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
xx:20:52 device (wlx1cbfce78b64c): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
xx:20:52 device (wlx1cbfce78b64c): Activation: (wifi) connection 'Auto ..' has security, and secrets exist. No new secrets needed.
xx:20:52 Config: added 'ssid' value '..'
以及相应的 wpa_supplicant 输出:
xx:19:46 wlx1cbfce78b64c: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='..' freq=5180 MHz)
xx:19:46 wlx1cbfce78b64c: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5180 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5190 cf2=0
xx:19:48 wlx1cbfce78b64c: CTRL-EVENT-DISCONNECTED bssid=xx:xx:xx:xx:xx:xx reason=3 locally_generated=1
xx:19:48 wlx1cbfce78b64c: CTRL-EVENT-ASSOC-REJECT status_code=1
xx:19:48 wlx1cbfce78b64c: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
PROMPT 是提示我输入 wifi 密码的地方。如果还有其他需要说明的,请告诉我。