A. 怎麼查看linux光纖網卡數
使用setup 命令,看網卡具體型號。一般光口網卡都是10Gb的。 使用lspci |grep Network 查看網卡具體型號確定。 使用ethtool eth* 命令查看網卡詳細信息,port 類型為:FIBRE 的即時光口網卡。
B. linux查可以用的網卡
在提示符狀態下,輸入 ifconfig -a 命令,即可以查看能夠使用的網卡。
C. linux多網卡機上如何通過工具查看各網卡是否接入網路
一、通過mii-tool指令
[root@linuxzgf ~]# mii-tool
//mii-tool主要是用於配置網卡工作模式的指令,同時也可以進行查詢、監控等工作!
二、ethtool
[root@linuxzgf ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes
從上面 Link detected 可以看出eth0 處於連接狀態
三.[root@linuxzgf ~]# /etc/init.d/network status
配置設備:
lo eth0 eth0.10 eth0.2 eth0.3 eth0.4 eth0.5 eth0.7 eth0.8 eth1
當前的活躍設備:
lo eth0 eth0.10
[四、ifconfig -a
[root@linuxzgf ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:81:80:D8:96
inet6 addr: fe80::2e0:81ff:fe80:d896/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:626032 errors:0 dropped:0 overruns:0 frame:0
TX packets:415035 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:123631002 (117.9 MiB) TX bytes:297575498 (283.7 MiB)
Base address:0x2000 Memory:df300000-df320000
eth1 Link encap:Ethernet HWaddr 00:E0:81:80:D8:97
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)
Base address:0x2020 Memory:df320000-df340000
五、lspci也可以看到網卡的信息
D. 查看Linux系統有幾塊網卡
# lspci | egrep -i --color 'network|ethernet'
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
01:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
02:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
E. 怎樣查看 linux 的網卡信息
查看 linux 的網卡信息步驟如下:
工具原料:linux操作系統
①啟動 linux 操作系統,進入到桌面;
④linux 的網卡信息解讀:
1.查看網卡生產廠商和信號:
查看基本信息:lspci
查看詳細信息:lspci -vvv # 3個小寫的v
查看網卡信息:lspci | grep Ethernet;
2.查看網卡驅動:
查看網卡驅動信息:lspci -vvv # 找到網卡設備的詳細信息,包括網卡驅動
# lsmod 列出載入的所有驅動,包括網卡驅動;
3.查看網卡驅動版本
查看模塊信息:modifo<mole name> # 其中包含version信息或 # ethtool-i <device name>;
4.查看網路介面隊列數
查看網卡介面的中斷信息:#cat /proc/interrupts | grep eth0或 # ethtool-S eth0;
5.查看網卡驅動源碼的版本號
解壓Intel網卡驅動源碼,打開解壓縮目錄下的*.spec文件查看驅動的版本;
F. 查看linux 系統 當前使用的網卡
用ifconfig
就可以查看了,如果你的網卡都是乙太網類型那麼還可以用mii-tool工具來查看網卡的狀態信息,用ifup
/ifdown
命令來啟動和停止單個網卡比如ifup
eth0
不過你也可以用network
服務一次搞定多個網卡的設定,前提是你要先配置好各個NIC網卡配置文件
G. 怎麼確認linux系統是雙網卡
1.首先咱們查看一下,當前系統的網卡參數。可以看到除了一個回環網卡「lo」和虛擬網卡「virbr0」之外,就只有一塊網卡「ens33」。 2.現在咱們給它添加一塊網卡,然後查看一下網卡的參數,可以看到已經多了一塊網卡「ens36」 3.但我們去配置文件目錄「/etc/sysconfig...」
H. Linux下如何查看自己的伺服器有沒有無線網卡
Linux下可通過以下步驟查看自己的伺服器有沒有無線網卡:
1、首先找到系統中的「計算機」;
2、選中「計算機」,右鍵雙擊「管理」;
3、點擊「計算機管理」,在右窗格中選擇「設備管理器」;
4、在中間窗格中找到「網路適配器」;
5、在「網路適配器」下面,會列出當前電腦所有的網卡設備,其中帶有「WiFi」字樣的網路設備就是無線網卡,此種情況則說明無線網卡存在,反之,則無線網卡不存在。
友情提示:一般的 PC 電腦在驅動都安裝完成的情況下,如網路適配器列表下只有一個網卡設備的話,就意味著當前電腦沒有無線網卡。
I. 查看linux 系統 當前使用的網卡
watch cat /proc/net/dev
看下哪張網卡的流量變化大一般就是哪張網卡是在線使用的
網卡禁用啟用要確定在線服務的網卡下,免得把伺服器給斷網了
ifup eth1 激活eth1網卡
ifdown eth1 關閉eth1網卡
如果要完全禁用網卡
vi /etc/sysconfig/network-scripts/ifcfg-eth1
onboot=NO