|
|
发表于 2005-10-17 08:48:48
|
显示全部楼层
不知道你的系统是什么,在RedHat里和FC4里修改是不一样的
在RedHat修改MAC是在/etc/sysconfig/nework-scripts/ifcfg-ethx(x由你而定)文件中加入如下代码:
MACADDR=00:11:33:44:55#(your modified macaddress)
然后键入以下命令:
service network restart
在FC4里修改又有两种方法:
1.在终端里使用命令/etc/init.d/network stop
然后是ifconfig eth0 hw ether 00:01:02:03:04:05
再激活网卡/etc/init.d/network start
2.在终端里使用命令/sbin/ifconfig stop
然后是ifconfig eth0 hw ether 00:01:02:03:04:05
再激活网卡/sbin/ifconfig start |
|