Linux网卡、查看相关网络接口命令
Linux 网卡相关命令
sudo ifconfig eth0 down/up 开启或关闭相关网卡
ifconfig 查看网卡信息
iwconfig 查看网卡的硬件配置信息 比如速率这些
lspci -vvv | grep 'Eth' 可以查看Ethernet的硬件信息 比如网卡适配器是哪个型号
mii-tool,ethtool (如果软件源中有可以安装,比如sudo apt install ethtool)
end.
sudo ifconfig eth0 down/up 开启或关闭相关网卡
ifconfig 查看网卡信息
iwconfig 查看网卡的硬件配置信息 比如速率这些
lspci -vvv | grep 'Eth' 可以查看Ethernet的硬件信息 比如网卡适配器是哪个型号
mii-tool,ethtool (如果软件源中有可以安装,比如sudo apt install ethtool)
end.