Skip navigation

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

17574 Views 14 Replies Latest reply: Sep 4, 2010 4:18 AM by Alviater RSS
limo79 Calculating status...
Currently Being Moderated
Apr 28, 2008 9:16 AM
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)
  • varjak paw Level 10 Level 10 (167,195 points)
    The MAC address is embedded into the Ethernet hardware/firmware and is not changeable. What is it you need to accomplish that leads you to believe you need to change the MAC address?
    Mac Pro 2.66Ghz 4GB, Mac OS X (10.5.2), PowerMac G5 DP w/ Mac OS X 10.5.2; Dell w/ Windows XP SP2
  • varjak paw Level 10 Level 10 (167,195 points)
    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
    Mac Pro 2.66Ghz 4GB, Mac OS X (10.5.2), PowerMac G5 DP w/ Mac OS X 10.5.2; Dell w/ Windows XP SP2
  • varjak paw Level 10 Level 10 (167,195 points)
    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.
    Mac Pro 2.66Ghz 4GB, Mac OS X (10.5.2), PowerMac G5 DP w/ Mac OS X 10.5.2; Dell w/ Windows XP SP2
  • shoarthing Calculating status...
    . . without any impertinent malarkey about why you should want to do this; it appears to be tricky to spoof eth0 (wired) in Leopard, tho' possible to spoof eth1 (Airport) - perhaps it might be less tricky if you install 10.4.10 - yes, this can be done to a Penryn MBP.

    Message was edited by: shoarthing
    17" Penryn MBP, Mac OS X (10.5.2)
  • Brandon Torrigino Calculating status...
    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.
    15inch MacBook Pro 2.4GHz Intel, Mac OS X (10.5.2)
  • yttrx Calculating status...
    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?
    Macbook Pro 2.4ghz, Mac OS X (10.5.4)
  • yttrx Level 1 Level 1 (0 points)
    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.
    Macbook Pro 2.4ghz, Mac OS X (10.5.4)
  • _Rob_ Calculating status...
    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
    Mac OS X (10.5.4)
  • Joe Buczek Calculating status...
    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
    MacBook Pro (Intel Core 2 Duo), Mac OS X (10.5.7)
  • Jolindien Calculating status...
    Hello,
    Your trick works perfectly on 10.5.7 with airport.
    but is also a trick for ethernet (i.e en0)?
    Thx
    Macbook, Mac OS X (10.5.6)
  • Alviater Calculating status...
    Currently Being Moderated
    Sep 4, 2010 4:18 AM (in response to Joe Buczek)
    This process is automated with MacSpoofer (freeware), download it from www.macspoofer.com
    Macbook Pro, Mac OS X (10.6.4)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.