ubnt修改mac地址

 
更多

vi /etc/persistent/rc.poststart  #编辑rc.poststart 文件

#写入以下

ifconfig ath0 down
ifconfig ath0 hw ether 00:15:6d:80:55:66
ifconfig ath0 up  
 
ifconfig eth0 down
ifconfig eth0 hw ether 00:15:6d:79:55:66
ifconfig eth0 up
 
ifconfig eth1 down 
ifconfig eth1 hw ether 00:15:6d:78:55:66 
ifconfig eth1 up 

chmod +x /etc/persistent/rc.poststart #给予执行权限

cfgmtd -w -p /etc/ #修改参数后保存命令

reboot #重启

打赏

本文固定链接: https://www.cxy163.net/archives/2439 | 绝缘体

该日志由 绝缘体.. 于 2023年03月19日 发表在 首页 分类下,
原创文章转载请注明: ubnt修改mac地址 | 绝缘体

报歉!评论已关闭.