只运行过SUDO APT-GET INSTALL R8168-DKMS 就是换了网卡驱动,之前是R8169也是一样的情况。
===============================================================================
代码: 全选
mark-w@markw-X450VB:~$ sudo lshw -C network
[sudo] mark-w 的密码:
*-network
description: Wireless interface
product: AR9485 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 01
serial: 24:0a:64:22:11:dc
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=4.4.0-21-generic firmware=N/A ip=10.181.52.246 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:f7900000-f797ffff memory:f7980000-f798ffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0.2
bus info: pci@0000:04:00.2
logical name: enp4s0f2
version: 0a
serial: 74:d0:2b:1a:2e:93
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.041.00-NAPI duplex=full latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:29 ioport:d000(size=256) memory:f7810000-f7810fff memory:f2100000-f2103fff
mark-w@markw-X450VB:~$ lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
Subsystem: ASUSTeK Computer Inc. 3rd Gen Core processor DRAM Controller [1043:126d]
Kernel driver in use: ivb_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
Subsystem: ASUSTeK Computer Inc. 3rd Gen Core processor Graphics Controller [1043:126d]
Kernel driver in use: i915
Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
Subsystem: ASUSTeK Computer Inc. 7 Series/C210 Series Chipset Family USB xHCI Host Controller [1043:126d]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
Subsystem: ASUSTeK Computer Inc. 7 Series/C210 Series Chipset Family MEI Controller [1043:126d]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
Subsystem: ASUSTeK Computer Inc. 7 Series/C210 Series Chipset Family USB Enhanced Host Controller [1043:126d]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
Subsystem: ASUSTeK Computer Inc. 7 Series/C210 Series Chipset Family High Definition Audio Controller [1043:126d]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
Subsystem: ASUSTeK Computer Inc. 7 Series/C210 Series Chipset Family USB Enhanced Host Controller [1043:126d]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM76 Express Chipset LPC Controller [8086:1e59] (rev 04)
Subsystem: ASUSTeK Computer Inc. HM76 Express Chipset LPC Controller [1043:126d]
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
Subsystem: ASUSTeK Computer Inc. 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [1043:126d]
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
Subsystem: ASUSTeK Computer Inc. 7 Series/C210 Series Chipset Family SMBus Controller [1043:126d]
Kernel modules: i2c_i801
01:00.0 3D controller [0302]: NVIDIA Corporation GK208M [GeForce GT 740M] [10de:1292] (rev a1)
Subsystem: ASUSTeK Computer Inc. GK208M [GeForce GT 740M] [1043:126d]
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
03:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
Subsystem: AzureWave AW-NE186H [1a3b:1186]
Kernel driver in use: ath9k
Kernel modules: ath9k
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader [10ec:5289] (rev 01)
Subsystem: ASUSTeK Computer Inc. RTL8411 PCI Express Card Reader [1043:202f]
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
04:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0a)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f]
Kernel driver in use: r8168
Kernel modules: r8168
mark-w@markw-X450VB:~$ sudo ifconfig -a
enp4s0f2 Link encap:以太网 硬件地址 74:d0:2b:1a:2e:93
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:146 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:471 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:8760 (8.7 KB) 发送字节:54415 (54.4 KB)
中断:29 基本地址:0x6000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:767 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:767 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1
接收字节:85590 (85.5 KB) 发送字节:85590 (85.5 KB)
wlp3s0 Link encap:以太网 硬件地址 24:0a:64:22:11:dc
inet 地址:10.181.52.246 广播:10.181.255.255 掩码:255.255.0.0
inet6 地址: fe80::d90b:a239:134d:f644/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:68391 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:3610 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:8524127 (8.5 MB) 发送字节:560606 (560.6 KB)
mark-w@markw-X450VB:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 10.181.255.254 0.0.0.0 UG 0 0 0 wlp3s0
0.0.0.0 10.181.255.254 0.0.0.0 UG 600 0 0 wlp3s0
10.181.0.0 0.0.0.0 255.255.0.0 U 600 0 0 wlp3s0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlp3s0
mark-w@markw-X450VB:~$ sudo cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
mark-w@markw-X450VB:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlp3s0/24:0a:64:22:11:dc
Sending on LPF/wlp3s0/24:0a:64:22:11:dc
Listening on LPF/enp4s0f2/74:d0:2b:1a:2e:93
Sending on LPF/enp4s0f2/74:d0:2b:1a:2e:93
Sending on Socket/fallback
DHCPREQUEST of 10.181.52.246 on wlp3s0 to 255.255.255.255 port 67 (xid=0x7106655d)
DHCPDISCOVER on enp4s0f2 to 255.255.255.255 port 67 interval 3 (xid=0x62f19d65)
DHCPACK of 10.181.52.246 from 10.181.255.254
RTNETLINK answers: File exists
bound to 10.181.52.246 -- renewal in 107039 seconds.