打开/etc/rc.d/rc.local ,追加三行内容:
ifconfig eth0 down
ifconfig eth0 hw ether 00:00:00:00:00:C1
ifconfig eth0 up
永久修改MAC信息:
打开/etc/rc.d/rc.local ,追加三行内容:
ifconfig eth0 down
ifconfig eth0 hw ether 00:00:00:00:00:C1
ifconfig eth0 up
本文介绍了一种在Linux系统中永久修改网卡MAC地址的方法。通过编辑/etc/rc.d/rc.local文件,追加ifconfig命令来实现MAC地址的更改。具体步骤包括使网卡eth0下线,设置新的MAC地址00:00:00:00:00:C1,最后重新激活网卡。
打开/etc/rc.d/rc.local ,追加三行内容:
ifconfig eth0 down
ifconfig eth0 hw ether 00:00:00:00:00:C1
ifconfig eth0 up
永久修改MAC信息:
打开/etc/rc.d/rc.local ,追加三行内容:
ifconfig eth0 down
ifconfig eth0 hw ether 00:00:00:00:00:C1
ifconfig eth0 up
447
6636

被折叠的 条评论
为什么被折叠?