为什么设置双启动后以太网不工作?

为什么设置双启动后以太网不工作?

因此,我一直在台式机的单独 SSD 上设置 Ubuntu 14.04,以进行一些机器学习开发。每当我启动另一个时,我都会手动断开 Win10 端或 Linux 端的连接,但我最近更新了 grub,以便能够更方便地进行双启动。

启动 Windows 并返回 ubuntu 后,我开始遇到以太网连接问题,甚至以太网现在根本无法工作,而且 wifi 也时断时续。

以下是一些输出:

ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:1f:bc:11:c6:54  
          inet6 addr: fe80::21f:bcff:fe11:c654/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:367 errors:0 dropped:0 overruns:0 frame:0
          TX packets:400 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:73157 (73.1 KB)  TX bytes:80690 (80.6 KB)
          Interrupt:20 Memory:fb200000-fb220000 

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

wlan0     Link encap:Ethernet  HWaddr 74:da:38:56:1d:d0  
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::76da:38ff:fe56:1dd0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:81002 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45507 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:117394416 (117.3 MB)  TX bytes:4299198 (4.2 MB)

linux - linux系统grep 以太网:

00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2)     I218-V (rev 05)

网络管理器.conf:

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

no-auto-default=00:1F:BC:11:C6:54,

[ifupdown]
managed=true

在 /etc/网络/接口:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

sudo ethtool eth0:

    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Full 
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Speed: 1000Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 1
    Transceiver: internal
    Auto-negotiation: on
    MDI-X: off (auto)
    Supports Wake-on: pumbg
    Wake-on: g
    Current message level: 0x00000007 (7)
                   drv probe link
    Link detected: yes

sudo /etc/dhclient:

sudo: /etc/dhclient: command not found

似乎有很多这样的帖子,我已经浏览了 Google 上出现的前六篇帖子。此外,第一次发生这种情况时,将 NetworkManager.conf 行从“managed=false”更改为“true”可以完美解决此问题。在启动 Windows 并返回 ubuntu 后,情况似乎变得更糟。

哦,现在我启动时还会收到多个“检测到系统软件问题”消息。

谢谢你的帮助!

相关内容