<已解决>双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
LaoAnchor
帖子: 4
注册时间: 2015-10-24 13:29
系统: ubuntu 14.04 LTS

<已解决>双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#1

帖子 LaoAnchor » 2015-10-24 14:06

本机为台式机,只有有线联网,连的路由,即插即用那种。
以前看教程尝试过重新安装网卡驱动(驱动来自inter官网额e1000e),但仍然失败。而且重启时出现各种错误,例如lshw无法识别一类的。
现在系统刚重装,未做任何改动,下面是相关问题需要的一些信息。麻烦大神们帮忙分析解决问题了,谢谢。
在线等
-----------------------已解决方案-----------------
经@poloshiiao和@vickycq帮忙分析,的确是双系统网卡设置相互影响的问题,在windows和主板上关闭网络唤醒功能后,回到UBUNTU有线联网功能就正常了。
再次感谢@poloshiao和@vickycq等活跃在论坛帮助大家分析解决问题的大神前辈们,谢谢你们!
------------------------已解决方案----------------
uname -r
3.16.0-30-generic

sudo lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: hsw_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
Kernel driver in use: pcieport
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: mei_me
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4)
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Q87 Express LPC Controller [8086:8c4e] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
Subsystem: Dell Device [1028:05a4]
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos XTX [Radeon HD 8490 / R5 235X OEM] [1002:6771]
Subsystem: Dell Device [1028:2120]
Kernel driver in use: radeon
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series] [1002:aa98]
Subsystem: Dell Device [1028:aa98]
Kernel driver in use: snd_hda_intel
03:00.0 PCI bridge [0604]: Texas Instruments XIO2001 PCI Express-to-PCI Bridge [104c:8240]

sudo lshw -numeric -class network
*-network
description: Ethernet interface
product: Ethernet Connection I217-LM [8086:153A]
vendor: Intel Corporation [8086]
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 04
serial: 34:17:eb:df:3d:9f
size: 100Mbit/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 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:46 memory:f7f00000-f7f1ffff memory:f7f39000-f7f39fff ioport:f040(size=32)

sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 34:17:eb:df:3d:9f
inet6 地址: fe80::3617:ebff:fedf:3d9f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:5354 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:279 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:363521 (363.5 KB) 发送字节:54987 (54.9 KB)
中断:20 Memory:f7f00000-f7f20000

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:96 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:96 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:7632 (7.6 KB) 发送字节:7632 (7.6 KB)

sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口

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.

sudo cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

sudo ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 29 10月 25 05:10 /etc/resolv.conf -> ../run/resolvconf/resolv.conf

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
上次由 LaoAnchor 在 2015-10-24 21:13,总共编辑 2 次。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#2

帖子 poloshiao » 2015-10-24 14:50

把下面指令 複製 貼進終端機 執行
sudo apt-get remove --purge resolvconf
sudo reboot
重新試試 上面的指令
LaoAnchor
帖子: 4
注册时间: 2015-10-24 13:29
系统: ubuntu 14.04 LTS

Re: 双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#3

帖子 LaoAnchor » 2015-10-24 15:19

poloshiao 写了:把下面指令 複製 貼進終端機 執行
sudo apt-get remove --purge resolvconf
sudo reboot
重新試試 上面的指令
----------------------------------------------------------------------

uname -r
3.16.0-30-generic

sudo lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: hsw_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
Kernel driver in use: pcieport
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: mei_me
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4)
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Q87 Express LPC Controller [8086:8c4e] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 04)
Subsystem: Dell Device [1028:05a4]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
Subsystem: Dell Device [1028:05a4]
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos XTX [Radeon HD 8490 / R5 235X OEM] [1002:6771]
Subsystem: Dell Device [1028:2120]
Kernel driver in use: radeon
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series] [1002:aa98]
Subsystem: Dell Device [1028:aa98]
Kernel driver in use: snd_hda_intel
03:00.0 PCI bridge [0604]: Texas Instruments XIO2001 PCI Express-to-PCI Bridge [104c:8240]

sudo lshw -numeric -class network
出现PCI字符又变成SCSI,然后消失什么都没输出,接着系统出现
system program problem detected(上次重装e1000e网卡驱动也是出现在这问题)

sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 34:17:eb:df:3d:9f
inet6 地址: fe80::3617:ebff:fedf:3d9f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:1737 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:126 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:126663 (126.6 KB) 发送字节:25043 (25.0 KB)
中断:20 Memory:f7f00000-f7f20000

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:155 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:155 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:11025 (11.0 KB) 发送字节:11025 (11.0 KB)

sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口

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.

sudo cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
nationalflag@nationalflag:~$ sudo ls -al /etc/resolv.conf
ls: 无法访问/etc/resolv.conf: 没有那个文件或目录
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#4

帖子 poloshiao » 2015-10-24 16:31

sudo ls -al /etc/resolv.conf
ls: 无法访问/etc/resolv.conf: 没有那个文件或目录
1. 把下面指令 複製 貼進終端機 執行
sudo apt-get install --reinstall resolvconf network-manager network-manager-gnome
sudo reboot
1-1. 再把下面指令 複製 貼進終端機 執行
sudo nmcli dev status eth0
把結果直接 選取/複製/貼上來

2. 補充
猜測 你的問題可能在於
2-1. 網路有關套件崩潰
所以剛剛測試
2-2. 有線網卡設定
等一下測試
LaoAnchor
帖子: 4
注册时间: 2015-10-24 13:29
系统: ubuntu 14.04 LTS

Re: 双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#5

帖子 LaoAnchor » 2015-10-24 16:41

poloshiao 写了:
sudo ls -al /etc/resolv.conf
ls: 无法访问/etc/resolv.conf: 没有那个文件或目录
1. 把下面指令 複製 貼進終端機 執行
sudo apt-get install --reinstall resolvconf network-manager network-manager-gnome
sudo reboot
1-1. 再把下面指令 複製 貼進終端機 執行
sudo nmcli dev status eth0
把結果直接 選取/複製/貼上來

2. 補充
猜測 你的問題可能在於
2-1. 網路有關套件崩潰
所以剛剛測試
2-2. 有線網卡設定
等一下測試
---------------------------------------
木有网,已经没有resolvconf的安装包了~~是不是要重新要下一个
PS:以前是可以上网的,但win8.1更新win10后也不能上网,于是在win10下载更新了网卡驱动,然后ubuntu也不能连网了,不知道是不是影响了网卡的配置。
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#6

帖子 vickycq » 2015-10-24 17:47

以前是可以上网的,但win8.1更新win10后也不能上网,于是在win10下载更新了网卡驱动,然后ubuntu也不能连网了,不知道是不是影响了网卡的配置。
双系统网卡设置相互影响的问题,有用户报告关闭主板的网络唤醒功能 (WoL, Wake-on-LAN) 可缓解。

不妨尝试一下。

参考 https://bbs.archlinux.org/viewtopic.php?id=191981
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#7

帖子 poloshiao » 2015-10-24 20:50

已经没有resolvconf的安装包了
1. 把下面指令 複製 貼進終端機 執行
sudo ls -al /var/cache/apt/archives | grep resolvconf
看看 有沒有 resolvconf_1.69ubuntu1_all.deb
如果有
sudo dpkg -i /var/cache/apt/archives/resolvconf_1.69ubuntu1_all.deb
安裝 resolvconf

2. 如果沒有 resolvconf_1.69ubuntu1_all.deb
從任何一個可以上網的電腦
到這個網頁
http://packages.ubuntu.com/trusty/all/r ... f/download
任選一個下載伺服器 下載
resolvconf_1.69ubuntu1_all.deb
然後複製到這一台電腦
使用
sudo dpkg -i resolvconf_1.69ubuntu1_all.deb
安裝 resolvconf

2-1. 也可以到這個網頁
http://packages.ubuntu.com/trusty-updat ... f/download
任選一個下載伺服器 下載
resolvconf_1.69ubuntu1.1_all.deb
然後複製到這一台電腦
使用
sudo dpkg -i resolvconf_1.69ubuntu1.1_all.deb
安裝 resolvconf
双系统,win10和ubuntu14.04LTS
双系统网卡设置相互影响的问题,有用户报告关闭主板的网络唤醒功能 (WoL, Wake-on-LAN) 可缓解。
3. 雙系統 或 多重系統 開機
最好把所有關機還耗用電源的設定 全部排除
否則問題可能一大堆
LaoAnchor
帖子: 4
注册时间: 2015-10-24 13:29
系统: ubuntu 14.04 LTS

Re: 双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#8

帖子 LaoAnchor » 2015-10-24 21:04

双系统网卡设置相互影响的问题,有用户报告关闭主板的网络唤醒功能 (WoL, Wake-on-LAN) 可缓解。
3. 雙系統 或 多重系統 開機
最好把所有關機還耗用電源的設定 全部排除
否則問題可能一大堆
----------------------------------已解决---------------------------------------------------
感谢两位大神到帮忙,最终在关闭windows和主板的网络唤醒功能之后,再重启回到ubuntu就能联网了。
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#9

帖子 vickycq » 2015-10-25 10:08

poloshiao 写了: 3. 雙系統 或 多重系統 開機
最好把所有關機還耗用電源的設定 全部排除
否則問題可能一大堆
正解 还包括 PCI-E唤醒 和 PXE 等等等等

参考 https://bbs.archlinux.org/viewtopic.php ... 7#p1491387
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
359531967
帖子: 1
注册时间: 2016-04-21 12:44
系统: windows

Re: <已解决>双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#10

帖子 359531967 » 2016-04-21 12:48

你好,我的问题和你一样,请问你是怎么设置的网络唤醒功能的,在windows10里,是那个magic packet吗?我禁用了还是不可以
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: <已解决>双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#11

帖子 vickycq » 2016-04-21 14:58

359531967 写了:你好,我的问题和你一样,请问你是怎么设置的网络唤醒功能的,在windows10里,是那个magic packet吗?我禁用了还是不可以
先在 BIOS 中关闭
需要先安装 Intel 专有驱动,再在 Intel 专有驱动设置程序中设置 如图
voOsrOJ.png
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
jason730730
帖子: 2
注册时间: 2016-08-12 8:37
系统: ubuntu 16.04

Re: <已解决>双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#12

帖子 jason730730 » 2016-08-12 8:39

特意注册帐号表示感谢,对于初学者来说,这个问题困扰了我两周了,安装了各个版本无数次,今天早上终于用这个方法解决了,感谢各位大神!
Findxiaoxun
帖子: 7
注册时间: 2013-02-18 12:23
系统: Ubuntu 14.04

Re: <已解决>双系统,win10和ubuntu14.04LTS,win有线网正常,ubuntu有线网连不上

#13

帖子 Findxiaoxun » 2016-12-07 22:31

尝试了下上面的方法,不管用。
然后别人告诉了我一个屡试不爽的办法:
关机,拔掉机箱电源,然后重新插上开机,进入linux,就ok了!
猜测因为网卡一直通电,一直在发送心跳包给网关。
回复