分页: 1 / 1

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-07-28 22:03
poloshiao
ping -c 3 192.157.242.155
ping -c 3 forum.ubuntu.org.cn
把結果直接複製貼上來

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-07-29 9:26
gaosida
[quote="poloshiao"]ping -c 3 192.157.242.155
ping -c 3 forum.ubuntu.org.cn
把結果直接複製貼上來[/quote]

sida@WhiteCat:~$ ping -c 3 192.157.242.155
PING 192.157.242.155 (192.157.242.155) 56(84) bytes of data.
From 192.168.0.107 icmp_seq=1 Destination Host Unreachable
From 192.168.0.107 icmp_seq=2 Destination Host Unreachable
From 192.168.0.107 icmp_seq=3 Destination Host Unreachable

--- 192.157.242.155 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2015ms
pipe 3
sida@WhiteCat:~$ ping -c 3 forum.ubuntu.org.cn
ping: unknown host forum.ubuntu.org.c

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-07-29 9:27
gaosida
poloshiao 写了:ping -c 3 192.157.242.155
ping -c 3 forum.ubuntu.org.cn
把結果直接複製貼上來
sida@WhiteCat:~$ ping -c 3 192.157.242.155
PING 192.157.242.155 (192.157.242.155) 56(84) bytes of data.
From 192.168.0.107 icmp_seq=1 Destination Host Unreachable
From 192.168.0.107 icmp_seq=2 Destination Host Unreachable
From 192.168.0.107 icmp_seq=3 Destination Host Unreachable

--- 192.157.242.155 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2015ms
pipe 3
sida@WhiteCat:~$ ping -c 3 forum.ubuntu.org.cn
ping: unknown host forum.ubuntu.org.c

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-07-29 11:09
gaosida
poloshiao 写了:ping -c 3 192.157.242.155
ping -c 3 forum.ubuntu.org.cn
把結果直接複製貼上來
sida@WhiteCat:~$ ping -c 3 192.157.242.155
PING 192.157.242.155 (192.157.242.155) 56(84) bytes of data.
From 192.168.0.107 icmp_seq=1 Destination Host Unreachable
From 192.168.0.107 icmp_seq=2 Destination Host Unreachable
From 192.168.0.107 icmp_seq=3 Destination Host Unreachable

--- 192.157.242.155 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2015ms
pipe 3
sida@WhiteCat:~$ ping -c 3 forum.ubuntu.org.cn
ping: unknown host forum.ubuntu.org.c

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-07-29 14:01
poloshiao
ping -c 3 192.157.242.155
PING 192.157.242.155 (192.157.242.155) 56(84) bytes of data.
表示 你的網路 可能還不通 網際網路
ping -c 3 forum.ubuntu.org.cn
ping: unknown host forum.ubuntu.org.cn
表示你的 dns 可能還有問題

把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
3. sudo route -nv
4. sudo rfkill list all
5. sudo dhclient -v
6. sudo iwlist scan
7. sudo ls -al /etc/resolv.conf
8. sudo cat /run/resolvconf/resolv.conf
把結果直接複製 貼上來

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-08-05 14:11
gaosida
poloshiao 写了:
ping -c 3 192.157.242.155
PING 192.157.242.155 (192.157.242.155) 56(84) bytes of data.
表示 你的網路 可能還不通 網際網路
ping -c 3 forum.ubuntu.org.cn
ping: unknown host forum.ubuntu.org.cn
表示你的 dns 可能還有問題

把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
3. sudo route -nv
4. sudo rfkill list all
5. sudo dhclient -v
6. sudo iwlist scan
7. sudo ls -al /etc/resolv.conf
8. sudo cat /run/resolvconf/resolv.conf
把結果直接複製 貼上來

sida@WhiteCat:~$ uname -r
3.13.0-24-generic
sida@WhiteCat:~$ sudo lshw -numeric -class network
[sudo] password for sida:


*-network
description: Wireless interface
product: BCM4313 802.11bgn Wireless Network Adapter [14E4:4727]
vendor: Broadcom Corporation [14E4]
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 01
serial: e4:d5:3d:78:b6:2f
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=6.30.223.141 (r415941) ip=192.168.0.108 latency=0 multicast=yes wireless=IEEE 802.11abg
resources: irq:16 memory:f0200000-f0203fff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:07:00.0
logical name: eth0
version: 06
serial: ec:9a:74:43:d0:e5
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:41 ioport:2000(size=256) memory:f0104000-f0104fff memory:f0100000-f0103fff
sida@WhiteCat:~$
sida@WhiteCat:~$
sida@WhiteCat:~$ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr ec:9a:74:43:d0:e5
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:301 errors:0 dropped:0 overruns:0 frame:0
TX packets:301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22647 (22.6 KB) TX bytes:22647 (22.6 KB)

wlan0 Link encap:Ethernet HWaddr e4:d5:3d:78:b6:2f
inet addr:192.168.0.108 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::e6d5:3dff:fe78:b62f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:1322
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9159 (9.1 KB) TX bytes:21667 (21.6 KB)
Interrupt:16

sida@WhiteCat:~$ sudo route -nv
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
sida@WhiteCat:~$ sudo rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
3: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
4: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
sida@WhiteCat:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/e4:d5:3d:78:b6:2f
Sending on LPF/wlan0/e4:d5:3d:78:b6:2f
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x2093a1e4)
DHCPREQUEST of 192.168.0.108 on wlan0 to 255.255.255.255 port 67 (xid=0x2093a1e4)
DHCPOFFER of 192.168.0.108 from 192.168.0.1
DHCPACK of 192.168.0.108 from 192.168.0.1
RTNETLINK answers: File exists
bound to 192.168.0.108 -- renewal in 34975 seconds.
sida@WhiteCat:~$ sudo iwlist scan
eth0 Interface doesn't support scanning.

lo Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: C8:D3:A3:32:E3:FA
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=48/70 Signal level=-62 dBm
Encryption key:on
ESSID:"dlink"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 16ms ago
IE: Unknown: 0005646C696E6B
IE: Unknown: 010882848B960C121824
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1A6E181EFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1601051100000000000000000000000000000000000000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: DD870050F204104A0001101044000102103B0001031047001063041253101920061228C8D3A332E3FA1021000E442D4C696E6B2053797374656D73102300074449522D363138102400074449522D3631381042000D32303037303431332D303030311054000800060050F2040001101100074449522D3631381008000226881049000600372A000120
IE: Unknown: DD1E00904C336E181EFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3401051100000000000000000000000000000000000000
IE: Unknown: DD0600E04C020160
Cell 02 - Address: C8:3A:35:3F:1E:80
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=23/70 Signal level=-87 dBm
Encryption key:on
ESSID:"Tenda_3F1E80"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 20328ms ago
IE: Unknown: 000C54656E64615F334631453830
IE: Unknown: 010882840B162430486C
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: Unknown: 32040C121860
IE: Unknown: 2D1AFE181BFFFF000001000000000000000000000000000000000000
IE: Unknown: 3D16010D0000000000000000000000000000000000000000
IE: Unknown: DD090010180200F02C0000
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
Cell 03 - Address: 0C:72:2C:75:A0:76
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=20/70 Signal level=-90 dBm
Encryption key:on
ESSID:"TP-LINK_1001"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 16ms ago
IE: Unknown: 000C54502D4C494E4B5F31303031
IE: Unknown: 010882848B960C121824
IE: Unknown: 03010B
IE: Unknown: 050400010000
IE: Unknown: 0706434E20010D14
IE: Unknown: 2A0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32043048606C
IE: Unknown: 2D1AEF111BFFFFFF00000000000000000000000000000406E6E70D00
IE: Unknown: 3D160B071500000000000000000000000000000000000000
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101850003A4000027A4000042435E0062322F00
IE: Unknown: DD0900037F01010000FF7F
IE: Unknown: DD260050F204104A0001101044000102104900140024E26002000101600000020001600100020001

sida@WhiteCat:~$ sudo ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Jul 27 08:21 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
sida@WhiteCat:~$ sudo cat /run/resolvconf/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.0.1
nameserver 127.0.1.1

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-08-05 15:09
gaosida
sida@WhiteCat:~$ uname -r
3.13.0-24-generic
sida@WhiteCat:~$ sudo lshw -numeric -class network
[sudo] password for sida:


*-network
description: Wireless interface
product: BCM4313 802.11bgn Wireless Network Adapter [14E4:4727]
vendor: Broadcom Corporation [14E4]
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 01
serial: e4:d5:3d:78:b6:2f
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=6.30.223.141 (r415941) ip=192.168.0.108 latency=0 multicast=yes wireless=IEEE 802.11abg
resources: irq:16 memory:f0200000-f0203fff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:07:00.0
logical name: eth0
version: 06
serial: ec:9a:74:43:d0:e5
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:41 ioport:2000(size=256) memory:f0104000-f0104fff memory:f0100000-f0103fff
sida@WhiteCat:~$
sida@WhiteCat:~$
sida@WhiteCat:~$ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr ec:9a:74:43:d0:e5
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:301 errors:0 dropped:0 overruns:0 frame:0
TX packets:301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22647 (22.6 KB) TX bytes:22647 (22.6 KB)

wlan0 Link encap:Ethernet HWaddr e4:d5:3d:78:b6:2f
inet addr:192.168.0.108 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::e6d5:3dff:fe78:b62f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:1322
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9159 (9.1 KB) TX bytes:21667 (21.6 KB)
Interrupt:16

sida@WhiteCat:~$ sudo route -nv
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
sida@WhiteCat:~$ sudo rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
3: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
4: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
sida@WhiteCat:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/e4:d5:3d:78:b6:2f
Sending on LPF/wlan0/e4:d5:3d:78:b6:2f
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x2093a1e4)
DHCPREQUEST of 192.168.0.108 on wlan0 to 255.255.255.255 port 67 (xid=0x2093a1e4)
DHCPOFFER of 192.168.0.108 from 192.168.0.1
DHCPACK of 192.168.0.108 from 192.168.0.1
RTNETLINK answers: File exists
bound to 192.168.0.108 -- renewal in 34975 seconds.
sida@WhiteCat:~$ sudo iwlist scan
eth0 Interface doesn't support scanning.

lo Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: C8:D3:A3:32:E3:FA
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=48/70 Signal level=-62 dBm
Encryption key:on
ESSID:"dlink"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 16ms ago
IE: Unknown: 0005646C696E6B
IE: Unknown: 010882848B960C121824
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1A6E181EFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1601051100000000000000000000000000000000000000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: DD870050F204104A0001101044000102103B0001031047001063041253101920061228C8D3A332E3FA1021000E442D4C696E6B2053797374656D73102300074449522D363138102400074449522D3631381042000D32303037303431332D303030311054000800060050F2040001101100074449522D3631381008000226881049000600372A000120
IE: Unknown: DD1E00904C336E181EFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3401051100000000000000000000000000000000000000
IE: Unknown: DD0600E04C020160
Cell 02 - Address: C8:3A:35:3F:1E:80
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=23/70 Signal level=-87 dBm
Encryption key:on
ESSID:"Tenda_3F1E80"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 20328ms ago
IE: Unknown: 000C54656E64615F334631453830
IE: Unknown: 010882840B162430486C
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: Unknown: 32040C121860
IE: Unknown: 2D1AFE181BFFFF000001000000000000000000000000000000000000
IE: Unknown: 3D16010D0000000000000000000000000000000000000000
IE: Unknown: DD090010180200F02C0000
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
Cell 03 - Address: 0C:72:2C:75:A0:76
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=20/70 Signal level=-90 dBm
Encryption key:on
ESSID:"TP-LINK_1001"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 16ms ago
IE: Unknown: 000C54502D4C494E4B5F31303031
IE: Unknown: 010882848B960C121824
IE: Unknown: 03010B
IE: Unknown: 050400010000
IE: Unknown: 0706434E20010D14
IE: Unknown: 2A0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32043048606C
IE: Unknown: 2D1AEF111BFFFFFF00000000000000000000000000000406E6E70D00
IE: Unknown: 3D160B071500000000000000000000000000000000000000
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101850003A4000027A4000042435E0062322F00
IE: Unknown: DD0900037F01010000FF7F
IE: Unknown: DD260050F204104A0001101044000102104900140024E26002000101600000020001600100020001

sida@WhiteCat:~$ sudo ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Jul 27 08:21 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
sida@WhiteCat:~$ sudo cat /run/resolvconf/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.0.1
nameserver 127.0.1.1

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-08-06 8:22
poloshiao
product: BCM4313 802.11bgn Wireless Network Adapter [14E4:4727]
configuration: broadcast=yes driver=wl0 ...
這個閉源驅動 wl0 可能有問題
試試參考這一篇以及其後面貼文的解決方法 看看能否幫你
viewtopic.php?p=3097071#p3097071

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-08-06 10:07
gaosida
poloshiao 写了:
product: BCM4313 802.11bgn Wireless Network Adapter [14E4:4727]
configuration: broadcast=yes driver=wl0 ...
這個閉源驅動 wl0 可能有問題
試試參考這一篇以及其後面貼文的解決方法 看看能否幫你
viewtopic.php?p=3097071#p3097071

我看了一下 还是不太懂啊 :em20 能稍微讲解下嘛 谢啦!!!!

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-08-06 10:19
poloshiao
稍微讲解下
參考這一篇
viewtopic.php?p=3097257#p3097257

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-08-06 11:55
gaosida
poloshiao 写了:
稍微讲解下
參考這一篇
viewtopic.php?p=3097257#p3097257
我试着弄了一下 用了这些

sudo modprobe -r b43 bcma
sudo modprobe -r brcmsmac bcma
sudo modprobe -r wl
sudo modprobe brcmsmac

结果现在wifi都连接不上了 下面是现在的结果


sida@WhiteCat:~$ uname -r
3.13.0-24-generic
sida@WhiteCat:~$ sudo lshw -numeric -class network
*-network
description: Network controller
product: BCM4313 802.11bgn Wireless Network Adapter [14E4:4727]
vendor: Broadcom Corporation [14E4]
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=bcma-pci-bridge latency=0
resources: irq:16 memory:f0200000-f0203fff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:07:00.0
logical name: eth0
version: 06
serial: ec:9a:74:43:d0:e5
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:41 ioport:2000(size=256) memory:f0104000-f0104fff memory:f0100000-f0103fff
*-network
description: Wireless interface
physical id: 2
logical name: wlan0
serial: e4:d5:3d:78:b6:2f
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=brcmsmac driverversion=3.13.0-24-generic firmware=610.812 link=no multicast=yes wireless=IEEE 802.11bgn

sida@WhiteCat:~$ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr ec:9a:74:43:d0:e5
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:341 errors:0 dropped:0 overruns:0 frame:0
TX packets:341 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24317 (24.3 KB) TX bytes:24317 (24.3 KB)

wlan0 Link encap:Ethernet HWaddr e4:d5:3d:78:b6:2f
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sida@WhiteCat:~$ sudo route -nv
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
sida@WhiteCat:~$ sudo rfkill list all
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
3: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
4: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
7: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
sida@WhiteCat:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

No broadcast interfaces found - exiting.
sida@WhiteCat:~$ sudo iwlist scan
eth0 Interface doesn't support scanning.

lo Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: C8:D3:A3:32:E3:FA
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=65/70 Signal level=-45 dBm
Encryption key:on
ESSID:"dlink"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000a699ceedb
Extra: Last beacon: 16ms ago
IE: Unknown: 0005646C696E6B
IE: Unknown: 010882848B960C121824
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1A6E181EFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1601051100000000000000000000000000000000000000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: DD870050F204104A0001101044000102103B0001031047001063041253101920061228C8D3A332E3FA1021000E442D4C696E6B2053797374656D73102300074449522D363138102400074449522D3631381042000D32303037303431332D303030311054000800060050F2040001101100074449522D3631381008000226881049000600372A000120
IE: Unknown: DD1E00904C336E181EFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3401051100000000000000000000000000000000000000
IE: Unknown: DD0600E04C020160
Cell 02 - Address: C8:3A:35:3F:1E:80
Channel:5
Frequency:2.432 GHz (Channel 5)
Quality=34/70 Signal level=-76 dBm
Encryption key:on
ESSID:"Tenda_3F1E80"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000000453eb70e49
Extra: Last beacon: 16ms ago
IE: Unknown: 000C54656E64615F334631453830
IE: Unknown: 010882840B162430486C
IE: Unknown: 030105
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: Unknown: 32040C121860
IE: Unknown: 2D1AFE181BFFFF000001000000000000000000000000000000000000
IE: Unknown: 3D16050F0000000000000000000000000000000000000000
IE: Unknown: DD090010180200F02C0000
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
Cell 03 - Address: 1C:FA:68:05:AB:82
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=26/70 Signal level=-84 dBm
Encryption key:on
ESSID:"TP-LINK"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000a9663ab180
Extra: Last beacon: 524ms ago
IE: Unknown: 000754502D4C494E4B
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: Unknown: 050400010000
IE: Unknown: 200100
IE: Unknown: 2A0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32043048606C
IE: Unknown: 2D1A6E1003FFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606051100000000000000000000000000000000000000
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101030003A4000027A4000042435E0062322F00
IE: Unknown: DD0900037F01010000FF7F
IE: Unknown: DD0E0050F204104A0001101044000102
Cell 04 - Address: E0:05:C5:B3:84:74
Channel:8
Frequency:2.447 GHz (Channel 8)
Quality=27/70 Signal level=-83 dBm
Encryption key:on
ESSID:"TP-LINK_B38474"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s
Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000436025181
Extra: Last beacon: 424ms ago
IE: Unknown: 000E54502D4C494E4B5F423338343734
IE: Unknown: 010882848B960C183048
IE: Unknown: 030108
IE: Unknown: 050400010000
IE: Unknown: 2A0100
IE: Unknown: 32041224606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Preauthentication Supported
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD0900037F01010008FF7F
IE: Unknown: DD1A00037F0301000000E005C5B38474E205C5B3847464002C010808

sida@WhiteCat:~$ sudo ls -al /etc/resolve.conf
ls: cannot access /etc/resolve.conf: No such file or directory
sida@WhiteCat:~$ sudo ls -al /etc/resolvee.conf
ls: cannot access /etc/resolvee.conf: No such file or directory
sida@WhiteCat:~$ sudo ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Jul 27 20:21 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
sida@WhiteCat:~$ sudo cat /run/resolvconf/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-08-06 13:38
poloshiao
product: BCM4313 802.11bgn Wireless Network Adapter [14E4:4727]
configuration: driver=bcma-pci-bridge latency=0
description: Wireless interface
configuration: broadcast=yes driver=brcmsmac driverversion=3.13.0-24-generic firmware=610.812 link=no multicast=yes wireless=IEEE 802.11bgn
一個無線網卡 兩個驅動 bcma-pci-bridge / brcmsmac 爭著要驅動同一個網卡 ? 兩個都沒有成功 ?
把 bcma-pci-bridge 列入載入黑名單 再重新開機看看
lsmod | grep bcma-pci-bridge
不能有
lsmod | grep brcmsmac
應該有
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
configuration: autonegotiation=on broadcast=yes driver=r8169 ...
這個驅動 r8169 不是合宜的 RTL8111/8168/8411 驅動

建議 先從 Bios 把它關閉 或 從 NM-Applet 設定連線的地方 把自動連線打勾取消
等無線網卡的問題解決了 再來處理有線網卡

Re: Ubuntu14.04能连接wifi但是打不开网页

发表于 : 2014-08-07 16:41
gaosida
poloshiao 写了:
product: BCM4313 802.11bgn Wireless Network Adapter [14E4:4727]
configuration: driver=bcma-pci-bridge latency=0
description: Wireless interface
configuration: broadcast=yes driver=brcmsmac driverversion=3.13.0-24-generic firmware=610.812 link=no multicast=yes wireless=IEEE 802.11bgn
一個無線網卡 兩個驅動 bcma-pci-bridge / brcmsmac 爭著要驅動同一個網卡 ? 兩個都沒有成功 ?
把 bcma-pci-bridge 列入載入黑名單 再重新開機看看
lsmod | grep bcma-pci-bridge
不能有
lsmod | grep brcmsmac
應該有
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
configuration: autonegotiation=on broadcast=yes driver=r8169 ...
這個驅動 r8169 不是合宜的 RTL8111/8168/8411 驅動

建議 先從 Bios 把它關閉 或 從 NM-Applet 設定連線的地方 把自動連線打勾取消
等無線網卡的問題解決了 再來處理有線網卡

关了一次机 然后就好了!!谢谢了!