<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Spoof your MAC address in Mac OS X</title>
	<atom:link href="http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Wed, 23 May 2012 22:45:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Change (Spoof) a MAC Address in OS X Lion &#38; OS X Mountain Lion</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-348444</link>
		<dc:creator>Change (Spoof) a MAC Address in OS X Lion &#38; OS X Mountain Lion</dc:creator>
		<pubDate>Thu, 01 Mar 2012 21:08:12 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-348444</guid>
		<description>[...] received a few questions about this recently because the process of changing (sometimes called spoofing) these addresses has changed slightly from version to version in Mac OS X. With that in mind, we [...]</description>
		<content:encoded><![CDATA[<p>[...] received a few questions about this recently because the process of changing (sometimes called spoofing) these addresses has changed slightly from version to version in Mac OS X. With that in mind, we [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l0pht</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-341414</link>
		<dc:creator>l0pht</dc:creator>
		<pubDate>Wed, 22 Feb 2012 15:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-341414</guid>
		<description>First of all check your fathers MAC-Adress
 (if you have access to his Mac/PC).
If he&#039;s using a Mac, open &quot;Terminal&quot; enter &quot;ifconfig en1 &#124; grep ether&quot; write the MAC-Adress down.

Now go to your Mac and follow these steps:

^^^^^^^^^^^^^^^^^^^^^^^^^^
John C. 

Here’s my simplified version:

ifconfig en1 &#124; grep ether
^^^ Check Current Mac Address

sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z
^^^ Disconnect from Networks

sudo ifconfig en1 ether 00:00:00:00:00:00
^^^ Set New Mac Address - FILL IN THE NUMBERS YOU WROTE DOWN.

ifconfig en1 &#124; grep ether
^^^ Check Current Mac Address

^^^^^^^^^^^^^^^^^^

If the ifconfig shows you exactly the numbers you filled in, you are finished.

As long as you don&#039;t shut down your Mac, it will look for the network, as you are your fathers PC/Mac.
You should being able to have now internet access all the time.


I hope i&#039;m right, you can do this also with the MAC-Adress of your siblings.
If you want to figure the MAC-Adress on a Windows-PC just open &quot;cmd&quot; and enter &quot;ipconfig /all&quot;. Now have a look for the &quot;physical adress&quot;.</description>
		<content:encoded><![CDATA[<p>First of all check your fathers MAC-Adress<br />
 (if you have access to his Mac/PC).<br />
If he&#8217;s using a Mac, open &#8220;Terminal&#8221; enter &#8220;ifconfig en1 | grep ether&#8221; write the MAC-Adress down.</p>
<p>Now go to your Mac and follow these steps:</p>
<p>^^^^^^^^^^^^^^^^^^^^^^^^^^<br />
John C. </p>
<p>Here’s my simplified version:</p>
<p>ifconfig en1 | grep ether<br />
^^^ Check Current Mac Address</p>
<p>sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z<br />
^^^ Disconnect from Networks</p>
<p>sudo ifconfig en1 ether 00:00:00:00:00:00<br />
^^^ Set New Mac Address &#8211; FILL IN THE NUMBERS YOU WROTE DOWN.</p>
<p>ifconfig en1 | grep ether<br />
^^^ Check Current Mac Address</p>
<p>^^^^^^^^^^^^^^^^^^</p>
<p>If the ifconfig shows you exactly the numbers you filled in, you are finished.</p>
<p>As long as you don&#8217;t shut down your Mac, it will look for the network, as you are your fathers PC/Mac.<br />
You should being able to have now internet access all the time.</p>
<p>I hope i&#8217;m right, you can do this also with the MAC-Adress of your siblings.<br />
If you want to figure the MAC-Adress on a Windows-PC just open &#8220;cmd&#8221; and enter &#8220;ipconfig /all&#8221;. Now have a look for the &#8220;physical adress&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Annie</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-307158</link>
		<dc:creator>Annie</dc:creator>
		<pubDate>Fri, 30 Dec 2011 09:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-307158</guid>
		<description>My step father blocks my internet during day and only allows me to access the internet for a 2 hour period in the evenings. Will spoofing my mac address allow me to have access to the internet? He blocks only my laptop and iPhone, no one else in the house gets this treatment. 

I am running 10.6.8 if that means anything.</description>
		<content:encoded><![CDATA[<p>My step father blocks my internet during day and only allows me to access the internet for a 2 hour period in the evenings. Will spoofing my mac address allow me to have access to the internet? He blocks only my laptop and iPhone, no one else in the house gets this treatment. </p>
<p>I am running 10.6.8 if that means anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neo</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-284637</link>
		<dc:creator>neo</dc:creator>
		<pubDate>Thu, 24 Nov 2011 00:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-284637</guid>
		<description>Tried this on OS Lion. The ether command returns the new mac address... however when i connect to a network only connection timeout ereor comes... any ideas?</description>
		<content:encoded><![CDATA[<p>Tried this on OS Lion. The ether command returns the new mac address&#8230; however when i connect to a network only connection timeout ereor comes&#8230; any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petar</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-278413</link>
		<dc:creator>Petar</dc:creator>
		<pubDate>Wed, 16 Nov 2011 11:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-278413</guid>
		<description>Hello,
I did it, but there is a problem - when I verify the new mac address there is nothing done, the MAC address is the original. I&#039;m using OS-X 10.4.11 and external wi-fi card (RTL) and Realtek WLAN Client Utility.

Can you help me?


Thanx a lot!</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I did it, but there is a problem &#8211; when I verify the new mac address there is nothing done, the MAC address is the original. I&#8217;m using OS-X 10.4.11 and external wi-fi card (RTL) and Realtek WLAN Client Utility.</p>
<p>Can you help me?</p>
<p>Thanx a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donnie Ringeisen</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-259223</link>
		<dc:creator>Donnie Ringeisen</dc:creator>
		<pubDate>Fri, 21 Oct 2011 01:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-259223</guid>
		<description>I do believe all the ideas you have introduced for your post. They&#039;re very convincing and will certainly work. Still, the posts are too brief for beginners. Could you please prolong them a little from subsequent time? Thanks for the post.</description>
		<content:encoded><![CDATA[<p>I do believe all the ideas you have introduced for your post. They&#8217;re very convincing and will certainly work. Still, the posts are too brief for beginners. Could you please prolong them a little from subsequent time? Thanks for the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-253620</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Thu, 13 Oct 2011 09:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-253620</guid>
		<description>Change &quot;airport&quot; to &quot;Wi-Fi&quot; for Lion</description>
		<content:encoded><![CDATA[<p>Change &#8220;airport&#8221; to &#8220;Wi-Fi&#8221; for Lion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-242586</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Sat, 24 Sep 2011 09:03:25 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-242586</guid>
		<description>This doesn&#039;t work under Lion for me:


#!/bin/bash
#
export PATH=/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
#
#echo ” ”
date
/usr/sbin/airport -z
counter=0
clear
#
MAILVAR=`date`
NUM_FILE=/tmp/Num_File
OLD_ETHER=`ifconfig en0 &#124; grep ether &#124; awk ‘{print $2}’`
#
#

if [ ! -f ${NUM_FILE} ]
then
touch ${NUM_FILE}
echo “0″ &gt;&gt; ${NUM_FILE}
fi
#exit_num=`cat ${NUM_FILE}`
exit_num=0

GET_HEX ()
{
if [[ ${VAR} -lt 10 ]]
then
HEX_VALUE=`echo ${VAR}`
fi

if [[ ${VAR} -eq &quot;10&quot; ]]
then
HEX_VALUE=a
fi
if [[ ${VAR} -eq &quot;11&quot; ]]
then
HEX_VALUE=b
fi
if [[ ${VAR} -eq &quot;12&quot; ]]
then
HEX_VALUE=c
fi
if [[ ${VAR} -eq &quot;13&quot; ]]
then
HEX_VALUE=d
fi
if [[ ${VAR} -eq &quot;14&quot; ]]
then
HEX_VALUE=e
fi
if [[ ${VAR} -eq &quot;15&quot; ]]
then
HEX_VALUE=f
fi

# echo “${HEX_VALUE}”
}

Make_Random_Hex ()
{
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} &#124; 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
}

Make_Random_Hex

echo “The new randomised Mac Addr we want to change to = ${FULL_HEX}”

NUM_VAL=`echo “${FULL_HEX}” &#124; tr ‘:’ ‘ ‘ &#124; awk ‘{print $1}’`
TESTED_VALUE=kk

if [[ ${exit_num} -eq 0 ]]
then
while [ ${exit_num} -eq &quot;0&quot; ]
do
ifconfig en0 ether ${FULL_HEX}
#/bin/sleep 0.2
VALUE=`ifconfig en0 &#124; grep ether`
TESTED_VALUE=`echo ${VALUE}&#124; awk ‘{print $2}’ &#124; awk -F: ‘{print $1}’`
echo “THE_NEW_NUMBER_WE WANT = ${NUM_VAL} THE_TESTED_VALUE = ${TESTED_VALUE}”
echo “`tput cup 0 1`”

if [ ${NUM_VAL} = ${TESTED_VALUE} ]
then
echo “`tput cup 5 1`”
ifconfig en0 down
sleep 8
ifconfig en0 up
sleep 8
NEW_ETHER=`ifconfig en0 &#124; grep ether &#124; awk ‘{print $2}’`
echo “The OLD ethernet mac = ${OLD_ETHER}”
echo “The NEW ethernet mac = ${NEW_ETHER}”
exit_num=1
echo “1″ &gt; ${NUM_FILE}
exit 0
fi

done
fi

if [ ${exit_num} -eq &quot;0&quot; ]
then
(( counter = ${counter} + 1 ))
if [ ${counter} -eq 356 ]
then
/Users/graeme/KSH-Scripts/test.ksh
#Spiner=XXXX
fi
fi
adammbair13:/ adam$ sudo ./test.ksh 
Sat Sep 24 02:01:49 PDT 2011
./test.ksh: line 7: /usr/sbin/airport: No such file or directory

.”test.ksh: line 66: [: -eq: unary operator expected
“/test.ksh: line 66: [: -eq: unary operator expected
./test.ksh: line 66: [: -eq: unary operator expected
./test.ksh: line 66: [: -eq: unary operator expected
./test.ksh: line 66: [: -eq: unary operator expected
.”test.ksh: line 66: [: -eq: unary operator expected
“The OLD ethernet mac = ”ddr we want to change to = e4:d9:36:93:a7:9a:”
“The NEW ethernet mac = ” string2
adammbair13:/ adam$ string1
       tr [-Ccu] -s string1
       tr [-Ccu] -ds string1 string2
“THE_NEW_NUMBER_WE WANT = THE_TESTED_VALUE = ”
“</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t work under Lion for me:</p>
<p>#!/bin/bash<br />
#<br />
export PATH=/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin<br />
#<br />
#echo ” ”<br />
date<br />
/usr/sbin/airport -z<br />
counter=0<br />
clear<br />
#<br />
MAILVAR=`date`<br />
NUM_FILE=/tmp/Num_File<br />
OLD_ETHER=`ifconfig en0 | grep ether | awk ‘{print $2}’`<br />
#<br />
#</p>
<p>if [ ! -f ${NUM_FILE} ]<br />
then<br />
touch ${NUM_FILE}<br />
echo “0″ &gt;&gt; ${NUM_FILE}<br />
fi<br />
#exit_num=`cat ${NUM_FILE}`<br />
exit_num=0</p>
<p>GET_HEX ()<br />
{<br />
if [[ ${VAR} -lt 10 ]]<br />
then<br />
HEX_VALUE=`echo ${VAR}`<br />
fi</p>
<p>if [[ ${VAR} -eq "10" ]]<br />
then<br />
HEX_VALUE=a<br />
fi<br />
if [[ ${VAR} -eq "11" ]]<br />
then<br />
HEX_VALUE=b<br />
fi<br />
if [[ ${VAR} -eq "12" ]]<br />
then<br />
HEX_VALUE=c<br />
fi<br />
if [[ ${VAR} -eq "13" ]]<br />
then<br />
HEX_VALUE=d<br />
fi<br />
if [[ ${VAR} -eq "14" ]]<br />
then<br />
HEX_VALUE=e<br />
fi<br />
if [[ ${VAR} -eq "15" ]]<br />
then<br />
HEX_VALUE=f<br />
fi</p>
<p># echo “${HEX_VALUE}”<br />
}</p>
<p>Make_Random_Hex ()<br />
{<br />
for i in {1..6}}<br />
do</p>
<p>VAR=$((RANDOM%15))<br />
GET_HEX</p>
<p>FULL_HEX=`echo ${FULL_HEX}${HEX_VALUE}`</p>
<p>VAR=$((RANDOM%15))<br />
GET_HEX</p>
<p>FIX_I=`echo ${i} | awk -F\} ‘{print $1}’`<br />
#echo $FIX_I<br />
if [ ${FIX_I} -eq 6 ]<br />
then<br />
FULL_HEX=`echo ${FULL_HEX}${HEX_VALUE}`<br />
else<br />
FULL_HEX=`echo ${FULL_HEX}${HEX_VALUE}:`<br />
fi</p>
<p>done<br />
}</p>
<p>Make_Random_Hex</p>
<p>echo “The new randomised Mac Addr we want to change to = ${FULL_HEX}”</p>
<p>NUM_VAL=`echo “${FULL_HEX}” | tr ‘:’ ‘ ‘ | awk ‘{print $1}’`<br />
TESTED_VALUE=kk</p>
<p>if [[ ${exit_num} -eq 0 ]]<br />
then<br />
while [ ${exit_num} -eq "0" ]<br />
do<br />
ifconfig en0 ether ${FULL_HEX}<br />
#/bin/sleep 0.2<br />
VALUE=`ifconfig en0 | grep ether`<br />
TESTED_VALUE=`echo ${VALUE}| awk ‘{print $2}’ | awk -F: ‘{print $1}’`<br />
echo “THE_NEW_NUMBER_WE WANT = ${NUM_VAL} THE_TESTED_VALUE = ${TESTED_VALUE}”<br />
echo “`tput cup 0 1`”</p>
<p>if [ ${NUM_VAL} = ${TESTED_VALUE} ]<br />
then<br />
echo “`tput cup 5 1`”<br />
ifconfig en0 down<br />
sleep 8<br />
ifconfig en0 up<br />
sleep 8<br />
NEW_ETHER=`ifconfig en0 | grep ether | awk ‘{print $2}’`<br />
echo “The OLD ethernet mac = ${OLD_ETHER}”<br />
echo “The NEW ethernet mac = ${NEW_ETHER}”<br />
exit_num=1<br />
echo “1″ &gt; ${NUM_FILE}<br />
exit 0<br />
fi</p>
<p>done<br />
fi</p>
<p>if [ ${exit_num} -eq "0" ]<br />
then<br />
(( counter = ${counter} + 1 ))<br />
if [ ${counter} -eq 356 ]<br />
then<br />
/Users/graeme/KSH-Scripts/test.ksh<br />
#Spiner=XXXX<br />
fi<br />
fi<br />
adammbair13:/ adam$ sudo ./test.ksh<br />
Sat Sep 24 02:01:49 PDT 2011<br />
./test.ksh: line 7: /usr/sbin/airport: No such file or directory</p>
<p>.”test.ksh: line 66: [: -eq: unary operator expected<br />
“/test.ksh: line 66: [: -eq: unary operator expected<br />
./test.ksh: line 66: [: -eq: unary operator expected<br />
./test.ksh: line 66: [: -eq: unary operator expected<br />
./test.ksh: line 66: [: -eq: unary operator expected<br />
.”test.ksh: line 66: [: -eq: unary operator expected<br />
“The OLD ethernet mac = ”ddr we want to change to = e4:d9:36:93:a7:9a:”<br />
“The NEW ethernet mac = ” string2<br />
adammbair13:/ adam$ string1<br />
       tr [-Ccu] -s string1<br />
       tr [-Ccu] -ds string1 string2<br />
“THE_NEW_NUMBER_WE WANT = THE_TESTED_VALUE = ”<br />
“</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NightLion &#124; Spoof your MAC address in OSX Lion and Snow Leopard &#8211; Quick 3 Step Guide.</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-237918</link>
		<dc:creator>NightLion &#124; Spoof your MAC address in OSX Lion and Snow Leopard &#8211; Quick 3 Step Guide.</dc:creator>
		<pubDate>Thu, 15 Sep 2011 15:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-237918</guid>
		<description>[...] Spoof your MAC address in OSX Lion and Snow Leopard &#8211; Quick 3 Step Guide. [...]</description>
		<content:encoded><![CDATA[<p>[...] Spoof your MAC address in OSX Lion and Snow Leopard &#8211; Quick 3 Step Guide. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mulder</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-224289</link>
		<dc:creator>Mulder</dc:creator>
		<pubDate>Wed, 17 Aug 2011 18:50:43 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-224289</guid>
		<description>Sorry, but this doesn&#039;t work for the Ethernet MAC address, although it used to on 10.4.11. I can change it, but then I can&#039;t connect to any web page, and if I reboot, it&#039;s changed back to the actual MAC address.

That doesn&#039;t help anyone, especially those that don&#039;t have WiFi, and cannot upgrade to any other version of Mac OS X.

Spoofing is especially helpful for those who print coupons on the web, since most of the vendors use a system from Fox (as in Fox News) that requires the installation of some software, and then use Java to keep you from saving the file as PDF, and log your MAC address to prevent you from printing more than two coupons.

It would be nice to have a way to spoof the Ethernet MAC address that works again, by letting you load web pages after you&#039;ve done it.</description>
		<content:encoded><![CDATA[<p>Sorry, but this doesn&#8217;t work for the Ethernet MAC address, although it used to on 10.4.11. I can change it, but then I can&#8217;t connect to any web page, and if I reboot, it&#8217;s changed back to the actual MAC address.</p>
<p>That doesn&#8217;t help anyone, especially those that don&#8217;t have WiFi, and cannot upgrade to any other version of Mac OS X.</p>
<p>Spoofing is especially helpful for those who print coupons on the web, since most of the vendors use a system from Fox (as in Fox News) that requires the installation of some software, and then use Java to keep you from saving the file as PDF, and log your MAC address to prevent you from printing more than two coupons.</p>
<p>It would be nice to have a way to spoof the Ethernet MAC address that works again, by letting you load web pages after you&#8217;ve done it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Master ksh Coder</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-223764</link>
		<dc:creator>Master ksh Coder</dc:creator>
		<pubDate>Tue, 16 Aug 2011 13:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-223764</guid>
		<description>Geez guys.

I read all of the above.. it is simple
just  run the code below in a terminal.. all will be solved.
..

enjoy

How to use it..   type==&gt;  sudo ./test.ksh

Code below.(save the file as test.ksh)
--------------------------------------------------
#!/bin/bash
#
export PATH=/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
#
#echo &quot; &quot;
date 
/usr/sbin/airport -z
counter=0
clear
#
MAILVAR=`date`
NUM_FILE=/tmp/Num_File
OLD_ETHER=`ifconfig en0 &#124; grep ether &#124; awk &#039;{print $2}&#039;`
#
#


if [ ! -f ${NUM_FILE} ]
then
        touch ${NUM_FILE}
        echo &quot;0&quot; &gt;&gt; ${NUM_FILE}
fi
#exit_num=`cat ${NUM_FILE}`
exit_num=0


GET_HEX ()
{       
        if [[ ${VAR} -lt 10 ]]
        then
                HEX_VALUE=`echo ${VAR}`
        fi

        if [[ ${VAR} -eq &quot;10&quot; ]]
        then
                HEX_VALUE=a
        fi
        if [[ ${VAR} -eq &quot;11&quot; ]]
        then
                HEX_VALUE=b
        fi
        if [[ ${VAR} -eq &quot;12&quot; ]]
        then
                HEX_VALUE=c
        fi
        if [[ ${VAR} -eq &quot;13&quot; ]]
        then
                HEX_VALUE=d
        fi
        if [[ ${VAR} -eq &quot;14&quot; ]]
        then
                HEX_VALUE=e
        fi
        if [[ ${VAR} -eq &quot;15&quot; ]]
        then
                HEX_VALUE=f
        fi

#       echo &quot;${HEX_VALUE}&quot;
}

Make_Random_Hex ()
{
        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} &#124; awk -F\} &#039;{print $1}&#039;`
                #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 
}


Make_Random_Hex

echo &quot;The new randomised Mac Addr we want to change to  =  ${FULL_HEX}&quot;

NUM_VAL=`echo &quot;${FULL_HEX}&quot; &#124; tr &#039;:&#039; &#039; &#039; &#124; awk  &#039;{print $1}&#039;`
TESTED_VALUE=kk

if [[ ${exit_num} -eq 0 ]]
then
while [ ${exit_num} -eq &quot;0&quot; ]
do
        ifconfig en0 ether ${FULL_HEX}
        #/bin/sleep 0.2
        VALUE=`ifconfig en0 &#124; grep ether`
        TESTED_VALUE=`echo ${VALUE}&#124; awk &#039;{print $2}&#039; &#124;  awk -F: &#039;{print $1}&#039;`
        echo &quot;THE_NEW_NUMBER_WE WANT = ${NUM_VAL}     THE_TESTED_VALUE = ${TESTED_VALUE}&quot;
        echo &quot;`tput cup 0 1`&quot;

        if [ ${NUM_VAL} = ${TESTED_VALUE} ]
        then
        echo &quot;`tput cup 5 1`&quot;
        ifconfig en0 down
        sleep 8
        ifconfig en0 up
        sleep 8
        NEW_ETHER=`ifconfig en0 &#124; grep ether &#124; awk &#039;{print $2}&#039;`
        echo &quot;The OLD ethernet mac = ${OLD_ETHER}&quot;
        echo &quot;The NEW ethernet mac = ${NEW_ETHER}&quot;
        exit_num=1
        echo &quot;1&quot; &gt; ${NUM_FILE}
        exit 0
        fi


done
fi

        if [ ${exit_num} -eq &quot;0&quot; ]
        then
                (( counter = ${counter} + 1 ))
                if [ ${counter} -eq 356 ]
                then
                        /Users/graeme/KSH-Scripts/test.ksh
                        #Spiner=XXXX 
                fi
        fi</description>
		<content:encoded><![CDATA[<p>Geez guys.</p>
<p>I read all of the above.. it is simple<br />
just  run the code below in a terminal.. all will be solved.<br />
..</p>
<p>enjoy</p>
<p>How to use it..   type==&gt;  sudo ./test.ksh</p>
<p>Code below.(save the file as test.ksh)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
#!/bin/bash<br />
#<br />
export PATH=/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin<br />
#<br />
#echo &#8221; &#8221;<br />
date<br />
/usr/sbin/airport -z<br />
counter=0<br />
clear<br />
#<br />
MAILVAR=`date`<br />
NUM_FILE=/tmp/Num_File<br />
OLD_ETHER=`ifconfig en0 | grep ether | awk &#8216;{print $2}&#8217;`<br />
#<br />
#</p>
<p>if [ ! -f ${NUM_FILE} ]<br />
then<br />
        touch ${NUM_FILE}<br />
        echo &#8220;0&#8243; &gt;&gt; ${NUM_FILE}<br />
fi<br />
#exit_num=`cat ${NUM_FILE}`<br />
exit_num=0</p>
<p>GET_HEX ()<br />
{<br />
        if [[ ${VAR} -lt 10 ]]<br />
        then<br />
                HEX_VALUE=`echo ${VAR}`<br />
        fi</p>
<p>        if [[ ${VAR} -eq "10" ]]<br />
        then<br />
                HEX_VALUE=a<br />
        fi<br />
        if [[ ${VAR} -eq "11" ]]<br />
        then<br />
                HEX_VALUE=b<br />
        fi<br />
        if [[ ${VAR} -eq "12" ]]<br />
        then<br />
                HEX_VALUE=c<br />
        fi<br />
        if [[ ${VAR} -eq "13" ]]<br />
        then<br />
                HEX_VALUE=d<br />
        fi<br />
        if [[ ${VAR} -eq "14" ]]<br />
        then<br />
                HEX_VALUE=e<br />
        fi<br />
        if [[ ${VAR} -eq "15" ]]<br />
        then<br />
                HEX_VALUE=f<br />
        fi</p>
<p>#       echo &#8220;${HEX_VALUE}&#8221;<br />
}</p>
<p>Make_Random_Hex ()<br />
{<br />
        for i in {1..6}}<br />
        do</p>
<p>                VAR=$((RANDOM%15))<br />
                GET_HEX</p>
<p>                FULL_HEX=`echo ${FULL_HEX}${HEX_VALUE}`</p>
<p>                VAR=$((RANDOM%15))<br />
                GET_HEX</p>
<p>                FIX_I=`echo ${i} | awk -F\} &#8216;{print $1}&#8217;`<br />
                #echo $FIX_I<br />
                if  [ ${FIX_I} -eq 6 ]<br />
                then<br />
                        FULL_HEX=`echo ${FULL_HEX}${HEX_VALUE}`<br />
                else<br />
                        FULL_HEX=`echo ${FULL_HEX}${HEX_VALUE}:`<br />
                fi</p>
<p>        done<br />
}</p>
<p>Make_Random_Hex</p>
<p>echo &#8220;The new randomised Mac Addr we want to change to  =  ${FULL_HEX}&#8221;</p>
<p>NUM_VAL=`echo &#8220;${FULL_HEX}&#8221; | tr &#8216;:&#8217; &#8216; &#8216; | awk  &#8216;{print $1}&#8217;`<br />
TESTED_VALUE=kk</p>
<p>if [[ ${exit_num} -eq 0 ]]<br />
then<br />
while [ ${exit_num} -eq "0" ]<br />
do<br />
        ifconfig en0 ether ${FULL_HEX}<br />
        #/bin/sleep 0.2<br />
        VALUE=`ifconfig en0 | grep ether`<br />
        TESTED_VALUE=`echo ${VALUE}| awk &#8216;{print $2}&#8217; |  awk -F: &#8216;{print $1}&#8217;`<br />
        echo &#8220;THE_NEW_NUMBER_WE WANT = ${NUM_VAL}     THE_TESTED_VALUE = ${TESTED_VALUE}&#8221;<br />
        echo &#8220;`tput cup 0 1`&#8221;</p>
<p>        if [ ${NUM_VAL} = ${TESTED_VALUE} ]<br />
        then<br />
        echo &#8220;`tput cup 5 1`&#8221;<br />
        ifconfig en0 down<br />
        sleep 8<br />
        ifconfig en0 up<br />
        sleep 8<br />
        NEW_ETHER=`ifconfig en0 | grep ether | awk &#8216;{print $2}&#8217;`<br />
        echo &#8220;The OLD ethernet mac = ${OLD_ETHER}&#8221;<br />
        echo &#8220;The NEW ethernet mac = ${NEW_ETHER}&#8221;<br />
        exit_num=1<br />
        echo &#8220;1&#8243; &gt; ${NUM_FILE}<br />
        exit 0<br />
        fi</p>
<p>done<br />
fi</p>
<p>        if [ ${exit_num} -eq "0" ]<br />
        then<br />
                (( counter = ${counter} + 1 ))<br />
                if [ ${counter} -eq 356 ]<br />
                then<br />
                        /Users/graeme/KSH-Scripts/test.ksh<br />
                        #Spiner=XXXX<br />
                fi<br />
        fi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pax</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-196384</link>
		<dc:creator>Pax</dc:creator>
		<pubDate>Thu, 12 May 2011 09:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-196384</guid>
		<description>Correct me if I&#039;m wrong, but this is the trick to get free Dropbox space, right ?
As I didn&#039;t want to mess in OSX I used random MAC adresses before booting on a VM of Ubuntu via Parallels. Parallels lets you randomize a MAC adress in the pref of the VM. The only thing you gotta do, is doing it while VM is OFF, and you gotta reboot the VM each time you randomize.

Reply if unclear.</description>
		<content:encoded><![CDATA[<p>Correct me if I&#8217;m wrong, but this is the trick to get free Dropbox space, right ?<br />
As I didn&#8217;t want to mess in OSX I used random MAC adresses before booting on a VM of Ubuntu via Parallels. Parallels lets you randomize a MAC adress in the pref of the VM. The only thing you gotta do, is doing it while VM is OFF, and you gotta reboot the VM each time you randomize.</p>
<p>Reply if unclear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reed</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-194671</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Wed, 04 May 2011 04:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-194671</guid>
		<description>After some web searching and trial and error I have figured out how to spoof both ethernet and airport MAC&#039;s for 10.5.8 on my Macbook Pro.  Airport must be on but disassociated as explained in previous posts.  Ethernet works while you are on or offline, though if online, you will lose connection since your network settings have changed. 

For clarification, the first 2 commands show the preset MAC addresses (I obviously censored mine, but you get the idea). Next I spoof the adresses and confirm it worked as I go.  First is the ethernet (en0) and then airport (en1). 

MacBook33-2:~ mycomp$ ifconfig en0 &#124; grep ether
	ether xx:xx:xx:xx:xx:xx 
MacBook33-2:~ mycomp$ ifconfig en1 &#124; grep ether
	ether yy:yy:yy:yy:yy:yy 
MacBook33-2:~ mycomp$ sudo ifconfig en0 lladdr aa:aa:aa:aa:aa:aa
Password:
MacBook33-2:~ mycomp$ ifconfig en0 &#124; grep ether
	ether aa:aa:aa:aa:aa:aa 
MacBook33-2:~ mycomp$ sudo ifconfig en1 ether ee:ee:ee:ee:ee:ee
MacBook33-2:~ mycomp$ ifconfig en1 &#124; grep ether
	ether ee:ee:ee:ee:ee:ee 

Hope this helps someone out there.</description>
		<content:encoded><![CDATA[<p>After some web searching and trial and error I have figured out how to spoof both ethernet and airport MAC&#8217;s for 10.5.8 on my Macbook Pro.  Airport must be on but disassociated as explained in previous posts.  Ethernet works while you are on or offline, though if online, you will lose connection since your network settings have changed. </p>
<p>For clarification, the first 2 commands show the preset MAC addresses (I obviously censored mine, but you get the idea). Next I spoof the adresses and confirm it worked as I go.  First is the ethernet (en0) and then airport (en1). </p>
<p>MacBook33-2:~ mycomp$ ifconfig en0 | grep ether<br />
	ether xx:xx:xx:xx:xx:xx<br />
MacBook33-2:~ mycomp$ ifconfig en1 | grep ether<br />
	ether yy:yy:yy:yy:yy:yy<br />
MacBook33-2:~ mycomp$ sudo ifconfig en0 lladdr aa:aa:aa:aa:aa:aa<br />
Password:<br />
MacBook33-2:~ mycomp$ ifconfig en0 | grep ether<br />
	ether aa:aa:aa:aa:aa:aa<br />
MacBook33-2:~ mycomp$ sudo ifconfig en1 ether ee:ee:ee:ee:ee:ee<br />
MacBook33-2:~ mycomp$ ifconfig en1 | grep ether<br />
	ether ee:ee:ee:ee:ee:ee </p>
<p>Hope this helps someone out there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-191486</link>
		<dc:creator>a</dc:creator>
		<pubDate>Mon, 18 Apr 2011 04:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-191486</guid>
		<description>&gt; success on 10.6.5.
&gt; not all mac ranges work.
&gt; not sure 5 pair fail is needed.
&gt; all 00 mac may not work for some.

•&gt; sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
••&gt;sudo airport -z
•••&gt;sudo ifconfig en1 ether 00:00:00:00:00
••••&gt;sudo ifconfig en1 ether 00:00:00:00:00:09
•••••&gt;ifconfig en1 &#124; grep ether</description>
		<content:encoded><![CDATA[<p>&gt; success on 10.6.5.<br />
&gt; not all mac ranges work.<br />
&gt; not sure 5 pair fail is needed.<br />
&gt; all 00 mac may not work for some.</p>
<p>•&gt; sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport<br />
••&gt;sudo airport -z<br />
•••&gt;sudo ifconfig en1 ether 00:00:00:00:00<br />
••••&gt;sudo ifconfig en1 ether 00:00:00:00:00:09<br />
•••••&gt;ifconfig en1 | grep ether</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinicius</title>
		<link>http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-174234</link>
		<dc:creator>Vinicius</dc:creator>
		<pubDate>Wed, 23 Feb 2011 15:02:32 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/#comment-174234</guid>
		<description>Hi, I did what&#039;s on the page, and pops two numbers like this:
    ether 00:1f:5b:3a:a4: 44
    ether 00:1f:5b:3a:a4:45

could someone help me, what is the correct mac address
may be by e-mail (vcantalejo@msn.com)

 Thanks
 Vinicius</description>
		<content:encoded><![CDATA[<p>Hi, I did what&#8217;s on the page, and pops two numbers like this:<br />
    ether 00:1f:5b:3a:a4: 44<br />
    ether 00:1f:5b:3a:a4:45</p>
<p>could someone help me, what is the correct mac address<br />
may be by e-mail (vcantalejo@msn.com)</p>
<p> Thanks<br />
 Vinicius</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/3 queries in 0.001 seconds using disk: basic
Object Caching 344/344 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2012-05-23 15:52:27 -->
