WiFi连接问题


9

这是13.04中的问题,也是wifi的问题。Ubuntu将永远不会连接到网络。我所有其他设备均正常运行。

计算机检测到网络并弹出wifi密码对话框。我输入正确的密码,单击“确定”,它尝试连接几秒钟,然后再次要求输入密码。我正在使用新的D-Link无线N 150 Pico USB适配器,该适配器在Windows下可以很好地连接到同一网络。

我在Google搜寻了几个小时,却找不到答案,也许有人可以帮忙?

syslog 包含:

Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: get_secret_flags: assertion `is_secret_prop (setting, secret_name, error)' failed
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Activation (wlan0/wireless): connection 'Wi-Fi connection 1' has security, and secrets exist.  No new secrets needed.
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Config: added 'ssid' value 'kaylag2'
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Config: added 'scan_ssid' value '1'
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Config: added 'psk' value '<omitted>'
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> Config: set interface ap_scan to 1
Sep  7 09:25:40 mike-ubuntu NetworkManager[986]: <info> (wlan0): supplicant interface state: inactive -> scanning
Sep  7 09:25:41 mike-ubuntu wpa_supplicant[1017]: wlan0: SME: Trying to authenticate with 00:13:10:e1:f9:a2 (SSID='kaylag2' freq=2437 MHz)
Sep  7 09:25:41 mike-ubuntu kernel: [ 1277.665268] wlan0: authenticate with 00:13:10:e1:f9:a2
Sep  7 09:25:41 mike-ubuntu NetworkManager[986]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Sep  7 09:25:41 mike-ubuntu kernel: [ 1277.681287] wlan0: send auth to 00:13:10:e1:f9:a2 (try 1/3)
Sep  7 09:25:41 mike-ubuntu wpa_supplicant[1017]: wlan0: Trying to associate with 00:13:10:e1:f9:a2 (SSID='kaylag2' freq=2437 MHz)
Sep  7 09:25:41 mike-ubuntu kernel: [ 1277.686768] wlan0: authenticated
Sep  7 09:25:41 mike-ubuntu kernel: [ 1277.687005] rtl8192cu 1-1:1.0 wlan0: disabling HT/VHT due to WEP/TKIP use
Sep  7 09:25:41 mike-ubuntu kernel: [ 1277.687010] rtl8192cu 1-1:1.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
Sep  7 09:25:41 mike-ubuntu kernel: [ 1277.687014] rtl8192cu 1-1:1.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
Sep  7 09:25:41 mike-ubuntu kernel: [ 1277.688037] wlan0: associate with 00:13:10:e1:f9:a2 (try 1/3)
Sep  7 09:25:41 mike-ubuntu wpa_supplicant[1017]: wlan0: Associated with 00:13:10:e1:f9:a2
Sep  7 09:25:41 mike-ubuntu NetworkManager[986]: <info> (wlan0): supplicant interface state: authenticating -> associated
Sep  7 09:25:41 mike-ubuntu kernel: [ 1277.691496] wlan0: RX AssocResp from 00:13:10:e1:f9:a2 (capab=0x431 status=0 aid=12)
Sep  7 09:25:41 mike-ubuntu kernel: [ 1277.691541] wlan0: associated
Sep  7 09:25:41 mike-ubuntu NetworkManager[986]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
Sep  7 09:25:51 mike-ubuntu wpa_supplicant[1017]: wlan0: Authentication with 00:13:10:e1:f9:a2 timed out.
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.695734] wlan0: disassociating from 00:13:10:e1:f9:a2 by local choice (reason=3)
Sep  7 09:25:51 mike-ubuntu wpa_supplicant[1017]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
Sep  7 09:25:51 mike-ubuntu NetworkManager[986]: <info> (wlan0): supplicant interface state: 4-way handshake -> disconnected
Sep  7 09:25:51 mike-ubuntu NetworkManager[986]: <info> Activation (wlan0/wireless): disconnected during association, asking for new key.
Sep  7 09:25:51 mike-ubuntu NetworkManager[986]: <info> (wlan0): device state change: config -> need-auth (reason 'supplicant-disconnect') [50 60 8]
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.711433] wlan0: deauthenticating from 00:13:10:e1:f9:a2 by local choice (reason=3)
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.712868] cfg80211: Calling CRDA to update world regulatory domain
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.783416] cfg80211: World regulatory domain updated:
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.783432] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.783439] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.783445] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.783450] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.783456] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  7 09:25:51 mike-ubuntu kernel: [ 1287.783461] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  7 09:25:52 mike-ubuntu NetworkManager[986]: <info> (wlan0): supplicant interface state: disconnected -> inactive
Sep  7 09:26:12 mike-ubuntu kernel: [ 1308.420423] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
Sep  7 09:26:12 mike-ubuntu kernel: [ 1308.422269] sd 6:0:0:0: [sdb] Asking for cache data failed
Sep  7 09:26:12 mike-ubuntu kernel: [ 1308.422282] sd 6:0:0:0: [sdb] Assuming drive cache: write through

我试图禁用路由器上的WPA,但它仍然无法连接,我只是想缩小问题范围。

须藤lshw -C网络

*-网络
描述:无线接口物理ID:1总线信息:usb @ 1:1逻辑名称:wlan0串行:14:d6:4d:a7:0d:2e功能:以太网物理无线配置:广播=是驱动程序= rtl8192cu驱动程序版本= 3.8.0-19-通用固件= N / A链接=否多播=是无线= IEEE 802.11bgn

之后的系统日志:sudo iw wlan0设置power_save off

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) starting connection 'Wi-Fi connection 1'

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0/wireless): access point 'Wi-Fi connection 1' has security, but secrets are required.

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0/wireless): connection 'Wi-Fi connection 1' has security, and secrets exist.  No new secrets needed.

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Config: added 'ssid' value 'kaylag2'

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Config: added 'scan_ssid' value '1'

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Config: added 'key_mgmt' value 'WPA-PSK'

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Config: added 'psk' value '<omitted>'

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> Config: set interface ap_scan to 1

Sep  7 11:59:52 mike-ubuntu NetworkManager[969]: <info> (wlan0): supplicant interface state: inactive -> scanning

Sep  7 11:59:53 mike-ubuntu wpa_supplicant[1193]: wlan0: SME: Trying to authenticate with 00:13:10:e1:f9:a2 (SSID='kaylag2' freq=2437 MHz)

Sep  7 11:59:53 mike-ubuntu kernel: [ 1331.829097] wlan0: authenticate with 00:13:10:e1:f9:a2

Sep  7 11:59:53 mike-ubuntu NetworkManager[969]: <info> (wlan0): supplicant interface state: scanning -> authenticating

Sep  7 11:59:53 mike-ubuntu kernel: [ 1331.844435] wlan0: send auth to 00:13:10:e1:f9:a2 (try 1/3)

Sep  7 11:59:53 mike-ubuntu kernel: [ 1332.048053] wlan0: send auth to 00:13:10:e1:f9:a2 (try 2/3)

Sep  7 11:59:53 mike-ubuntu kernel: [ 1332.051835] wlan0: authenticated

Sep  7 11:59:53 mike-ubuntu kernel: [ 1332.052717] rtl8192cu 1-1:1.0 wlan0: disabling HT/VHT due to WEP/TKIP use

Sep  7 11:59:53 mike-ubuntu kernel: [ 1332.052779] rtl8192cu 1-1:1.0 wlan0: disabling HT as WMM/QoS is not supported by the AP

Sep  7 11:59:53 mike-ubuntu kernel: [ 1332.052786] rtl8192cu 1-1:1.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP

Sep  7 11:59:53 mike-ubuntu wpa_supplicant[1193]: wlan0: Trying to associate with 00:13:10:e1:f9:a2 (SSID='kaylag2' freq=2437 MHz)

Sep  7 11:59:53 mike-ubuntu kernel: [ 1332.056098] wlan0: associate with 00:13:10:e1:f9:a2 (try 1/3)

Sep  7 11:59:53 mike-ubuntu NetworkManager[969]: <info> (wlan0): supplicant interface state: authenticating -> associating

Sep  7 11:59:53 mike-ubuntu wpa_supplicant[1193]: wlan0: Associated with 00:13:10:e1:f9:a2

Sep  7 11:59:53 mike-ubuntu kernel: [ 1332.089970] wlan0: RX AssocResp from 00:13:10:e1:f9:a2 (capab=0x431 status=0 aid=12)

Sep  7 11:59:53 mike-ubuntu kernel: [ 1332.090161] wlan0: associated

Sep  7 11:59:53 mike-ubuntu NetworkManager[969]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake

Sep  7 12:00:03 mike-ubuntu wpa_supplicant[1193]: wlan0: Authentication with 00:13:10:e1:f9:a2 timed out.

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.094561] wlan0: disassociating from 00:13:10:e1:f9:a2 by local choice (reason=3)

Sep  7 12:00:03 mike-ubuntu wpa_supplicant[1193]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3

Sep  7 12:00:03 mike-ubuntu NetworkManager[969]: <info> (wlan0): supplicant interface state: 4-way handshake -> disconnected

Sep  7 12:00:03 mike-ubuntu NetworkManager[969]: <info> Activation (wlan0/wireless): disconnected during association, asking for new key.

Sep  7 12:00:03 mike-ubuntu NetworkManager[969]: <info> (wlan0): device state change: config -> need-auth (reason 'supplicant-disconnect') [50 60 8]

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.106375] wlan0: deauthenticating from 00:13:10:e1:f9:a2 by local choice (reason=3)

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.112407] cfg80211: Calling CRDA to update world regulatory domain

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.164006] cfg80211: World regulatory domain updated:

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.164102] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.164109] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.164116] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.164121] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.164127] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

Sep  7 12:00:03 mike-ubuntu kernel: [ 1342.164132] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

好的,尝试缩小问题范围,我认为可能是信号太弱,因此我将接入点移近了,我也禁用了安全性并尝试重新连接,但仍然没有运气。我不确定这里是否有什么特别之处:

Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) starting connection 'kaylag2'
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0/wireless): connection 'kaylag2' requires no security.  No secrets needed.
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Config: added 'ssid' value 'kaylag2'
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Config: added 'scan_ssid' value '1'
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Config: added 'key_mgmt' value 'NONE'
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> Config: set interface ap_scan to 1
Sep  7 12:27:36 mike-ubuntu NetworkManager[868]: <info> (wlan0): supplicant interface state: inactive -> scanning
Sep  7 12:27:37 mike-ubuntu wpa_supplicant[906]: wlan0: SME: Trying to authenticate with 00:13:10:e1:f9:a2 (SSID='kaylag2' freq=2437 MHz)
Sep  7 12:27:37 mike-ubuntu kernel: [  115.581772] wlan0: authenticate with 00:13:10:e1:f9:a2
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Sep  7 12:27:37 mike-ubuntu kernel: [  115.620391] wlan0: send auth to 00:13:10:e1:f9:a2 (try 1/3)
Sep  7 12:27:37 mike-ubuntu wpa_supplicant[906]: wlan0: Trying to associate with 00:13:10:e1:f9:a2 (SSID='kaylag2' freq=2437 MHz)
Sep  7 12:27:37 mike-ubuntu kernel: [  115.630642] wlan0: authenticated
Sep  7 12:27:37 mike-ubuntu kernel: [  115.631154] rtl8192cu 1-1:1.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
Sep  7 12:27:37 mike-ubuntu kernel: [  115.631164] rtl8192cu 1-1:1.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
Sep  7 12:27:37 mike-ubuntu kernel: [  115.632450] wlan0: associate with 00:13:10:e1:f9:a2 (try 1/3)
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> (wlan0): supplicant interface state: authenticating -> associating
Sep  7 12:27:37 mike-ubuntu wpa_supplicant[906]: wlan0: Associated with 00:13:10:e1:f9:a2
Sep  7 12:27:37 mike-ubuntu wpa_supplicant[906]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:13:10:e1:f9:a2 completed (auth) [id=0 id_str=]
Sep  7 12:27:37 mike-ubuntu kernel: [  115.642953] wlan0: RX AssocResp from 00:13:10:e1:f9:a2 (capab=0x421 status=0 aid=4)
Sep  7 12:27:37 mike-ubuntu kernel: [  115.643075] wlan0: associated
Sep  7 12:27:37 mike-ubuntu kernel: [  115.643160] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> (wlan0): supplicant interface state: associating -> completed
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'kaylag2'.
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> dhclient started with pid 2201
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Beginning IP6 addrconf.
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Sep  7 12:27:37 mike-ubuntu dhclient: Internet Systems Consortium DHCP Client 4.2.4
Sep  7 12:27:37 mike-ubuntu dhclient: Copyright 2004-2012 Internet Systems Consortium.
Sep  7 12:27:37 mike-ubuntu dhclient: All rights reserved.
Sep  7 12:27:37 mike-ubuntu dhclient: For info, please visit https://www.isc.org/software/dhcp/
Sep  7 12:27:37 mike-ubuntu dhclient: 
Sep  7 12:27:37 mike-ubuntu dhclient: Listening on LPF/wlan0/14:d6:4d:a7:0d:2e
Sep  7 12:27:37 mike-ubuntu NetworkManager[868]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
Sep  7 12:27:37 mike-ubuntu dhclient: Sending on   LPF/wlan0/14:d6:4d:a7:0d:2e
Sep  7 12:27:37 mike-ubuntu dhclient: Sending on   Socket/fallback
Sep  7 12:27:37 mike-ubuntu dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x2a921615)
Sep  7 12:27:39 mike-ubuntu avahi-daemon[864]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::16d6:4dff:fea7:d2e.
Sep  7 12:27:39 mike-ubuntu avahi-daemon[864]: New relevant interface wlan0.IPv6 for mDNS.
Sep  7 12:27:39 mike-ubuntu avahi-daemon[864]: Registering new address record for fe80::16d6:4dff:fea7:d2e on wlan0.*.
Sep  7 12:27:40 mike-ubuntu dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 (xid=0x2a921615)
Sep  7 12:27:44 mike-ubuntu dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 (xid=0x2a921615)
Sep  7 12:27:54 mike-ubuntu dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 (xid=0x2a921615)
Sep  7 12:27:57 mike-ubuntu NetworkManager[868]: <info> (wlan0): IP6 addrconf timed out or failed.
Sep  7 12:27:57 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Sep  7 12:27:57 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Sep  7 12:27:57 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Sep  7 12:28:04 mike-ubuntu dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 (xid=0x2a921615)
Sep  7 12:28:14 mike-ubuntu dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 (xid=0x2a921615)
Sep  7 12:28:20 mike-ubuntu kernel: [  158.449728] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
Sep  7 12:28:20 mike-ubuntu kernel: [  158.451338] sd 6:0:0:0: [sdb] Asking for cache data failed
Sep  7 12:28:20 mike-ubuntu kernel: [  158.451348] sd 6:0:0:0: [sdb] Assuming drive cache: write through
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <warn> (wlan0): DHCPv4 request timed out.
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 2201
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <info> (wlan0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <warn> Activation (wlan0) failed for connection 'kaylag2'
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <info> (wlan0): deactivating device (reason 'none') [0]
Sep  7 12:28:22 mike-ubuntu avahi-daemon[864]: Withdrawing address record for fe80::16d6:4dff:fea7:d2e on wlan0.
Sep  7 12:28:22 mike-ubuntu avahi-daemon[864]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::16d6:4dff:fea7:d2e.
Sep  7 12:28:22 mike-ubuntu avahi-daemon[864]: Interface wlan0.IPv6 no longer relevant for mDNS.
Sep  7 12:28:22 mike-ubuntu kernel: [  161.024993] wlan0: deauthenticating from 00:13:10:e1:f9:a2 by local choice (reason=3)
Sep  7 12:28:22 mike-ubuntu wpa_supplicant[906]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
Sep  7 12:28:22 mike-ubuntu kernel: [  161.040777] cfg80211: Calling CRDA to update world regulatory domain
Sep  7 12:28:22 mike-ubuntu NetworkManager[868]: <info> (wlan0): supplicant interface state: completed -> disconnected
Sep  7 12:28:22 mike-ubuntu kernel: [  161.132211] cfg80211: World regulatory domain updated:
Sep  7 12:28:22 mike-ubuntu kernel: [  161.132227] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Sep  7 12:28:22 mike-ubuntu kernel: [  161.132231] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  7 12:28:22 mike-ubuntu kernel: [  161.132234] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Sep  7 12:28:22 mike-ubuntu kernel: [  161.132237] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Sep  7 12:28:22 mike-ubuntu kernel: [  161.132239] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  7 12:28:22 mike-ubuntu kernel: [  161.132242] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep  7 12:28:23 mike-ubuntu avahi-daemon[864]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::16d6:4dff:fea7:d2e.
Sep  7 12:28:23 mike-ubuntu avahi-daemon[864]: New relevant interface wlan0.IPv6 for mDNS.
Sep  7 12:28:23 mike-ubuntu avahi-daemon[864]: Registering new address record for fe80::16d6:4dff:fea7:d2e on wlan0.*.


在我的Inspiron N4010中,sudo tail -f /var/log/syslog显示: 太长而无法包含在注释中
PHP Learner

我在Ubuntu 13.10中使用两个不同的DELL笔记本电脑时遇到类似的问题,一个是Inspiron N4010,另一个是Latitude D630。我注意到这两个笔记本电脑都存在相同的问题,但是问题出在两人使用WiFi连接到网络。<br/>我的笔记本电脑在升级到13.10之前,无线网络没有问题。是否有针对Ubuntu 13.10的所有WiFi问题的最终解决方案?
PHP学习者2014年

Answers:


6

您可以尝试关闭可能会过早断开卡连接的无线省电功能:

sudo iw wlan0 set power_save off

编辑:更多建议...

从您发送的输出中可能是ipv6无法连接

编辑连接>选择您的网络,然后单击编辑> IPV6选项卡>将方法设置为“忽略”

我看过其他与证书有麻烦的人一起讨论的话题: 无线网络中的身份验证

  sudo nano /etc/NetworkManager/system-connections/YOUR-NETWORK-NAME

并注释掉这一行(在前面加上#)system-ca-cert = true

您的USB适配器会出现固件问题吗?您可以尝试通过以太网电缆连接,并通过软件更新程序进行更新。

最后想到的是,只需删除当前连接并重新开始...

让我们知道进展如何


这没有用,您还有其他建议吗?我将输出添加到上述问题中
user190911 2013年

4
在网络上禁用IPv6对我来说解决了这个问题,太好了!为什么这样做会如此失败却十分神秘……
anarcat 2014年

1
iw wlan0 set power_save off为我的Broadcom BCM4313工作
内部人员

2

如我所见,dhclient无法从路由器检索IP。至少是IPv6。因此,尝试将IPv6设置为“忽略”和/或使用IPv6 / IPv4启用/禁用。所有这些都没有帮助我(我有相同的日志)。我手动设置IPv4。首先,我设置随机IP,然后仅连接到路由器。在这里,我没有互联网,但已连接到路由器。然后我将网络映射到路由器IP:nmap 192.168.0.0/23,然后将路由器IP设置为网关。

这并不是针对所有情况的解决方案,但它今晚帮助我连接了酒店的免费Wi-Fi。另外我还必须设置DNS。我使用了Google公共DNS,但您可以设置其他任何DNS。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.