RTL8168网卡在Linux Mint 18上无法工作

RTL8168网卡在Linux Mint 18上无法工作

我的网卡在,而且线路连接良好。但我不知道为什么没有可用的有线连接。

以下是您可能需要的一些信息。

john@john-To-be-filled-by-O-E-M ~ $ sudo lshw -C network
  *-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: enp3s0
       version: 06
       serial: 90:2b:34:45:1f:44
       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:25 ioport:d000(size=256) memory:f2104000-f2104fff memory:f2100000-f2103fff

的输出ifconfig

john@john-To-be-filled-by-O-E-M ~ $ sudo ifconfig -a
enp3s0    Link encap:Ethernet  HWaddr 90:2b:34:45:1f:44                       
          UP BROADCAST MULTICAST  MTU:1500  Metric:1                          
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0                   
          TX packets:53 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                            
          RX bytes:990 (990.0 B)  TX bytes:8473 (8.4 KB)                            

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:10871 errors:0 dropped:0 overruns:0 frame:0                          
          TX packets:10871 errors:0 dropped:0 overruns:0 carrier:0                          
          collisions:0 txqueuelen:1                                                           
          RX bytes:1111323 (1.1 MB)  TX bytes:1111323 (1.1 MB)

的输出/etc/network/interfaces

john@john-To-be-filled-by-O-E-M ~ $ sudo cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

答案1

您需要一个可用的互联网连接,然后编译正确的驱动程序r8168

启用宇宙通过将以下行添加到您的存储库中sources.list

deb http://de.archive.ubuntu.com/ubuntu/ xenial main restricted universe

更新并安装r8168-dkms软件包:

sudo apt-get update 
sudo apt-get install r8168-dkms

重新启动您的系统

相关内容