首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux 上网设立

2012-06-29 
linux 上网设置?Supported ports: [ MII ]??????? Supported link modes:?? 10baseT/Half 10baseT/Full???

linux 上网设置

?

Supported ports: [ MII ]
??????? Supported link modes:?? 10baseT/Half 10baseT/Full?
??????????????????????????????? 100baseT/Half 100baseT/Full?
??????????????????????????????? 1000baseT/Half 1000baseT/Full?
??????? Supports auto-negotiation: Yes
??????? Advertised link modes: 10baseT/Half 10baseT/Full?
??????????????????????????????? 100baseT/Half 100baseT/Full?
??????????????????????????????? 1000baseT/Half 1000baseT/Full?
??????? Advertised auto-negotiation: Yes
??????? Speed: Unknown! (0)
??????? Duplex: Half
??????? Port: Twisted Pair
??????? PHYAD: 1
??????? Transceiver: internal
??????? Auto-negotiation: on
??????? Supports Wake-on: g
??????? Wake-on: d
??????? Current message level: 0x000000ff (255)
??????? Link detected: no
从上面可以看出eth0 处于连接状态,eth1没有连接

二. 查看网卡的配置

一般在linux下查看网络配置可以使用ifconfig命令,可以显示当前网卡的基本配置信息。

终端输入ifconfig 会出现一下内容:

eth0
Link encap:Ethernet HWaddr 00:0C:29:0C:4B:0F
inet addr:192.168.37.128 Bcast:192.168.37.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame.:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2823 (2.7 Kb)
TX bytes:2722 (2.6 Kb)
Interrupt:10 Base address:0x1080
他们分别表示:
Eth0:网络接口
link encap:网络类型
HWaddr:网卡物理地址
Inet addr :IP地址
Bcast:广播地址
Mask:子网掩码
UP:正在使用的网络接口

?

?

热点排行