最近安装了 ubuntu 14.04,但有线连接时出现问题

最近安装了 ubuntu 14.04,但有线连接时出现问题

我一直试图通过其他问题中的其他解决方案来解决我的问题,但一直没有奏效。我有点像 Linux 菜鸟,但我知道我的系统正在识别连接,但由于某种原因无法连接。每当我的系统启动时,它都会尝试连接,但随后失败,并继续尝试。我以前在 Windows 上没有遇到过这个问题。我担心这可能是驱动程序问题,但不确定。

一些输出:

sudo ethtool eth0:

Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half10baseT/Full
                                100baseT/Half100 baseT/Full
                                1000baseT/Half1000 baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link nodes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Half 1000baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes

sudo lshw -C 网络:

*-network
     description: Ethernet interface
     product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
     vendor: Realtek Semiconductor Co., Ltd.
     physical id: 0
     bus info: pci@0000:03:00.0
     logical name: eth0
     version: 06
     serial: fc:aa:14:0e:87:13
     size: 1Gbit/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=full firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
     resources: irq:29 ioport:d000(size=256) memory:fe100000-fe100fff memory:d2100000-d2103fff

ifconfig:

eth0      Link encap:Ethernet HWaddr fc:aa:14:0e:87:13
          inet6 addr: fe80::feaa:14ff:fe0e:8713/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:96 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:47 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26016 (26.0 KB) 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:468 errors:0 dropped:0 overruns:0 frame:0
          TX packets:468 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:58813 (58.8 KB)  TX bytes:58813 (58.8 KB)

路线:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

nmcli dev 列表 iface eth0:

GENERAL.DEVICE:                        eth0
GENERAL.TYPE:                          802-3-ethernet
GENERAL.VENDOR:                        Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                       Motherboard
GENERAL.DRIVER:                        r8169
GENERAL.DRIVER-VERSION:                2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:
GENERAL.HWADDR:                        FC:AA:14:0E:87:13
GENERAL.STATE:                         70 (connecting (getting IP configuration))
GENERAL.REASON:                        0 (No reason given)
GENERAL.UDI:                           /sys/devices/pci0000:00/0000:00:09.0/0000:03:00.0/net/eth0
GENERAL.IP-IFACE:                      eth0
GENERAL.NM-MANAGED:                    yes
GENERAL.AUTOCONNECT:                   yes
GENERAL.FIRMWARE-MISSING:              no
GENERAL.CONNECTION:                    /org/freedesktop/NetworkManager/ActiveConnection/15
CAPABILITIES.CARRIER-DETECT:           yes
CAPABILITIES.SPEED:                    100 Mb/s
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:/org/freedesktop/NetworkManager/Settings/{0}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:  a9a951e0-8515-4c1a-af4e-5115e127d753 | Ethernet connection 1
WIRED-PROPERTIES.Carrier:              on

lspci -knn | grep Eth -A2:

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Motherboard [1458:e000]
Kernel driver in use: r8169

内核版本是3.19.0-25

答案1

很可能您需要安装另一个以太网驱动程序。通过其他方式连接到互联网并在终端中运行

sudo apt-get install r8168-dkms

相关内容