Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

MAC address change under MacBook Pro MB133PL/A (Penryn) with Mac OSX 10.5.2

Hi,

Do you know how to change MAC address of ethernet LAN card (not Wi-Fi) under MacBook Pro MB133PL/A (Penryn) with Mac OSX 10.5.2 (Leopard) ?

Thanks,

MB133PL/A, Mac OS X (10.5.2), 15,4" MacBook Pro (Penryn)

Posted on Apr 28, 2008 9:16 AM

Reply
14 replies

Apr 29, 2008 4:28 AM in response to varjak paw

I partially agree, but most network cards using Realtek chipsets have driver option to change/spoof MAC address even if hardware MAC is embedded. I made some investigation using Google - under Mac OSX Tiger users it was possible to change en0 LAN network card MAC addresss, but for en1 Airport wireless network card it was not possible. Now under Leopard OSX situation is reversed - as I know you can change only MAC address of en1 Airport Wireless network card, but for en0 LAN network card trick does not work at all. I am a little bit dissapointed that Apple does not include such simple option in Leopard OS 😟

Message was edited by: limo79

Apr 29, 2008 7:28 AM in response to limo79

Again, what is it that you're trying to accomplish? I can't think of many good reasons to need to spoof a MAC address (and yes I know it's possible in some circumstances), but perhaps if you'll explain what it is you need to spoof the MAC address for, someone may be able to come up with a suggestion.

Message was edited by: Dave Sawyer

Apr 29, 2008 10:07 AM in response to varjak paw

My colleague took his Toshiba Satellite on business trip and I tried to connect to internet. Most providers ask you about MAC address when they install your internet network and it was set according to Toshiba Satellite MAC address. The only way to get an access to internet was to spoof (change) MAC address like in Toshiba Satellite. Under Windows it was easy operation.

Message was edited by: limo79

Apr 29, 2008 10:17 AM in response to limo79

If a provider is asking for the MAC address, it may be that their contract is for a single system only. I've not heard of such a restriction, but it could be that some ISP has such a restriction. If that is the case, then we cannot help you get around it since that would be violating the ISP's terms of use.

If there is a cable/DSL modem in place, it may just need to be reset to pick up your system's MAC address. That's fairly common with cable and DSL modems. Then when your colleague comes back, he's had to reset the modem again to get the Toshiba to connect.

Apr 30, 2008 3:13 AM in response to varjak paw

Sometimes internet providers use MAC address to limit internet access only for a single user machine, but I would like to clarify that I do want to be against ISP's terms of use. I can tell you some situation from the past - during my studies I upgraded my PC with new mobo with integrated Realtek LAN card (EPOX 8rda+). Previously I had external Realtek LAN card. It was much more easy to put my old MAC address in Realtek driver options than fill a new form with new MAC address and to give it to network admin.

May 12, 2008 2:20 PM in response to shoarthing

I use the terminal.

sudo ifconfig en0 lladdr /enter valid mac address here without the slashes/

press return

enter superuser password

press return

This will change the regular wired ethernet port on you MBP. To change the wireless MAC you should replace the en0 with an en1 but if you have a Airport v1.0 card then it will not work. It might work if you have a v2.0 but people seem to have off an on success with that. Also you can attempt putting ether in place of lladdr if you still have issues that need troubleshooting.

I know there are some legit reasons to change the MAC address and many non-legit ones but lets just say for instance a friend of yours has a network or wireless and they forgot their password to control the settings on that network. Long ago when they made the network they limited access to it by binding it to certain MAC addresses namely theirs. Now they have given you permission to use the network but you can't because your computer does not have their mac address. They cannot make the network give you permission because they forgot their password so they give you thier MAC address and let you trick their network into thinking your computer is actually your friend's and then you are able to surf the internet. They won't just let you use their computer cause they need to write an essay offline for a few hours. This does not violate any terms of service, you got permission and unless there are some other extenuating circumstances this is a legit move. I assume this is the exact reason you want this information.

Aug 4, 2008 8:05 PM in response to shoarthing

Its probably less tricky than you think, and no malarkey. I have to spoof MAC addresses as part of my work, which is in the security audit/penetration testing field. Spoofing a MAC address is a very basic part of a good network security testing toolkit. The answer was too obvious, and it took me weeks to figure it out:

Turn off the airport.

When I turn off the airport on my Macbook Pro, I am able to alter the MAC address on the ethernet interface.

That is not to say that this doesn't suck. As a result of having to turn off a network interface in order to modify another one, it takes many times longer to complete an audit than it would if say, it were as easy as it is under FreeBSD.

I would very much like a better solution than this. Apple? Any ideas?

Aug 4, 2008 8:10 PM in response to varjak paw

Sure you can change it, despite it being embedded in the hardware. Changing a MAC address, depending on the drivers involved, shouldn't mean changing anything on the hardware itself, but instead dropping an "answerer" between the hardware and the request. The request should never poll the hardware directly (big hole there), but instead query the driver for the information, which the driver should be aware of without having to poll the hardware each time--which is why the middle-man option works.

In fact, I think there's probably a way to write an application that listens for this kind of thing and responds appropriately for any interface, without having to talk to the driver at all. Hmm.

Aug 6, 2008 6:30 AM in response to yttrx

yttrstein wrote:
Its probably less tricky than you think, and no malarkey. I have to spoof MAC addresses as part of my work, which is in the security audit/penetration testing field. Spoofing a MAC address is a very basic part of a good network security testing toolkit. The answer was too obvious, and it took me weeks to figure it out:

Turn off the airport.

When I turn off the airport on my Macbook Pro, I am able to alter the MAC address on the ethernet interface.


Unfortunately, this doesn't work for me. No matter what interfaces are up/down, I am still unable to change en0's MAC address. The command completes with no error message, but the MAC remains the same.

The machine in question is:

MacBookPro3,1
2.2 C2D
10.5.4
MBP31.0070.B02

Any other suggestions?

Thanks,
Rob

Jul 2, 2009 9:20 AM in response to limo79

Summary, assuming you want to do this on a wifi connection:

1. Do not turn off Airport
2. Choose “Join other network…” from the Airport menu
3. Enter a bogus network name, e.g. fubar
4. Choose "Cancel", leaving en1 "on" but not associated
5. In a terminal window, enter: sudo ifconfig en1 xx:xx:xx:xx:xx:xx: (your new MAC)
6. Choose the network you wish to join (or re-join) from the Airport menu

After step 4, if you want to verify you’ve really changed your MAC address, in a terminal window, run the command, "ifconfig en1" and look for the “ether xx:xx:xx:xx:xx:xx:” value it outputs. It should match the new MAC address you entered.

This works for me on a MacBook Pro (Intel Core 2 Duo) running 10.5.7.

Hope this helps,
--Joe

Message was edited by: Joe Buczek

MAC address change under MacBook Pro MB133PL/A (Penryn) with Mac OSX 10.5.2

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.