vickycq 写了:liuki342166 写了:
3月 29 16:42:32 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-ASSOC-REJECT status_code=16
3月 29 16:42:32 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="UCZOON-Office" auth_failures=1 duration=10 reason=CONN_FAILED
从日志来看,应该是认证错误。比如密码错误,加密类型错误,认证方式错误等。
除 UCZOON-Office 外的其它热点能否连接?可用手机共享热点尝试连接。
看 SSID 名称,连接的应该是工作场所的热点,有可能不是常见的 WPA2-PSK (TKIP/AES)。建议咨询网管或同事。
谢谢分析, 我现在尝试 使用手机热点进行链接,测试2个方案,麻烦您在给分析一下日志,辛苦了!
1.手机热点,加密方式:“无”
root@liukim-laptop:~# sudo journalctl --no-pager -f
-- Logs begin at 三 2017-03-29 16:38:08 CST. --
3月 29 17:02:55 liukim-laptop systemd[1]: snapd.refresh.timer: Adding 19min 36.990329s random time.
3月 29 17:03:43 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
3月 29 17:04:46 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
3月 29 17:05:49 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
3月 29 17:06:52 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
3月 29 17:07:55 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
3月 29 17:08:58 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
3月 29 17:10:01 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
3月 29 17:10:51 liukim-laptop sudo[3397]: root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/bin/journalctl --no-pager -f
3月 29 17:10:51 liukim-laptop sudo[3397]: pam_unix(sudo:session): session opened for user root by (uid=0)
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4290] keyfile: add connection in-memory (b85324a9-b8db-45b6-aa27-0bd2a4da27a2,"k")
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4306] device (wlp1s0): Activation: starting connection 'k' (b85324a9-b8db-45b6-aa27-0bd2a4da27a2)
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4311] keyfile: update /etc/NetworkManager/system-connections/k (b85324a9-b8db-45b6-aa27-0bd2a4da27a2,"k") and persist connection
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4312] audit: op="connection-add-activate" uuid="b85324a9-b8db-45b6-aa27-0bd2a4da27a2" name="k" pid=2283 uid=0 result="success"
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4320] device (wlp1s0): state change: disconnected -> prepare (reason 'none') [30 40 0]
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4327] device (wlp1s0): state change: prepare -> config (reason 'none') [40 50 0]
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4333] device (wlp1s0): Activation: (wifi) connection 'k' requires no security. No secrets needed.
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4334] Config: added 'ssid' value 'k'
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4334] Config: added 'scan_ssid' value '1'
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4334] Config: added 'key_mgmt' value 'NONE'
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4366] sup-iface[0x55df5d3a2a20,wlp1s0]: config: set interface ap_scan to 1
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.4774] device (wlp1s0): supplicant interface state: inactive -> scanning
3月 29 17:10:57 liukim-laptop wpa_supplicant[1010]: wlp1s0: Trying to associate with SSID 'k'
3月 29 17:10:57 liukim-laptop NetworkManager[759]: <info> [1490778657.9970] device (wlp1s0): supplicant interface state: scanning -> associating
3月 29 17:10:58 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-ASSOC-REJECT status_code=16
3月 29 17:10:58 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="k" auth_failures=1 duration=10 reason=CONN_FAILED
3月 29 17:10:58 liukim-laptop NetworkManager[759]: <info> [1490778658.7521] device (wlp1s0): supplicant interface state: associating -> disconnected
3月 29 17:11:08 liukim-laptop NetworkManager[759]: <info> [1490778668.7952] device (wlp1s0): supplicant interface state: disconnected -> scanning
3月 29 17:11:09 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="k"
3月 29 17:11:09 liukim-laptop wpa_supplicant[1010]: wlp1s0: Trying to associate with SSID 'k'
3月 29 17:11:09 liukim-laptop NetworkManager[759]: <info> [1490778669.3120] device (wlp1s0): supplicant interface state: scanning -> associating
3月 29 17:11:09 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-ASSOC-REJECT status_code=16
3月 29 17:11:09 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="k" auth_failures=2 duration=20 reason=CONN_FAILED
3月 29 17:11:09 liukim-laptop NetworkManager[759]: <info> [1490778669.8970] device (wlp1s0): supplicant interface state: associating -> disconnected
3月 29 17:11:19 liukim-laptop NetworkManager[759]: <info> [1490778679.9347] device (wlp1s0): supplicant interface state: disconnected -> scanning
3月 29 17:11:22 liukim-laptop NetworkManager[759]: <warn> [1490778682.5101] device (wlp1s0): Activation: (wifi) association took too long, failing activation
3月 29 17:11:22 liukim-laptop NetworkManager[759]: <info> [1490778682.5101] device (wlp1s0): state change: config -> failed (reason 'supplicant-timeout') [50 120 11]
3月 29 17:11:22 liukim-laptop NetworkManager[759]: <warn> [1490778682.5107] device (wlp1s0): Activation: failed for connection 'k'
3月 29 17:11:22 liukim-laptop NetworkManager[759]: <info> [1490778682.5313] device (wlp1s0): state change: failed -> disconnected (reason 'none') [120 30 0]
3月 29 17:11:22 liukim-laptop kernel: IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
3月 29 17:11:23 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
3月 29 17:11:23 liukim-laptop NetworkManager[759]: <info> [1490778683.0614] device (wlp1s0): supplicant interface state: scanning -> inactive
3月 29 17:11:23 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
^C
root@liukim-laptop:~#
最后提示的是 “断开链接”
2.手机热点,加密方式:”WPA2 PSK“
root@liukim-laptop:~# sudo journalctl --no-pager -f
-- Logs begin at 三 2017-03-29 16:38:08 CST. --
3月 29 17:14:08 liukim-laptop dbus[730]: [system] Successfully activated service 'org.freedesktop.hostname1'
3月 29 17:14:08 liukim-laptop systemd[1]: Started Hostname Service.
3月 29 17:14:10 liukim-laptop NetworkManager[759]: <warn> [1490778850.6722] device (wlp1s0): User canceled the secrets request.
3月 29 17:14:10 liukim-laptop NetworkManager[759]: <info> [1490778850.6723] device (wlp1s0): state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
3月 29 17:14:10 liukim-laptop NetworkManager[759]: <warn> [1490778850.6734] device (wlp1s0): Activation: failed for connection 'k 1'
3月 29 17:14:10 liukim-laptop NetworkManager[759]: <info> [1490778850.6971] device (wlp1s0): state change: failed -> disconnected (reason 'none') [120 30 0]
3月 29 17:14:10 liukim-laptop kernel: IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
3月 29 17:14:16 liukim-laptop sudo[3460]: pam_unix(sudo:session): session closed for user root
3月 29 17:14:19 liukim-laptop sudo[3546]: root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/bin/journalctl --no-pager -f
3月 29 17:14:19 liukim-laptop sudo[3546]: pam_unix(sudo:session): session opened for user root by (uid=0)
3月 29 17:14:23 liukim-laptop NetworkManager[759]: <info> [1490778863.6589] device (wlp1s0): Activation: starting connection 'k 1' (464a4638-2d71-4e61-8154-e3cdcbd8a737)
3月 29 17:14:23 liukim-laptop NetworkManager[759]: <info> [1490778863.6591] audit: op="connection-activate" uuid="464a4638-2d71-4e61-8154-e3cdcbd8a737" name="k 1" pid=2283 uid=0 result="success"
3月 29 17:14:23 liukim-laptop NetworkManager[759]: <info> [1490778863.6595] device (wlp1s0): state change: disconnected -> prepare (reason 'none') [30 40 0]
3月 29 17:14:23 liukim-laptop NetworkManager[759]: <info> [1490778863.6603] device (wlp1s0): state change: prepare -> config (reason 'none') [40 50 0]
3月 29 17:14:23 liukim-laptop NetworkManager[759]: <info> [1490778863.6609] device (wlp1s0): Activation: (wifi) access point 'k 1' has security, but secrets are required.
3月 29 17:14:23 liukim-laptop NetworkManager[759]: <info> [1490778863.6610] device (wlp1s0): state change: config -> need-auth (reason 'none') [50 60 0]
3月 29 17:14:23 liukim-laptop nm-applet[2283]: No keyring secrets found for k 1/802-11-wireless-security; asking user.
3月 29 17:14:24 liukim-laptop nm-applet[2283]: GtkDialog mapped without a transient parent. This is discouraged.
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2445] keyfile: update /etc/NetworkManager/system-connections/k 1 (464a4638-2d71-4e61-8154-e3cdcbd8a737,"k 1")
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2476] device (wlp1s0): state change: need-auth -> prepare (reason 'none') [60 40 0]
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2485] device (wlp1s0): state change: prepare -> config (reason 'none') [40 50 0]
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2492] device (wlp1s0): Activation: (wifi) connection 'k 1' has security, and secrets exist. No new secrets needed.
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2496] Config: added 'ssid' value 'k'
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2500] Config: added 'scan_ssid' value '1'
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2503] Config: added 'key_mgmt' value 'WPA-PSK'
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2504] Config: added 'auth_alg' value 'OPEN'
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2504] Config: added 'psk' value '<omitted>'
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.2515] sup-iface[0x55df5d3a2a20,wlp1s0]: config: set interface ap_scan to 1
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.3024] device (wlp1s0): supplicant interface state: disconnected -> scanning
3月 29 17:14:31 liukim-laptop wpa_supplicant[1010]: wlp1s0: Trying to associate with SSID 'k'
3月 29 17:14:31 liukim-laptop NetworkManager[759]: <info> [1490778871.8253] device (wlp1s0): supplicant interface state: scanning -> associating
3月 29 17:14:32 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-ASSOC-REJECT status_code=16
3月 29 17:14:32 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="k" auth_failures=1 duration=10 reason=CONN_FAILED
3月 29 17:14:32 liukim-laptop NetworkManager[759]: <info> [1490778872.4100] device (wlp1s0): supplicant interface state: associating -> disconnected
3月 29 17:14:42 liukim-laptop NetworkManager[759]: <info> [1490778882.4462] device (wlp1s0): supplicant interface state: disconnected -> scanning
3月 29 17:14:42 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="k"
3月 29 17:14:42 liukim-laptop wpa_supplicant[1010]: wlp1s0: Trying to associate with SSID 'k'
3月 29 17:14:42 liukim-laptop NetworkManager[759]: <info> [1490778882.9675] device (wlp1s0): supplicant interface state: scanning -> associating
3月 29 17:14:43 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-ASSOC-REJECT status_code=16
3月 29 17:14:43 liukim-laptop wpa_supplicant[1010]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="k" auth_failures=2 duration=20 reason=CONN_FAILED
3月 29 17:14:43 liukim-laptop NetworkManager[759]: <info> [1490778883.4476] device (wlp1s0): supplicant interface state: associating -> disconnected
3月 29 17:14:53 liukim-laptop NetworkManager[759]: <info> [1490778893.4849] device (wlp1s0): supplicant interface state: disconnected -> scanning
3月 29 17:14:56 liukim-laptop NetworkManager[759]: <warn> [1490778896.5111] device (wlp1s0): Activation: (wifi) association took too long
3月 29 17:14:56 liukim-laptop NetworkManager[759]: <info> [1490778896.5111] device (wlp1s0): state change: config -> need-auth (reason 'none') [50 60 0]
3月 29 17:14:56 liukim-laptop NetworkManager[759]: <warn> [1490778896.5147] device (wlp1s0): Activation: (wifi) asking for new secrets
3月 29 17:14:56 liukim-laptop nm-applet[2283]: No keyring secrets found for k 1/802-11-wireless-security; asking user.
3月 29 17:14:57 liukim-laptop nm-applet[2283]: GtkDialog mapped without a transient parent. This is discouraged.
3月 29 17:14:57 liukim-laptop dbus[730]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
3月 29 17:14:57 liukim-laptop systemd[1]: Starting Hostname Service...
3月 29 17:14:57 liukim-laptop NetworkManager[759]: <info> [1490778897.5250] device (wlp1s0): supplicant interface state: scanning -> inactive
3月 29 17:14:57 liukim-laptop dbus[730]: [system] Successfully activated service 'org.freedesktop.hostname1'
3月 29 17:14:57 liukim-laptop systemd[1]: Started Hostname Service.
3月 29 17:15:01 liukim-laptop NetworkManager[759]: <warn> [1490778901.7718] device (wlp1s0): User canceled the secrets request.
3月 29 17:15:01 liukim-laptop NetworkManager[759]: <info> [1490778901.7719] device (wlp1s0): state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
3月 29 17:15:01 liukim-laptop NetworkManager[759]: <warn> [1490778901.7728] device (wlp1s0): Activation: failed for connection 'k 1'
3月 29 17:15:01 liukim-laptop NetworkManager[759]: <info> [1490778901.7736] device (wlp1s0): state change: failed -> disconnected (reason 'none') [120 30 0]
3月 29 17:15:01 liukim-laptop kernel: IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
3月 29 17:15:02 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
3月 29 17:15:06 liukim-laptop wpa_supplicant[1010]: wlp1s0: Failed to initiate sched scan
^C