Ethernet Built In

About:

This guide will walk you through step by step on how to edit your own ethernet card code that will allow to remove Ethernet Built In = Yes. This can be very useful when you are trying either to have a more vanilla installation or want less boot flags.

Accreditation:

Krazubu post found here

Guide:

1. Open IOreg App:

Screen Shot 2013-02-10 at 5.03.50 PM

2. Locate the address location of your Ethernet Card

3. Record this address of your Ethernet Card

4. Open up your DSDT.aml in your editor of your choice:

Screen Shot 2012-07-12 at 9.39.33 PM

5. Download this text document here

6. Locate the Ethernet Card address that you recorded earlier

7. My code on my DSDT looked like the following before inserting the edit:

Screen Shot 2013-02-10 at 5.05.56 PM

8. Copy the enter code from that section in your DSDT and paste it over the text in the document (that was provided) that is in bold. Be sure to leave out the last } when you copy the code from the DSDT over to the document

9. My code after the edit looked like the following:

OperationRegion (GPIO, SystemIO, 0x0800, 0x06)
Field (GPIO, ByteAcc, NoLock, Preserve)
{
GO01,   8,
GO02,   8,
GO03,   8,
GO04,   8,
GO05,   8,
GP9,    1
}
Device (LAN0)
{
Name (_ADR, 0x001C0001)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x09, 0x04))
}
Method (_PRT, 0, NotSerialized)
{
If (PICM)
{
Return (AR05)
}
Return (PR05)
}
Device (GIGE)
{
Name (_ADR, Zero)
Name (_PRW, Package (0x02)
{
0x09,
0x03
})
Method (EWOL, 1, NotSerialized)
{
If (LEqual (Arg0, One))
{
Or (GP9, One, GP9)
}
Else
{
And (GP9, Zero, GP9)
}
If (LEqual (Arg0, GP9))
{
Return (Zero)
}
Else
{
Return (One)
}
}
}
}

10. Now insert the edit over the old device in your DSDT.

11. Now compile your DSDT and you should not receive any errors. Now save your DSDT to your desktop as DSDT.aml

12. Now go into your org.chameleon.Boot.plist and set Ethernet Built In =No or remove the code completely and save the document

13. Restart and when you restart you should be able to log into the App Store and use Face Time as it was before with Ethernet Built In =Yes and if not review what you have done

14.  IOreg file and locate the address location of your Ethernet Card again. You will notice a new device called GIGE@0. In IOreg the device will look like the following:

Note if it does not look like this your edit is incorrect

Advertisements

33 Responses to Ethernet Built In

  1. Pingback: How To Inject Ethernet Built In Into A DSDT | rampagedev

  2. Mani says:

    I have an ultrabook UX31A which dose not have builtin ethernet.
    I want to hack DSDT so tht USB ethernet appears to be builtin. This is needed for App store. I m using USB wifi adapter as on board Intel wifi chip has no driver in mac. I tried EFI studio but it dose not find ethernet
    In your post you are doing the other way round. Removing builtin.
    I can see in my ioreg that USB ethernet is IObuiltIn=False
    In my DSDT i dont see LAN0 though.
    I tried to add GIGE as ethernet under PCI0 in DSDT but tht didnt help.
    I have added EthernetBuiltin=True to Clvoer boot as well as SystemId.
    Still i m getting IOBuiltin=False.
    Can you help me in fixing DSDT.Do i send you my DSDT and ioreg.
    Thx,
    Mani !

    • rampagedev says:

      USB devices are effected when regarding the DSDT. Thus this solution will not work. So please do not spend any more time looking at the DSDT to fix this issue.

      • Sam says:

        Does a wifi card work?

        My ethernet card is not supported by OSX and no driver for it, so I use a genus apple wifi card installed on a pci-e card to get internet, but I cannot log into app store, icould, imessage,facetime. I am able to login iTunes and game center.

        Any advices?
        Thanks

        Sam

      • rampagedev says:

        No. You alway need a ethernet port as EN0. Have you tried using the boot flag for your ethernet to set it to EN0?

  3. Sam says:

    I don’t even know what boot flag is.
    sry
    so noob
    How do you do that?
    My question is : Do I have to have a working ethernet card in OSX system to make app store work?

    A wifi card wont work, right?

    • rampagedev says:

      Wifi can work with it but you need working lan.

      • Sam says:

        I’m confused.
        My Ethernet Card is working perfectly in windows.
        My board has 2LAN ports, and I disable one in the bios.
        LAN Chipset: Generic Marvell Yukon 88E8057 PCI-E Gigabit Ethernet Controller
        It doesn’t support by the OSX according to this post http://legacy.tonymacx86.com/viewtopic.php?f=19&t=9421

        For my understanding, I can buy a pci network card which support by OSX, let the system put it on en0, then I can use my wifi card without the pci card. Is that right?

        Thank you.
        Sam

      • rampagedev says:

        You need working lan in mac for any of the things you want working to work. Regardless if you use wifi.

  4. Sam says:

    Thank you very much!

  5. Juan says:

    Thanks friend, I have worked 100%! excellent. I connect to Facetime, Imessage, AppStore and iCloud without the Boot.plist EthernetBuiltIn = Yes

  6. jeph manasan says:

    Hi Andrew, I have p8z77-v premium board with two intel ethernet ports. These two lan are working after a fresh install but after I installed w/o DSDT option with multibeast the two lan ports are gone. Please take note that I have an original airport extreme installed in my pci slot and it is recognized as en0 in IOreg. I suspect the problem is caused by EthernetBuilt-in = Yes boot flag. what if I remove it totally will it affect my WIFI connectivity and ability to log on to App Store, ICloud etc. I will try your DSDT edits a try and see what I could come up with. One more thing, will I do the same edits with my airport card or there is no need? Thanks! your guide rocks!

  7. Leo Garcia says:

    Does HP NC360T work as built-in so app store, imessage, and the other apple apps can login without error with motherboards that don’t have supported NICs like the sr-2 or just blown/fried/defective NICs?

    • rampagedev says:

      The DSDT edit is needed for this card as it uses Apples drivers. That said sometimes you can not map out the card in the DSDT as adding code can cause issues with more then 2 GPUs with that board.

  8. Rom1 says:

    I have a centrino N 6235 (WLAN in DSDT)
    I am trying to make this PCI-e card appear as LAN
    I just hope to have something appears as EthernetBuitIn even if I don’t plan to use it. I have a working USB Ethernet dongle.
    Do you think that would work ?
    . Asus Zenbook UX31A

  9. alterego74 says:

    What do you mean by “address location” I am unable to find this in the IODeviceTree???

  10. mrjayviper says:

    how do I perform step2? “Locate the address location of your Ethernet Card”

    I am connected to the net using the built-in ethernet so I know it’s working (typing this on my hackintosh). thanks

  11. mrjayviper says:

    other than logging in to icloud, what other way can I determine if my hackintosh already thinks “ethernet built-in=yes” (without using the ethernet built-in=yes in org.chameleon.Boot.plist).

    thanks again

  12. liquid_ic says:

    Hi Rampagedev,

    I have been following your work for sometime now, thanks for all your efforts in the community. I am currently on my 3rd hack. My currently hack z77x up5 th has issues with the intel nic. The new kexts release for the on board nic is very unstable. I was looking for a nic that worked out of the box. I purchased an apple thunderbolt to ethernet adapter. This has worked extremely well so far. I was wondering if there is any way to edit my DSDT to see the card as built-in. From my understanding thunderbolt is an extension of the pcie bus. So in theory this would be like an add on card. No ?

    Thanks for your help.

    Liquid_ic

  13. thejay69 says:

    Sorry, it must be a lot of days with my hack laptop HP Compaq nx9420 CPU T5600 ATI X1600 … very tired 😦

    I´m with IOreg at point 2 but I don´t know how to locate the address location of my Ethernet Card … it´s a BCM5753M [14E4:16FD] NETXTREME GIGABIT

    Can you be more detailed in it ?

    Thanks in advance

  14. liquid_ic says:

    @Rampagedv How would you do the edit for dual NIC card. Located at PEG1 ?

    I got the Intel Pro 1000/PT. Trying to do a dsdt so both ports are seen as built-in

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s