poloshiao 写了:把下面指令 複製 貼進終端機 執行
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
把結果直接複製 貼上來
1. sudo lshw -numeric -class network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:09:00.0
logical name: eth0
version: 03
serial: f0:4d:a2:5e:72:14
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168d-1.fw ip=192.168.1.100 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:44 ioport:ce00(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff memory:f0020000-f003ffff
2. sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 f0:4d:a2:5e:72:14
inet 地址:192.168.1.100 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::f24d:a2ff:fe5e:7214/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:2528491 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:2004914 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:3135950927 (3.1 GB) 发送字节:709632910 (709.6 MB)
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:11186 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:11186 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:29843907 (29.8 MB) 发送字节:29843907 (29.8 MB)