新聞中心
linux如何查看有哪些網(wǎng)卡?可以使用ip工具查看網(wǎng)卡,ip a 或 ifconfig -alinux如何查看有哪些網(wǎng)卡信息?ifconfig”命令可以查看Linux系統(tǒng)中有哪些網(wǎng)卡信息。linux如何查看有哪些網(wǎng)卡?
可以使用ip工具查看網(wǎng)卡,命令為:ip a 或 ifconfig -a

使用“ifconfig”命令可以查看Linux系統(tǒng)中有哪些網(wǎng)卡信息,示例如下:
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:F6:B9:D8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:0C:29:F6:B9:D9
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x3000
linux怎么查看網(wǎng)卡?1. 通過ifconfig命令查看:
在終端中輸入ifconfig,會列出當前系統(tǒng)中可用的網(wǎng)卡,以及其相關信息;
2. 通過ip addr命令查看:
在終端中輸入ip addr,會列出當前系統(tǒng)中可用的網(wǎng)卡,以及其相關信息;
3. 通過lspci命令查看:
在終端中輸入lspci,會列出當前系統(tǒng)中可用的網(wǎng)卡,以及其相關信息;
4. 通過ethtool命令查看:
在終端中輸入ethtool,會列出當前系統(tǒng)中可用的網(wǎng)卡,以及其相關信息。
網(wǎng)頁題目:linux如何查看有哪些網(wǎng)卡
文章源于:http://www.fisionsoft.com.cn/article/dhijssd.html


咨詢
建站咨詢
