darwin MAC address spoof

Discussion in 'General Mac Discussion' started by qwerty007, Jan 22, 2004.

  1. qwerty007 macrumors newbie

    Mar 7, 2003
    I have done a lot of research on how to spoof a MAC address and all I have come up with so far is this and it appears to be the only solution. But my only question is how do I get it to work, I really could use some more detailed and user friendly instructions.

    Building a Darwin kernel is a little different than building one in Open, Free, or NetBSD, so I've included brief directions. If you're a seasoned Darwin user or developer, you likely have all the tools ready to go to build xnu, the source tree for the Darwin kernel. If so, skip ahead to step 5. However, if you've just installed Mac OS X, you likely don't have everything you need to compile kernels, and there are a few steps to go through:
    Grab and install the developer tools from Apple's developer site if you haven't already.

    make and make install relpath from the bootstrap_cmds project.

    make and make install the Libstreams project.

    Unpack the cctools project,

    make all in the libstuff directory,

    make macos_all in the misc directory and install seg_hack.NEW as /usr/local/bin/seg_hack,

    make macos in the libmacho directory and install otmp_obj/libmacho_static.a in /usr/local/lib, and

    make kld_build in the ld directory and install static_kld/libkld.a in /usr/local/lib.

    [Mac OS X 10.3 / Darwin 7.0 only] Build kextsymboltool from the kext_tools project and install in /usr/local/bin. You will need to pull in headers from the IOKitUser project and cctools.

    Build the xnu project with the patches of your choice below, the proper options in bsd/conf/MASTER, and the directions in the READMEsupplied by Apple in the xnu tarball. Install your new kernel at /mach_kernel. It goes without saying that you should back up your old one first.

    Reboot your box.

    I've encountered or heard about a variety of very different compile-time problems, depending on the version of the operating system and the developer tools you're using; if this is the case, try fiddling around with gcc_select.
  2. nadal macrumors newbie

    Mar 19, 2004
    Same problem for me, I recently switch to apple (PB 15" with airport extrem) and I'm really interested in spoofing my MAC address.

    I have some programming skills, but never use darwin. I also try to follow those informations above, but find it not clear at all. Could anybody translate it plz...

    thx for further help.
  3. jeremy.king macrumors 603


    Jul 23, 2002
    Fuquay Varina, NC
  4. nadal macrumors newbie

    Mar 19, 2004
    I already know this method, but as it's said in the post it's only for an ethernet connection. In my case it's using my airport card and it doesn't work.

    thx for your help...
  5. jeremy.king macrumors 603


    Jul 23, 2002
    Fuquay Varina, NC
    I was actually responsding to qwerty's post. No need to recompile, but in your case, couldn't you do the same as what ElectricSheep posted and change the id in the ifconfig command.

    To see a list of all the interfaces, just type ifconfig with no parameters and it will return a summary of interfaces. the id associated with each is on the left hand side.

Share This Page