|
|
发表于 2004-7-4 16:34:20
|
显示全部楼层
A:在文件/etc/sysconfig/network-scripts/ifcfg-eth0 中增加一行类似如下
MACADDR=00:50:BA:11:36:2B
即可,不需要修改任何 init 文件
B: 将下面脚本加到开机自运行的脚本中即可(如rc.local)
ifconfig eth0 down
ifconfig eth0 hw ether 00:80:C8:E2:00:00
ifconfig eth0 up
只用过第二个方法, |
|