当前位置: 技术问答>linux和unix
linux里面设置网卡,设成10M
来源: 互联网 发布时间:2015-10-05
本文导语: 最后新安一个linux但不能上网, 有一个问题,大概是要把网卡设成10M的了才行 我的网卡是10/100M,我在windows下就是设成10M了才了行,不是丢包严重. 可我不知道在linux下,怎么可以网卡设成10M的, 请高人指点... ...
最后新安一个linux但不能上网,
有一个问题,大概是要把网卡设成10M的了才行
我的网卡是10/100M,我在windows下就是设成10M了才了行,不是丢包严重.
可我不知道在linux下,怎么可以网卡设成10M的,
请高人指点...
有一个问题,大概是要把网卡设成10M的了才行
我的网卡是10/100M,我在windows下就是设成10M了才了行,不是丢包严重.
可我不知道在linux下,怎么可以网卡设成10M的,
请高人指点...
|
media type
Set the physical port or medium type to be used by the device.
Not all devices can change this setting, and those that can vary
in what values they support. Typical values for type are
10base2 (thin Ethernet), 10baseT (twisted-pair 10Mbps Ethernet),
AUI (external transceiver) and so on. The special medium type
of auto can be used to tell the driver to auto-sense the media.
Again, not all drivers can do this.
===============================
ifconfig eth0 media 10baseT
ifconfig eth0 media 10base2
Set the physical port or medium type to be used by the device.
Not all devices can change this setting, and those that can vary
in what values they support. Typical values for type are
10base2 (thin Ethernet), 10baseT (twisted-pair 10Mbps Ethernet),
AUI (external transceiver) and so on. The special medium type
of auto can be used to tell the driver to auto-sense the media.
Again, not all drivers can do this.
===============================
ifconfig eth0 media 10baseT
ifconfig eth0 media 10base2
|
用ifconfig设置
ifconfig eth0 media 10baseT
这样应该是可以的。
ifconfig eth0 media 10baseT
这样应该是可以的。