Jump to content

Editing kext and plist files for the Realtek RTL8139


Harvey
 Share

10 posts in this topic

Recommended Posts

Hi,

I recently brought a realtek rtl8139 and tried to get it to work, however it won't, i can't get the internet to work at all, not even with vmware, can any1 tell me how i can edit some files to make it work because on the wiki page it says that they all work.

Thanks Harvey

Link to comment
Share on other sites

I recently brought a realtek rtl8139 and tried to get it to work, however it won't, i can't get the internet to work at all, not even with vmware, can any1 tell me how i can edit some files to make it work

This is all I can do for you. It is up to you to pull it off.

 

 

Get vendor and device id's

Using System Profiler in OSX
- Open System Profiler (in the Utilities folder)

- On the left, click on PCI cards

- On the right, find the Ethernet card and read the Vendor ID and Device ID

- If the Ethernet card doesn't show up, need to go to Windows

-or-

 

Using Device Manager in Windows

- Boot Windows

- Go to Device Manager

- Find Network Devices

- Find Ethernet card

- Get Properties

- Click on Details tab

- Read Vendor ID and Device ID

Build device string

- Build a string of the form: 0x + (device id) + (vendor id)

- As an example, if the Vendor ID=10ec and the Device ID=8139, then the string is 0x + 8139 + 10ec or 0x813910ec

Backup the kext to the Desktop

Open Terminal (in the Utilities folder) and type the following:
sudo cp -R /System/Library/Extensions/IONetworkingFamily.kext /Users/(whatever-your-user-name-is)/Desktop/

Edit the kext

In Terminal, type the following:
sudo nano /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL8139Ethernet.kext/Contents/Info.plist

- Scroll down and find the following:
<key>IOPCIMatch</key>

<string>0x813910ec 0x13001186 0x12111113</string>

- Change one of those strings to match your device string created above.

- If your device string already exists, you are done, there is nothing more you can do.

- Press Control-O to save

- Press Control-X to exit
Clean up the System

In Terminal, type the following:
sudo rm -R /System/Library/Extensions.mkext
sudo rm -R /System/Library/Extensions.kextcache
diskutil repairPermissions /

Reboot

If something screws up, restore your backed-up kext

In Terminal, type:
sudo cp -Rf /Users/(whatever-your-user-name-is)/Desktop/IONetworkingFamily.kext /System/Library/Extensions/
sudo rm -R /System/Library/Extensions.mkext
sudo rm -R /System/Library/Extensions.kextcache
diskutil repairPermissions /

Reboot

Link to comment
Share on other sites

I don't understand i did everything correct, and it still doesn't work
its 0x19048139

Well, you didn't do this one correct.

 

The vendor id=1904 and the device id=8139

 

I said:

Build a string of the form: 0x + (device id) + (vendor id)

so that should be 0x81391904

 

What else did you not get correct?

Link to comment
Share on other sites

Rammjet please help me!

 

I said in my first posting:

This is all I can do for you. It is up to you to pull it off.

 

We know that you had trouble following the step to make the device string.

 

I don't know if you really found the correct vendor id. And I don't know if you really followed the other steps correctly. And I don't want you to start dumping pictures and files on me to review and correct for you.

Link to comment
Share on other sites

 Share

×
×
  • Create New...