之前各种搜索,误打误撞解决了,不过由于某些原因重装了系统,目前还没有找到解决方法。。
希望能再论坛找到解决方法,免得下次还是一知半解。
本子是 华硕FX50J
一些参数
-----------------------------------------------------------------------------
sudo ifconfig -a
enp4s0f1 Link encap:以太网 硬件地址 9c:5c:8e:27:f9:49
inet 地址:10.16.151.113 广播:10.16.151.255 掩码:255.255.255.0
inet6 地址: 2001:da8:b803:10a:fe83:8f95:4941:5e44/64 Scope:Global
inet6 地址: 2001:da8:b803:10a:a1e6:4f83:9ecd:1982/64 Scope:Global
inet6 地址: fe80::7abb:4adc:9910:2643/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:190832 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:133800 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:258360211 (258.3 MB) 发送字节:13323267 (13.3 MB)
中断:31 基本地址:0x5000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:8452 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:8452 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:853197 (853.1 KB) 发送字节:853197 (853.1 KB)
wlp3s0 Link encap:以太网 硬件地址 80:a5:89
BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
-----------------------------------------------------------------------------
sudo cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto enp4s0f1
iface enp4s0f1 DHCP
-----------------------------------------------------------------------------
sudo iwlist scan
lo Interface doesn't support scanning.
wlp3s0 Interface doesn't support scanning : Network is down
enp4s0f1 Interface doesn't support scanning.
-----------------------------------------------------------------------------
sudo lshw -class network
*-network DISABLED
description: Wireless interface
product: QCA9565 / AR9565 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 01
serial: 80:a5:89
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=4.13.0-36-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:18 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.1
bus info: pci@0000:04:00.1
logical name: enp4s0f1
version: 12
serial: 9c:5c:8e:27:f9:49
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.045.08-NAPI duplex=full ip=10.16.151.113 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:31 ioport:d000(size=256) memory:f7814000-f7814fff memory:f7810000-f7813fff
-----------------------------------------------------------------------------