vickycq 写道:
代码:
cat /etc/os-release
uname -a
lspci -knn
sudo lshw -C network
cat /proc/net/dev
把结果全部复制贴上来
补充一点, 我使用了https://github.com/oblique/create_ap的wifi热点工具,不确定是不是它引起的。
下面出现的mon.wlan0就是有线网通过wifi分享出来的连接。
代码:
$ ifconfig
eth0 Link encap:以太网 硬件地址 8c:89:a5:0b:b7:3a
inet 地址:10.1.145.24 广播:10.1.145.255 掩码:255.255.255.0
inet6 地址: fe80::8e89:a5ff:fe0b:b73a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
中断:19
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:916 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:916 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:90830 (90.8 KB) 发送字节:90830 (90.8 KB)
mon.wlan0 Link encap:未指定 硬件地址 24-0A-64-37-FA-A7-3A-30-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:671 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:88115 (88.1 KB) 发送字节:0 (0.0 B)
wlan0 Link encap:以太网 硬件地址 24:0a:64:37:fa:a7
inet 地址:192.168.12.1 广播:192.168.12.255 掩码:255.255.255.0
inet6 地址: fe80::260a:64ff:fe37:faa7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:10581 错误:0 丢弃:1 过载:0 帧数:0
发送数据包:12533 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:1200872 (1.2 MB) 发送字节:15971001 (15.9 MB)
代码:
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
代码:
$ uname -a
Linux regis-PC 3.13.0-68-generic #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
代码:
$ lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d4)
Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 [8086:8c18] (rev d4)
Kernel driver in use: pcieport
00:1c.5 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 [8086:8c1a] (rev d4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM87 Express LPC Controller [8086:8c4b] (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
01:00.0 3D controller [0302]: NVIDIA Corporation GK107M [GeForce GT 750M] [10de:0fe4] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: nvidia
03:00.0 Ethernet controller [0200]: Qualcomm Atheros Killer E2200 Gigabit Ethernet Controller [1969:e091] (rev 13)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: alx
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:10e6]
Kernel driver in use: rtsx_pci
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723AE PCIe Wireless Network Adapter [10ec:8723]
Subsystem: AzureWave Device [1a3b:2114]
Kernel driver in use: rtl8723ae
代码:
$ sudo lshw -C network
[sudo] password for regis:
*-network
description: Ethernet interface
product: Killer E2200 Gigabit Ethernet Controller
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 13
serial: 8c:89:a5:0b:b7:3a
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=10.1.145.24 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:48 memory:f7a00000-f7a3ffff ioport:d000(size=128)
*-network
description: Wireless interface
product: RTL8723AE PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:05:00.0
logical name: mon.wlan0
version: 00
serial: 24:0a:64:37:fa:a7
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical wireless ethernet physical
configuration: broadcast=yes driver=rtl8723ae driverversion=3.13.0-68-generic firmware=N/A ip=192.168.12.1 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 ioport:c000(size=256) memory:f7800000-f7803fff
代码:
$ cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
mon.wlan0: 74058 560 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
lo: 86828 876 0 0 0 0 0 0 86828 876 0 0 0 0 0 0
wlan0: 994041 7317 0 1 0 0 0 0 8245235 7308 0 0 0 0 0 0