Код: Выделить всё
# ifconfig enp2s0 on
Код: Выделить всё
# lshw -C network
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 05
serial: b8:97:5a:77:f0:58
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8105e-1.fw latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:26 ioport:e800(size=256) memory:fdfff000-fdffffff memory:fdff8000-fdffbfff
Код: Выделить всё
# ifconfig
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::ba97:5aff:fe77:f058 prefixlen 64 scopeid 0x20<link>
ether b8:97:5a:77:f0:58 txqueuelen 1000 (Ethernet)
RX packets 31 bytes 1860 (1.8 KB)
RX errors 0 dropped 21 overruns 0 frame 0
TX packets 22 bytes 2665 (2.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 51 bytes 4043 (4.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 51 bytes 4043 (4.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0