Jump to content

Driver for Realtek's RTL810x Fast Ethernet Series

Realtek RTL8105 RTL8101 RTL8102 RTL8106 RTL8103 RTL8401 RTL8402 driver

  • Please log in to reply
78 replies to this topic

#61
joeryru

joeryru

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Can someone build the kext for me(Im using mavericks 10.9.0) I want try to build it with my own but my connection too slow to downloading xcode..realy appreciated if someone able to help me..

#62
Mieze

Mieze

    Giant Cat

  • Coders
  • 573 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

Can someone build the kext for me(Im using mavericks 10.9.0) I want try to build it with my own but my connection too slow to downloading xcode..realy appreciated if someone able to help me..

 

Use the latest prebuilt version posted in this thread.

 

Mieze



#63
Mieze

Mieze

    Giant Cat

  • Coders
  • 573 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

@lisai9093: There is a DOS diagnostic utility available for download at Realtek's website. It's name is RSET8136 and, although I haven't checked myself, it might have an option to rewrite the NIC's EEPROM in order to restore the original MAC address. Please see: http://www.realtek.c...3&GetDown=false

 

Good luck!

 

Mieze



#64
lisai9093

lisai9093

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 132 posts
  • Gender:Male

@lisai9093: There is a DOS diagnostic utility available for download at Realtek's website. It's name is RSET8136 and, although I haven't checked myself, it might have an option to rewrite the NIC's EEPROM in order to restore the original MAC address. Please see: http://www.realtek.c...3&GetDown=false

 

Good luck!

 

Mieze

Thanks man~

This RSET8136 is for diagnoses only. I found PG8136 tool that can write MAC into EEPROM. There is no problem getting MAC address anymore, even after sleep!



#65
Mieze

Mieze

    Giant Cat

  • Coders
  • 573 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

I pushed the source code to Github a few minutes ago: https://github.com/M.../RealtekRTL8100

 

I will also upload a prebuilt binary to the download section during the next days.

 

Mieze



#66
Mieze

Mieze

    Giant Cat

  • Coders
  • 573 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

I've uploaded the prebuilt binary to the download section here at insanelymac.com.

 

Mieze



#67
mahdi-kazemi

mahdi-kazemi

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male
  • Location:Tehran, Iran
  • Interests:Hackintosh, Coding, Ios, Basketball and Music.
Thanks sir works like a charm and fixed my freezing problem. ^_^

#68
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

Mieze,

Awesome work! I will report back after iperf testing on my RTL8105E: (Chipset 12).

7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: PCI power management capabilities: 0xffc3.
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: PME# from D3 (cold) supported.
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: PCIe link capabilities: 0x00077c11, link control: 0x0141.
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: Warning: PCIe ASPM enabled.
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: EEE support enabled.
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: TCP/IPv4 segmentation offload enabled.
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: TCP/IPv6 checksum offload enabled.
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: Using interrupt mitigate value 0x0.
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: RTL8105E: (Chipset 12) at 0xffffff8103bb5000,  xx:xx:xx:xx:xx:xx <= MAC address identified correctly;  removed from here
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: MSI interrupt index: 1
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: kIOEthernetWakeOnMagicPacket added to filters.
7/10/14 4:04:09.000 PM kernel[0]: Ethernet [RealtekRTL8100]: Already in power state 1.
7/10/14 4:06:38.000 PM kernel[0]: Ethernet [RealtekRTL8100]: Link up on en0, 100-Megabit, Full-duplex, No flow-control



#69
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

Mieze,

You did it again! Outstanding work!

iperf from Linux to OS X (10.9.4)

[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  12.6 MBytes   106 Mbits/sec
[  3]  1.0- 2.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3]  2.0- 3.0 sec  11.1 MBytes  93.3 Mbits/sec
[  3]  3.0- 4.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3]  4.0- 5.0 sec  11.1 MBytes  93.3 Mbits/sec
[  3]  5.0- 6.0 sec  11.9 MBytes  99.6 Mbits/sec
[  3]  6.0- 7.0 sec  11.1 MBytes  93.3 Mbits/sec
[  3]  7.0- 8.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3]  8.0- 9.0 sec  11.1 MBytes  93.3 Mbits/sec
[  3]  9.0-10.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 10.0-11.0 sec  11.1 MBytes  93.3 Mbits/sec
[  3] 11.0-12.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 12.0-13.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 13.0-14.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 14.0-15.0 sec  10.8 MBytes  90.2 Mbits/sec
[  3] 15.0-16.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 16.0-17.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 17.0-18.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 18.0-19.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 19.0-20.0 sec  10.8 MBytes  90.2 Mbits/sec
[  3] 20.0-21.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 21.0-22.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 22.0-23.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 23.0-24.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 24.0-25.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 25.0-26.0 sec  10.8 MBytes  90.2 Mbits/sec
[  3] 26.0-27.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 27.0-28.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 28.0-29.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 29.0-30.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 30.0-31.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 31.0-32.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 32.0-33.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 33.0-34.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 34.0-35.0 sec  10.8 MBytes  90.2 Mbits/sec
[  3] 35.0-36.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 36.0-37.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 37.0-38.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 38.0-39.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 39.0-40.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 40.0-41.0 sec  10.8 MBytes  90.2 Mbits/sec
[  3] 41.0-42.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 42.0-43.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 43.0-44.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 44.0-45.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 45.0-46.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 46.0-47.0 sec  10.8 MBytes  90.2 Mbits/sec
[  3] 47.0-48.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 48.0-49.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 49.0-50.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 50.0-51.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 51.0-52.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 52.0-53.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 53.0-54.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 54.0-55.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 55.0-56.0 sec  10.8 MBytes  90.2 Mbits/sec
[  3] 56.0-57.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 57.0-58.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 58.0-59.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3] 59.0-60.0 sec  11.2 MBytes  94.4 Mbits/sec
[  3]  0.0-60.0 sec   675 MBytes  94.3 Mbits/sec

iperf from OS X (10.9.4) to Linux

[ ID] Interval       Transfer     Bandwidth
[  5]  0.0- 1.0 sec  11.5 MBytes  96.5 Mbits/sec
[  5]  1.0- 2.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5]  2.0- 3.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5]  3.0- 4.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5]  4.0- 5.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5]  5.0- 6.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5]  6.0- 7.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5]  7.0- 8.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5]  8.0- 9.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5]  9.0-10.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 10.0-11.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 11.0-12.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 12.0-13.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 13.0-14.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 14.0-15.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 15.0-16.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 16.0-17.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 17.0-18.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 18.0-19.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 19.0-20.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 20.0-21.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 21.0-22.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 22.0-23.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 23.0-24.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 24.0-25.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 25.0-26.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 26.0-27.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 27.0-28.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 28.0-29.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 29.0-30.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 30.0-31.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 31.0-32.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 32.0-33.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 33.0-34.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 34.0-35.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 35.0-36.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 36.0-37.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 37.0-38.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 38.0-39.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 39.0-40.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 40.0-41.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 41.0-42.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 42.0-43.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 43.0-44.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 44.0-45.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 45.0-46.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 46.0-47.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 47.0-48.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 48.0-49.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 49.0-50.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 50.0-51.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 51.0-52.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 52.0-53.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 53.0-54.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 54.0-55.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 55.0-56.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 56.0-57.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 57.0-58.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5] 58.0-59.0 sec  11.2 MBytes  94.4 Mbits/sec
[  5] 59.0-60.0 sec  11.1 MBytes  93.3 Mbits/sec
[  5]  0.0-60.0 sec   671 MBytes  93.8 Mbits/sec

Same performance before and after sleep in both 10.9.4 and 10.10 dp2. Wake-On-Lan also works in both. I also noticed that Wake-On-Lan works only when connected to the power supply. This could be regular OS X behavior since there is no "Wake for network access" when on battery. Can someone confirm please.

 

Thank you for this great kext! 

Attached Files



#70
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

Also works in 10.10 beta 1.



#71
Ravenstein

Ravenstein

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

Hi Mieze,

 

thanks for your effort. My RTL8105E is running better with your kext 1.0 instead of AppleRTL8169Ethernet 2.0.6.

 

But when I use lan cable, system fan runs crazy and HWsensor report CPU temp > 70C. 

 

Using wifi is just fine.

 

Don't know if these relate to your kext. 

(also I have warning in console, kernel: apple80211Request Unsupported ioctl 181)

 

Just want to report that, do you have a clue? thanks!

 

-------------

Hereby the log from "grep -i realtek /var/log/system.log"

 

localhost kernel[0]: Ethernet [RealtekRTL8100]: Warning: PCIe ASPM enabled.

localhost kernel[0]: Ethernet [RealtekRTL8100]: EEE support enabled.

localhost kernel[0]: Ethernet [RealtekRTL8100]: TCP/IPv4 segmentation offload enabled.

localhost kernel[0]: Ethernet [RealtekRTL8100]: TCP/IPv6 checksum offload enabled.

localhost kernel[0]: Ethernet [RealtekRTL8100]: Using interrupt mitigate value 0x0.

localhost kernel[0]: Ethernet [RealtekRTL8100]: RTL8105E: (Chipset 12) at 0xffffff807aaa5000,  8:9e: 1:35:d5:5c

myMachine kernel[0]: Ethernet [RealtekRTL8100]: Link up on en0, 100-Megabit, Full-duplex, No flow-control

myMachine kernel[0]: Ethernet [RealtekRTL8100]: Link down on en0



#72
Mieze

Mieze

    Giant Cat

  • Coders
  • 573 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

@Ravenstein: Have you used Activity Monitor in order to find out what is causing the high CPU load while you are connected via LAN?

 

Mieze



#73
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

No problems to report on 10.10.0

Thanks



#74
LeftTrigger

LeftTrigger

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
guys how to rebuild kernel cache after deleting and installing the driver?? please help...noob here

#75
polyzargone

polyzargone

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 531 posts
  • Gender:Male
  • Location:France

open a terminal window and type :

 

sudo touch /System/Library/Extensions

 

or

 

sudo kextcache -prelinked-kernel

 

then reboot



#76
LeftTrigger

LeftTrigger

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

open a terminal window and type :
 
sudo touch /System/Library/Extensions
 
or
 
sudo kextcache -prelinked-kernel
 
then reboot

for both step 2 and step 4?? if so thanks

#77
polyzargone

polyzargone

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 531 posts
  • Gender:Male
  • Location:France

sudo touch /System/Library/Extensions & sudo kextcache -prelinked-kernel do the same thing.

 

The first one is fast and simple, the second one is a little bit longer but you'll see onscreen what's happening.

 

You can do both one after the other if you want to see the difference but it's useless ;) and the result will be the same : it rebuilds kernel cache.

Note that it does NOT repair permissions !

 

Choose one of them then reboot



#78
LeftTrigger

LeftTrigger

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

sudo touch /System/Library/Extensions & sudo kextcache -prelinked-kernel do the same thing.
 
The first one is fast and simple, the second one is a little bit longer but you'll see onscreen what's happening.
 
You can do both one after the other if you want to see the difference but it's useless ;) and the result will be the same : it rebuilds kernel cache.
Note that it does NOT repair permissions !
 
Choose one of them then reboot

thanks again :)

#79
ssprod

ssprod

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts

Mieze..Thanks for your outstanding contribution here. With the help of RehabMan directing my query to this post, I now have full ethernet functionality on my Lenovo U310, even after sleep. Smiles and chuckles after weeks of struggles. Thank you.  ssprod







Also tagged with one or more of these keywords: Realtek, RTL8105, RTL8101, RTL8102, RTL8106, RTL8103, RTL8401, RTL8402, driver


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy