sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
2.
sudo airport -z
# Disassociate from any network
3. wait a little
4.
sudo ifconfig en0 lladdr 00:00:00:00:00:00
with Applescript (connect to wireless network):
do shell script "airport -z;sleep 10;ifconfig en1 lladdr 00:1c:d6:2f:4e:34;sleep 3;networksetup -setairportnetwork en1 \"AP_SSID\" PASSWORD_TO_CONNECT_AP" user name "root" password "ROOT_PASSWORD" with administrator privileges
Nincsenek megjegyzések:
Megjegyzés küldése