通过命令行临时修改

使用ifconfig命令可以临时修改MAC地址,但重启后失效。

sudo ifconfig eth0 down
sudo ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX
sudo ifconfig eth0 up

替换eth0为你的网络接口名,XX:XX:XX:XX:XX:XX为新的MAC地址。

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部