离我的第一个构建如此接近!以太网已连接但没有互联网,17.04,Intel I217-V,驱动程序:e1000e

离我的第一个构建如此接近!以太网已连接但没有互联网,17.04,Intel I217-V,驱动程序:e1000e

第一次发帖和第一次组装电脑,所以很高兴能根据需要详细说明任何内容。

我刚刚组装了一台新电脑。以太网和无线都不能用,对我来说没问题!

以太网:

lshw -C network给出:

*-network                 
   description: Ethernet interface
   product: Ethernet Connection (5) I219-V
   vendor: Intel Corporation
   physical id: 1f.6
   bus info: pci@0000:00:1f.6
   logical name: enp0s31f6
   version: 00
   serial: 2c:4d:54:ec:d8:9a
   size: 100Mbit/s
   capacity: 1Gbit/s
   width: 32 bits
   clock: 33MHz
   capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.1-4 ip=192.168.192.28 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
   resources: irq:140 memory:df300000-df31ffff

ip l给出

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 2c:4d:54:ec:d8:9a brd ff:ff:ff:ff:ff:ff

/etc/network/interfaces给出

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

ping -c3 8.8.8.8给出

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=45 time=16.4 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=45 time=14.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=45 time=18.0 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 14.008/16.148/18.009/1.651 ms

route -n给出

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.192.1   0.0.0.0         UG    0      0        0 enp0s31f6
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enp0s31f6
192.168.192.0   0.0.0.0         255.255.255.0   U     0      0        0 enp0s31f6

tracepath 8.8.8.8给出

 1?: [LOCALHOST]                      pmtu 1500
 1:  Deep-Genesis                                        648.751ms !H
 1:  no reply
 1:  Deep-Genesis                                        3067.668ms !H
 Resume: pmtu 1500 

tracepath 151.101.129.69给出

 1?: [LOCALHOST]                      pmtu 1500
 1:  Deep-Genesis                                        1426.341ms !H
 Resume: pmtu 1500 

无线适配器根本无法被识别!

请帮忙!我快成功了!

答案1

请单击网络管理器图标并选择编辑连接。在 IPv4 设置下,输入 DNS 名称服务器,如下所示:

在此处输入图片描述

重新启动网络管理器:

sudo service network-manager restart

测试:

ping -c3 8.8.8.8
ping -c3 www.ubuntu.com

相关内容