April 25, 2024
Како маскирати MAC адресу Airport-а у Snow Leopard-у

Како маскирати MAC адресу Airport-а у Snow Leopard-у

Posted February 12, 2010 at 11:41pm by iClarified
Ево упутства како да промените или маскирате MAC адресу бежичног адаптера у Snow Leopard-у.

Media Access Control адреса (скраћено MAC адреса) представља јединствени идентификатор који се додељује већини адаптера или мрежних картица.

Имајте на уму да смо успешно користили ово упутство на рачунару MacBook Pro са Snow Leopard-ом 10.6.2. Не можемо да тврдимо да ће упутство функционисати са другим оперативним системима или уређајима.

Први корак
Покрените Terminal из директоријума Applications:Utilities.
Како маскирати MAC адресу Airport-а у Snow Leopard-у

Други корак
Унесите команду ifconfig en1 | grep ether да бисте видели актуелну MAC address бежичног адаптера.
Како маскирати MAC адресу Airport-а у Snow Leopard-у

Трећи корак
Проверите да ли је Airport укључен и унесите следећу команду у прозор Terminal-а да бисте прекинули везу ка свим мрежама.

sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z
Како маскирати MAC адресу Airport-а у Snow Leopard-у

Унесите лозинку администратора када се то од вас буде затражило.
Како маскирати MAC адресу Airport-а у Snow Leopard-у

Четврти корак
Унесите следећу команду да бисте променили MAC адресу

sudo ifconfig en1 ether 00:11:22:33:44:55

Замените 00:11:22:33:44:55 адресом по сопственом избору.
Како маскирати MAC адресу Airport-а у Snow Leopard-у

Пети корак
Да бисте потврдили да је промена успешно обављена, унесите ifconfig en1 | grep ether у прозор Terminal-а.
Како маскирати MAC адресу Airport-а у Snow Leopard-у

Како маскирати MAC адресу Airport-а у Snow Leopard-у

*Имајте на уму да ће поновно покретање рачунара вратити MAC адресу на подразумевану вредност.
Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
iClarified Icon
Would you like to be notified when we post a new Apple news article or tutorial?
Comments (9)
You must login or register to add a comment...
Florent - April 4, 2010 at 12:06pm
It works fine under 10.6.3 By the way, the command " sudo ifconfig en1 down " + " sudo ifconfig en1 ether xx:xx:xx:xx:xx:xx " now only works under 10.6.2. If you upgrade your MacOS X to 10.6.3 you'll get this message : ioctl (SIOCAIFADDR) Device power is off Of course, if you tried with airport switched up, you won't get this but the command won't have any effect. I've reported this issue.
calsim - February 14, 2011 at 7:12pm
It seems to work fine under Mac OSX 10.6.6
onu - February 14, 2010 at 4:37pm
and "airport express" ?? how to spoof adress? pls
EvilPenguin - February 13, 2010 at 2:23am
Here is a binary for this: http://nakedproductions.us/Harddrive/MACaddy
Macsl21 - February 13, 2010 at 12:42am
This doesn't really work. This used to work in 10.5.x, but they fixed/broke this in 10.6.x. What happens is it all appears to work, just as your screenshots show, but...you'll be unable to log into a wifi network that requires a password. If you go to Preferences->Network, you'll see if you click on your Airport icon and the Advanced button that it will show your old MAC address. Somehow the MAC address is being changed only in one of two locations. It's the changing of the second location that apparently nobody has been able to figure out and which would allow us to change our MAC address for any practical use. If anyone has any ideas, please post and I'll test.
gmcd2200 - April 6, 2010 at 11:37pm
random mac addr code below. ####################################### #!/bin/ksh # # Written by Graeme Mc Donough # Copy and manipulate this .. but give me credit. for the code thanks. # Version 1.0 16-04-2010 # # # This script is called "rand_mac.ksh" # # # This script is free.. enjoy.. # This script was written to work with Mac Osx 10.6 # Mac OSX 10.6 ksh has a bug.. so I added a work around in the script. # # Assumptions # * you have put in a link for the airport to /usr/sbin # * you will run this script with "sudo ./rand_mac.ksh" # * You will know how to use vi.. I am a unix person.. not a pico person.. so don't ask me # # NOTES # * I found a way to make the Airport auto lock back on to your fav wireless # just un-comment the 3 bottom lines. Note.. it may make the script not work well" # Go figure /shrug /usr/sbin/airport -z counter=0 GET_HEX () { if [[ ${VAR} -lt 10 ]] then HEX_VALUE=`echo ${VAR}` fi if [[ ${VAR} -eq "10" ]] then HEX_VALUE=a fi if [[ ${VAR} -eq "11" ]] then HEX_VALUE=b fi if [[ ${VAR} -eq "12" ]] then HEX_VALUE=c fi if [[ ${VAR} -eq "13" ]] then HEX_VALUE=d fi if [[ ${VAR} -eq "14" ]] then HEX_VALUE=e fi if [[ ${VAR} -eq "15" ]] then HEX_VALUE=f fi # echo "${HEX_VALUE}" } for i in {1..6}} do VAR=$((RANDOM%15)) GET_HEX FULL_HEX=`echo ${FULL_HEX}${HEX_VALUE}` VAR=$((RANDOM%15)) GET_HEX FIX_I=`echo ${i} | awk -F\} '{print $1}'` #echo $FIX_I if [ ${FIX_I} -eq 6 ] then FULL_HEX=`echo ${FULL_HEX}${HEX_VALUE}` else FULL_HEX=`echo ${FULL_HEX}${HEX_VALUE}:` fi done echo "The new randomised Mac Addr = ${FULL_HEX}" echo "Attempting to change en0 to the New Mac Addr it does not work all the time." echo " the first thing we do is wait... aournd 20 seconds ... boooring" sleep 25 ifconfig en0 ether ${FULL_HEX} echo "The (hopefully changed to tbe the same) mac addr for en0 = ${VALUE}" echo "if not .. run this again.. .. it will eventually work" #ifconfig en0 down #sleep 3 #ifconfig en0 up ######################################
Robert - May 1, 2010 at 5:11pm
I was thinking on changing the files related to airport setup in terminal for airport - anyone try this... I found them once, but can't remember where they are located.
helix - August 5, 2010 at 10:14pm
This works fine for me on 10.6.4. I'm using it to spoof my MAC address so I can get on Clearwires 4G network with my Macbook Pro even through I'm using an iSpot and the 25.00 dollar a month "i" only service plan... This is Frickin great
Luca G.
Luca G. - July 10, 2011 at 12:26pm
You must disassociate before trying to change the Mac address. The key is to run: airport -z I posted full instructions some time ago on my blog: http://www.nervous.it/lang/en-us/2009/12/mac-spoofing-on-snow-leopard/
Recent. Read the latest Apple News.
Tutorials. Help is here.
Where to Download macOS Monterey
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.