在 Ubuntu 16.04 LTS 中无法连接以太网

在 Ubuntu 16.04 LTS 中无法连接以太网

我最近买了一台 HP 第六代笔记本电脑,并在其上安装了 Ubuntu 16.04。我知道这个问题以前有人问过,但我真的无法让我的以太网工作。我也无法下载 r8168-dkms 包。请帮忙。当我给出命令时

ifconfig -a -v

表明

eno1      Link encap:Ethernet  HWaddr b4:b6:86:bc:a8:79  
      UP BROADCAST MULTICAST  MTU:1500  Metric:1
      RX packets:212904 errors:0 dropped:30073 overruns:0 frame:0
      TX packets:1441 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:13059817 (13.0 MB)  TX bytes:333485 (333.4 KB)

enp0s20f0u2 Link encap:Ethernet  HWaddr fa:4d:df:e6:63:97  
      inet addr:192.168.42.236  Bcast:192.168.42.255  Mask:255.255.255.0
      inet6 addr: fe80::a4b:fad8:4fab:9e01/64 Scope:Link
      inet6 addr: 2402:3a80:a7b:6182:2d9:cf5d:bf22:f658/64 Scope:Global
      inet6 addr: 2402:3a80:a7b:6182:9832:14b9:656b:3244/64 Scope:Global
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:29222 errors:0 dropped:0 overruns:0 frame:0
      TX packets:28902 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:39714108 (39.7 MB)  TX bytes:4349461 (4.3 MB)

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:61303 errors:0 dropped:0 overruns:0 frame:0
      TX packets:61303 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:4637550 (4.6 MB)  TX bytes:4637550 (4.6 MB)

相关内容