wifi 无法获取 dhcp,但可以通过同一 wifi 路由器上的有线连接获取 dhcp

wifi 无法获取 dhcp,但可以通过同一 wifi 路由器上的有线连接获取 dhcp

我不确定在我新安装的 ubuntu 14.04 上怎么会出现这种情况

$ tail -50 /var/log/syslog 
Oct 17 10:43:47 P45VJ NetworkManager[1119]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
Oct 17 10:43:47 P45VJ dhclient: Listening on LPF/wlan0/6c:71:d9:8b:3e:e5
Oct 17 10:43:47 P45VJ dhclient: Sending on   LPF/wlan0/6c:71:d9:8b:3e:e5
Oct 17 10:43:47 P45VJ dhclient: Sending on   Socket/fallback
Oct 17 10:43:47 P45VJ dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x875cf62f)
Oct 17 10:43:48 P45VJ avahi-daemon[1017]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::6e71:d9ff:fe8b:3ee5.
Oct 17 10:43:48 P45VJ avahi-daemon[1017]: New relevant interface wlan0.IPv6 for mDNS.
Oct 17 10:43:48 P45VJ avahi-daemon[1017]: Registering new address record for fe80::6e71:d9ff:fe8b:3ee5 on wlan0.*.
Oct 17 10:43:50 P45VJ dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x875cf62f)
Oct 17 10:43:53 P45VJ dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 (xid=0x875cf62f)
Oct 17 10:43:57 P45VJ dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 (xid=0x875cf62f)
Oct 17 10:44:05 P45VJ dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 (xid=0x875cf62f)
Oct 17 10:44:08 P45VJ NetworkManager[1119]: <info> (wlan0): IP6 addrconf timed out or failed.
Oct 17 10:44:08 P45VJ NetworkManager[1119]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Oct 17 10:44:08 P45VJ NetworkManager[1119]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Oct 17 10:44:08 P45VJ NetworkManager[1119]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Oct 17 10:44:16 P45VJ dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 (xid=0x875cf62f)
Oct 17 10:44:24 P45VJ dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20 (xid=0x875cf62f)
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <warn> (wlan0): DHCPv4 request timed out.
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 2264
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <info> (wlan0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <info> NetworkManager state is now DISCONNECTED
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <warn> Activation (wlan0) failed for connection 'ROHANI_WIFI'
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <info> (wlan0): deactivating device (reason 'none') [0]
Oct 17 10:44:33 P45VJ avahi-daemon[1017]: Withdrawing address record for fe80::6e71:d9ff:fe8b:3ee5 on wlan0.
Oct 17 10:44:33 P45VJ avahi-daemon[1017]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::6e71:d9ff:fe8b:3ee5.
Oct 17 10:44:33 P45VJ avahi-daemon[1017]: Interface wlan0.IPv6 no longer relevant for mDNS.
Oct 17 10:44:33 P45VJ kernel: [  127.298376] wlan0: deauthenticating from b0:c5:54:ae:f8:f4 by local choice (reason=3)
Oct 17 10:44:33 P45VJ wpa_supplicant[1170]: wlan0: CTRL-EVENT-DISCONNECTED bssid=b0:c5:54:ae:f8:f4 reason=3 locally_generated=1
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <warn> Connection disconnected (reason -3)
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <info> (wlan0): supplicant interface state: completed -> disconnected
Oct 17 10:44:33 P45VJ kernel: [  127.307378] cfg80211: Calling CRDA to update world regulatory domain
Oct 17 10:44:33 P45VJ wpa_supplicant[1170]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 17 10:44:33 P45VJ NetworkManager[1119]: <warn> Connection disconnected (reason -3)
Oct 17 10:44:33 P45VJ kernel: [  127.316586] cfg80211: World regulatory domain updated:
Oct 17 10:44:33 P45VJ kernel: [  127.316590] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 17 10:44:33 P45VJ kernel: [  127.316593] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 17 10:44:33 P45VJ kernel: [  127.316596] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 17 10:44:33 P45VJ kernel: [  127.316597] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 17 10:44:33 P45VJ kernel: [  127.316599] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 17 10:44:33 P45VJ kernel: [  127.316601] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 17 10:44:34 P45VJ avahi-daemon[1017]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::6e71:d9ff:fe8b:3ee5.
Oct 17 10:44:34 P45VJ avahi-daemon[1017]: New relevant interface wlan0.IPv6 for mDNS.
Oct 17 10:44:34 P45VJ avahi-daemon[1017]: Registering new address record for fe80::6e71:d9ff:fe8b:3ee5 on wlan0.*.
Oct 17 10:44:36 P45VJ wpa_supplicant[1170]: wlan0: Reject scan trigger since one is already pending
Oct 17 10:44:59 P45VJ wpa_supplicant[1170]: wlan0: CTRL-EVENT-SCAN-STARTED

答案1

令我非常惊讶的是,在将我的 dlink 路由器上的 wifi 安全更改为 wpa2-tkip 后,我终于能够连接并访问互联网。这绝对是一种奇怪的行为。

相关内容