分页: 1 / 1

[求助]ubuntu 14.04网卡显示已连接,却无法上网

发表于 : 2016-07-15 17:04
QuantumPlus
折腾了好久都不行,右上角的网络连接显示已经连接上了,但是却仍然无法上网

一开始按照这里的指示做了:http://www.baidu.com/link?url=fXrPRK94h ... 025788a6ab

一开始可以上网,后来突然又不行了,然后再怎么弄都不行

弄了一个USB接口的网卡,这个能上网,但是主板上的网卡一直不行。。。。

什么问题????

Re: [求助]ubuntu 14.04网卡显示已连接,却无法上网

发表于 : 2016-07-15 19:05
vickycq
QuantumPlus 写了:但是主板上的网卡一直不行。。。。????
在“网卡显示已连接,却无法上网”的情况下,执行以下命令将结果全部复制贴上来

代码: 全选

uname -a
lspci -knn | grep -iA2 net
sudo lshw -C net
sudo ifconfig -a
sudo route -nv
sudo cat /etc/resolv.conf
ping -c3 114.114.114.114
ping -c3 www.jd.com

Re: [求助]ubuntu 14.04网卡显示已连接,却无法上网

发表于 : 2016-07-15 20:01
QuantumPlus
谢谢楼上

刚刚发帖子,发现还要审核,因为比较着急,也不知道这个帖子猴年马月能审核完,所以刚才把系统重做了,但是还是谢谢。

下次再遇到这种问题再说

Re: [求助]ubuntu 14.04网卡显示已连接,却无法上网

发表于 : 2016-07-15 20:15
qy117121
审核帖子嘛,看版主在线情况了,而现在好多版主都来的少了
我虽然算是比较闲吧,但有时一天也只来看2,3次

Re: [求助]ubuntu 14.04网卡显示已连接,却无法上网

发表于 : 2016-07-19 11:08
QuantumPlus
今天又不能上网了,怎么回事?重启之后就上不了网了

Re: [求助]ubuntu 14.04网卡显示已连接,却无法上网

发表于 : 2016-07-19 11:08
QuantumPlus
下面是执行结果:

Linux T7810-2 3.19.0-65-generic #73~14.04.1-Ubuntu SMP Wed Jun 29 21:05:22 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 05)
Subsystem: Dell Device [1028:0618]
Kernel driver in use: e1000e
*-network
description: Ethernet interface
product: Ethernet Connection I217-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 05
serial: 64:00:6a:8a:57:54
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k duplex=full firmware=0.13-4 ip=192.168.111.133 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:29 memory:fb100000-fb11ffff memory:fb139000-fb139fff ioport:f020(size=32)
eth0 Link encap:Ethernet HWaddr 64:00:6a:8a:57:54
inet addr:192.168.111.133 Bcast:192.168.111.255 Mask:255.255.255.0
inet6 addr: fe80::6600:6aff:fe8a:5754/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13533 errors:1 dropped:3 overruns:0 frame:1
TX packets:346 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2163491 (2.1 MB) TX bytes:32600 (32.6 KB)
Interrupt:20 Memory:fb100000-fb120000

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:1354 errors:0 dropped:0 overruns:0 frame:0
TX packets:1354 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:106479 (106.4 KB) TX bytes:106479 (106.4 KB)

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.111.1 0.0.0.0 UG 0 0 0 eth0
192.168.111.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
# 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 127.0.1.1
PING 114.114.114.114 (114.114.114.114) 56(84) bytes of data.
From 192.168.111.133 icmp_seq=1 Destination Host Unreachable
From 192.168.111.133 icmp_seq=2 Destination Host Unreachable
From 192.168.111.133 icmp_seq=3 Destination Host Unreachable

--- 114.114.114.114 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2008ms
pipe 2

Re: [求助]ubuntu 14.04网卡显示已连接,却无法上网

发表于 : 2016-07-19 14:40
vickycq
QuantumPlus 写了: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 05)
是双系统么?
I217-LM 在双系统下容易出现此类问题
两例:
viewtopic.php?f=116&t=473460
viewtopic.php?f=116&t=473485
主板的某些功能会使网卡无法彻底断电,从而使Windows 驱动和 Linux 驱动的设置相互影响。
vickycq 写了: 双系统网卡设置相互影响的问题,有用户报告关闭主板的网络唤醒功能 (WoL, Wake-on-LAN) 可缓解。
poloshiao 写了: 3. 雙系統 或 多重系統 開機
最好把所有關機還耗用電源的設定 全部排除
否則問題可能一大堆
LaoAnchor 写了: 的确是双系统网卡设置相互影响的问题,在windows和主板上关闭网络唤醒功能后,回到UBUNTU有线联网功能就正常了。
需要在 BIOS 和 Windows 驱动中都设置关闭网络唤醒(WoL, Wake-on-LAN)一类功能

参考
https://bbs.archlinux.org/viewtopic.php?id=191981
https://bbs.archlinux.org/viewtopic.php ... 7#p1491387

Re: [求助]ubuntu 14.04网卡显示已连接,却无法上网

发表于 : 2016-07-21 9:23
QuantumPlus
谢谢楼上的各位

的确是双系统,一个win7,一个ubuntu。一开始安装系统之后能上网,过了1天之后就上不了啦,怎么都不行。我按照大家给的解决方案调整一下,谢谢!

Re: [求助]ubuntu 14.04网卡显示已连接,却无法上网

发表于 : 2016-08-19 15:51
vpnsubmit
下次再遇到这种问题再说
nungr