我需要一些帮助来为我的 mac mini 提供命令,基本上它作为无头服务器运行,但有时我需要使用 wifi 而不是以太网连接,并且由于各种路由器设置,最容易欺骗 mac 地址wifi 的以太网连接。
我知道更改mac地址的命令,它
ifconfig en1 ether <address>
基本上我需要一个可以运行的脚本
如果以太网 (en0) 处于非活动状态,则
将 wifi (en1) mac 地址设置为
谁能帮忙?
刘易斯
我需要一些帮助来为我的 mac mini 提供命令,基本上它作为无头服务器运行,但有时我需要使用 wifi 而不是以太网连接,并且由于各种路由器设置,最容易欺骗 mac 地址wifi 的以太网连接。
我知道更改mac地址的命令,它
ifconfig en1 ether <address>
基本上我需要一个可以运行的脚本
如果以太网 (en0) 处于非活动状态,则
将 wifi (en1) mac 地址设置为
谁能帮忙?
刘易斯