eth查詢
❶ 在linux下如何通過命令查網卡配置
在linux下通過命令查網卡配置的方法如下:
1、首先在電腦上打開Linux系統,然後進入Linux系統的終端窗口。
❷ 通過一個ETH地址 能不能查出來它這個地址是屬於交易所還是屬於錢包
1. 目前了解eth 地址長得都一樣沒有規律
2. 理論上可以收集盡可能多的交易所平台在用的地址名錄--這個交易所圈內部是不是已有明細?
3.有了2的明細,就可以增加判斷地址是否屬於交易所或平台的判斷准確率。
❸ 如何快速辨別網卡ID與物理網卡的對應關系(即eth
如何快速辨別網卡ID與物理網卡的對應關系
一般購買的伺服器都有4個網卡,這個時候在安裝好伺服器後,配置IP的時候就郁悶了
如是一個浪潮8560M2伺服器安裝Redhat後的網卡顯示:
[root@DBSERVER51 ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:ED:2D:0F:58
inet addr:192.168.4.10 Bcast:192.168.4.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40428 errors:0 dropped:0 overruns:0 frame:0
TX packets:392 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3413500 (3.2 MiB) TX bytes:44521 (43.4 KiB)
Memory:faee0000-faf00000
eth1 Link encap:Ethernet HWaddr 00:E0:ED:2D:0F:59
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)
Memory:fae60000-fae80000
eth2 Link encap:Ethernet HWaddr 00:25:90:5A:15:B6
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)
Memory:fafe0000-fb000000
eth3 Link encap:Ethernet HWaddr 00:25:90:5A:15:B7
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)
Memory:faf60000-faf80000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:660 (660.0 b) TX bytes:660 (660.0 b)
從一個機房搬下來時,忘記標記了。這個時候還是想修改eth0作為通信口。但是一個一個插拔比較麻煩,於是就想能不能有個好辦法,畢竟Linux不像Windows那樣直觀,打開網路連接就可以看到。這個時候就要用到ethtool這樣一個命令,命令詳解如下:
命令描述:
ethtool 是用於查詢及設置網卡參數的命令。
ethX是乙太網卡的名稱,Linux系統將檢測到的第一塊乙太網卡命名為eth0, 第二塊為eth1,…….。
使用概要:
ethtool ethx //查詢ethx網口基本設置,其中 x 是對應網卡的編號,如eth0、eth1等等
ethtool –h //顯示ethtool的命令幫助(help)
ethtool –i ethX //查詢ethX網口的相關信息
ethtool –d ethX //查詢ethX網口注冊性信息
ethtool –r ethX //重置ethX網口到自適應模式
ethtool –S ethX //查詢ethX網口收發包統計
ethtool –s ethX [speed 10|100|1000] [plex half|full] [autoneg on|off] //設置網口速率10/100/1000M、設置網口半/全雙工、設置網口是否自協商
ethtool [ -a | -c | -g | -i | -d | -k | -r | -S |] ethX
ethtool [-A] ethX [autoneg on|off] [rx on|off] [tx on|off]
ethtool [-C] ethX [adaptive-rx on|off] [adaptive-tx on|off] [rx-usecs N] [rx-frames N] [rx-usecs-irq N] [rx-frames-irq N] [tx-usecs N] [tx-frames N] [tx-usecs-irq N] [tx-frames-irq N] [stats-block-usecs N][pkt-rate-low N][rx-usecs-low N] [rx-frames-low N] [tx-usecs-low N] [tx-frames-lowN] [pkt-rate-high N] [rx-usecs-high N] [rx-frames-high N] [tx-usecs-high N] [tx-frames-high N] [sample-interval N]
ethtool [-G] ethX [rx N] [rx-mini N] [rx-jumbo N] [tx N]
ethtool [-e] ethX [raw on|off] [offset N] [length N]
ethtool [-E] ethX [magic N] [offset N] [value N]
ethtool [-K] ethX [rx on|off] [tx on|off] [sg on|off] [tso on|off]
ethtool [-p] ethX [N]
ethtool [-t] ethX [offline|online]
ethtool [-s] ethX [speed 10|100|1000] [plex half|full] [autoneg on|off] [port tp|aui|bnc|mii] [phyad N] [xcvr internal|external]
[wol p|u|m|b|a|g|s|d...] [sopass xx:yy:zz:aa:bb:cc] [msglvl N]
標志
-a 查看網卡中 接收模塊RX、發送模塊TX和Autonegotiate模塊的狀態:啟動on 或 停用off
-A 修改網卡中 接收模塊RX、發送模塊TX和Autonegotiate模塊的狀態:啟動on 或 停用off
-c display the Coalesce information of the specified ethernet card
-C Change the Coalesce setting of the specified ethernet card
-g Display the rx/tx ring parameter information of the specified ethernet card
-G change the rx/tx ring setting of the specified ethernet card
-i 顯示網卡驅動的信息,如驅動的名稱、版本等
-d 顯示register mp信息, 部分網卡驅動不支持該選項
-e 顯示EEPROM mp信息,部分網卡驅動不支持該選項
-E 修改網卡EEPROM byte
-k 顯示網卡Offload參數的狀態:on 或 off,包括rx-checksumming、tx-checksumming等。
-K 修改網卡Offload參數的狀態
-p 用於區別不同ethX對應網卡的物理位置,常用的方法是使網卡port上的led不斷的閃;N指示了網卡閃的持續時間,以秒為單位。
-r 如果auto-negotiation模塊的狀態為on,則restarts auto-negotiation
-S 顯示NIC- and driver-specific 的統計參數,如網卡接收/發送的位元組數、接收/發送的廣播包個數等。
-t 讓網卡執行自我檢測,有兩種模式:offline or online
-s 修改網卡的部分配置,包括網卡速度、單工/全雙工模式、mac地址等
❹ linux怎麼查eth1網卡是否啟動,求口令
1、ifconfig看下,能看到eth1代表啟動著,順便看下ip地址是否配置正確。
2、ifconfig功能說明:顯示或設置網路設備
語法:ifconfig [網路設備][down up -allmulti -arp -promisc][add<地址>][del<地址>][<硬體地址>] [media<網路媒介類型>][mem_start<內存地址>][metric<數目>][mtu<位元組>][netmask<子網掩碼>][tunnel<地址>][-broadcast<地址>] [-pointopoint<地址>]
補充說明:ifconfig可設置網路設備的狀態,或是顯示目前的設置。
參數:
[網路設備] 網路設備的名稱。
down 關閉指定的網路設備。
up 啟動指定的網路設備。
-arp 打開或關閉指定介面上使用的ARP協議。前面加上一個負號用於關閉該選項。
-allmuti 關閉或啟動指定介面的無區別模式。前面加上一個負號用於關閉該選項。
-promisc 關閉或啟動指定網路設備的promiscuous模式。前面加上一個負號用於關閉該選項。
add<地址> 設置網路設備IPv6的IP地址。
del<地址> 刪除網路設備IPv6的IP地址。
media<網路媒介類型> 設置網路設備的媒介類型。
mem_start<內存地址> 設置網路設備在主內存所佔用的起始地址。
metric<數目> 指定在計算數據包的轉送次數時,所要加上的數目。
mtu<位元組> 設置網路設備的MTU。
netmask<子網掩碼> 設置網路設備的子網掩碼。
tunnel<地址> 建立IPv4與IPv6之間的隧道通信地址。
-broadcast<地址> 將要送往指定地址的數據包當成廣播數據包來處理。
-pointopoint<地址> 與指定地址的網路設備建立直接連線,此模式具有保密功能。
❺ linux下如何看網卡是千兆還是百兆的
linux下如何看網卡是千兆還是百兆的方法如下:
使用ethtool命令。
ethtool是Linux下用於查詢及設置網卡參數的命令。
舉例:
[root@hvrhub ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s ------------------------------------>網卡速度
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: yes
詳細參數參考:(//後面是注釋,是原文的譯文)
ethtool ethX /
ethtool –h //顯示ethtool的命令幫助(help)
ethtool –i ethX //查詢ethX網口的相關信息
ethtool –d ethX //查詢ethX網口注冊性信息
ethtool –r ethX //重置ethX網口到自適應模式
ethtool –S ethX //查詢ethX網口收發包統計
ethtool –s ethX [speed 10|100|1000] //設置網口速率10/100/1000M
[plex half|full] //設置網口半/全雙工
[autoneg on|off] //設置網口是否自協商
[port tp|aui|bnc|mii] //設置網口類型
❻ 火幣GlobalWAN查詢方式
WAN是屬於單獨的幣,跟ETH用一個充值地址是因為wan 抄的 eth 的代碼
查詢鏈接:https://explorer.wanchain.org
查詢時要在哈希值前面加0x
❼ linux怎麼查eth1網卡是否啟動,求口令
1、ethtool命令
ethtool eth1
2、mii-tool命令
mii-tool em1
em1: negotiated 1000baseT-FD flow-control, link ok
mii-tool em3
em3: no link
3、ip addr
4、ifconfig eth1也可以看出來,啟動後有RUNNING字樣
❽ linux 如何查詢網卡帶寬
Linux系統下可以通過下面命令核查網卡帶寬:
[root@www]#ethtooleth0
Settingsforeth0:
Supportedports:[TP]
Supportedlinkmodes:10baseT/Half10baseT/Full
100baseT/Half100baseT/Full
1000baseT/Full
Supportsauto-negotiation:Yes
Advertisedlinkmodes:10baseT/Half10baseT/Full
100baseT/Half100baseT/Full
1000baseT/Full
Advertisedauto-negotiation:Yes
//其它的信息不用管它,下面Speed這一行就是網卡目前的帶寬
Speed:1000Mb/s
Duplex:Full
Port:TwistedPair
PHYAD:1
Transceiver:internal
Auto-negotiation:on
SupportsWake-on:pumbag
Wake-on:g
Currentmessagelevel:0x00000001(1)
Linkdetected:yes
❾ eth兌換人民幣匯率怎麼查
火幣網,CellETF、Okex都可以查得到
❿ linux如何查看本機乙太網卡名
ifconfig 就可以看
這個是看當前系統啟動了的網卡信息的 類似eth0 eth1等等
如果沒有啟動的話 可以到/etc/sysconfig/network-scripts去看配置文件
cat ifcfg-eth0 或 cat ifcfg-eth1
用ifup eth0可以將網卡啟動
1