如何设定 openwrt 仅仅让特定的 mac 地址连接 wifi

2025-04-05 05:19:33
推荐回答(1个)
回答1:

1、修改 eth0 mac地址:
编辑 /etc/rc.local,ifconfig eth0 down;ifconfig eth0 hw ether d8:64:c7:5e:f1:c6;ifconfig eth0 up。
2、修改wireless mac地址。
这就最纠结了直接修改 /etc/config/wireless中的mac是没用的,并且修改后无线网络会无法启动。