Jump to content

Realtek 8168/8111 solution


  • Please log in to reply
869 replies to this topic

#621
BarboneNet

BarboneNet

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,414 posts
  • Gender:Male
  • Location:Italy - Parma

Hello,

I'm after a RTL8169 64 bit driver which also dose not sleep or at least wakes up, i have tried your driver it worked in 32 bit mode fine, but still went to sleep, On a wake up it was still asleep.

Thanks,

Rich

sorry, where is RTL8169 64bit??? is the original apple kext or modded??

#622
potter 1984

potter 1984

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

sorry, where is RTL8169 64bit??? is the original apple kext or modded??


no sorry I was using the RTGNIC2.0.3.pkg from a leopard install. I posted in the guide I made. Search P5KPL-AM near perfect install.

On me iPhone or I would of linked you.

I installed the one in this thread but it seemed slower than the one above, so stuck with that and just boot in 32bit snow.

I have made a custom dsdt.aml for my mobo on a win xp install.
So most things are sweet. But did not pick up the LAN on the mobo.

#623
Bit Shoveler

Bit Shoveler

    InsanelyMac Geek

  • Coders
  • 111 posts
  • Gender:Male
  • Location:Six blocks from AMD HQ
  • Interests:Hackable Macs

Can you try again for comunity??? thanks alot


I intend to keep developing this, but I have a life and a job... :hysterical:

Do you have any problems to report?

#624
potter 1984

potter 1984

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

I intend to keep developing this, but I have a life and a job... ;)

Do you have any problems to report?



Holla bit shoveler,

I do have a problem!!, lol.

When i use your driver, It works ok, as i said a lil bit slower than the current one in my system, but when the computer sleeps, and i wake it back up the lan card is still active, but reports it has assigned a self ip address, on both your driver and the one i am using, weird no??

Any way any light you can shed on this matter would be a great help, And im glad you have a job and a life or how would you keep paying the broadband bill and eat??? lol.

Cheers bud!!

#625
BarboneNet

BarboneNet

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,414 posts
  • Gender:Male
  • Location:Italy - Parma

I intend to keep developing this, but I have a life and a job... :)

Do you have any problems to report?

eheheh i know the problem...i have a little daughter :D

You Driver don't connect to Internet, now i reinslall it and i post a screen!

EDIT: for me doesn't working in 32 and 64 bit mode!

Posted Image

With this R1000, i work very well in 32bit mode, but in 64bit mode i have the same problem!

Attached Files



#626
Bit Shoveler

Bit Shoveler

    InsanelyMac Geek

  • Coders
  • 111 posts
  • Gender:Male
  • Location:Six blocks from AMD HQ
  • Interests:Hackable Macs
Do you have the kernel log from before and after sleep? That would help. PM me for the email address to send it to.

EDIT: Oh yeah, including your configuration would be a big help too.

Thanks for trying this!

Holla bit shoveler,

I do have a problem!!, lol.

When i use your driver, It works ok, as i said a lil bit slower than the current one in my system, but when the computer sleeps, and i wake it back up the lan card is still active, but reports it has assigned a self ip address, on both your driver and the one i am using, weird no??

Any way any light you can shed on this matter would be a great help, And im glad you have a job and a life or how would you keep paying the broadband bill and eat??? lol.

Cheers bud!!



#627
stimpy001

stimpy001

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

The Apple driver is built into Snow Leopard. I still don't get Bonjour support with it.

I tried making the RealtekR1000 driver 64 bit compatible, but it needed a lot more work to make it reliable. I have a much improved version - with many changes based on Realtek's Linux sources - that I am continuing to develop. It needs a lot more work, but I am ready to let a few brave souls try it. I will be releasing it under GPL when it's done. Sources are available now if you ask politely.

What works now: 64 bit Snow Leopard, 8111C, GbE basic functionality, cable hot plug/unplug, sleep/wake.

What needs testing: 32 bit Snow Leopard, other 8111/8168 chips, other speeds.

Not yet implemented: Leopard, jumbo packets, IP/TCP/UDP checksum offload, 8101 and 8169 family chips.

WARNING! This is an experimental kext which has not been thoroughly tested. USE AT YOUR OWN RISK!

I am only uploading a debug version at this time. It will generate several lines in your kernel.log file for every packet sent or received. DO NOT USE THIS IN PERFORMANCE CRITICAL APPLICATIONS.

If you encounter problems, please PM me so I can see a copy of the kernel.log file.


Thank a lot man, with this kext bonjour works perfect on my DS3LR, 10.6.1, full 64bit !
:(

#628
lmpreza

lmpreza

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Going to try bit-shovelers kext tonight...

background;
EVGA X58 758-A1 board, Installed kalyway for the first time, recognized my network adapters no problems...
got updated to 10.5.7, never changed any kexts for networking, used the x58 kexts from ihavearedcouch's guide, but it worked even before those were installed.

I installed snow leopard to another drive a day later using xxxslayeriiixxxx's evga x58 snow leopard guide.

worked more or less fine, until boot and I realized my ethernet wasn't working. showed "eh0" and not my second card, refused to connect to the internet. Initially leopard noticed my ethernets as "Ethernet 1" and "Ethernet 2" not "eh0"... I boot back into leopard... "Cable unplugged"...

No ethernet anymore. I have done some reading and It appears the mac os can sleep the network adapters, but is unable to reawaken them... Not sure how accurate this information is.

I screwed up my MBR's and had to start from scratch. This time I installed kalyway again, and I had no ethernet. Kalyway did not see my ethernet adapters at all. I installed snow leopard directly from kalyway without finishing the standard 10.5.7 install process outlined by ihavearedcouch, which worked fine. This time I'm back into SL with NO ethernet as well. Not even the strange "eh0"

My windows 7 disc will be here tonight and I'm going to install that, hopefully my windows has ethernet. I heard someone had a similar problem in another thread where they had to disconnect the atx connector from the motherboard because after their ethernet disappeared in mac os it no longer detected in windows either! I have a sneaking suspicion this is the case.

I'll try a few things tonight but this is very frustrating. I planned on using Snow Leopard for my day to day OS but without ethernet it's absolutely useless to me.


Also interesting, IORegistryEntry.app does NOT list my ethernet adapters. AT ALL. Supposedly they're supposed to be at PEX4, but mine lists empty. Both lights on the plugs light and the activity light blinks even.

Very odd.

#629
lmpreza

lmpreza

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Bit Shoveler...

I think I love you!!!

I was tearing my hair out trying to get my networking together... Until I stumbled upon this thread and your kext.

It works!! do you have a "non-debug" version available?
I'm running Mac OS 10.6 on a EVGA x58 758-A1 with a i7 920 and 12gb of DDR3 1600.

Works fantastic! Thank you so much!!!!!!!!

edit: I have noticed that it is very sluggish... i'm getting 1.0-1.2s pingtimes to the router downstairs...

Probably due to the debug code... I'd love to see it without!!!

#630
Bit Shoveler

Bit Shoveler

    InsanelyMac Geek

  • Coders
  • 111 posts
  • Gender:Male
  • Location:Six blocks from AMD HQ
  • Interests:Hackable Macs

It works!! do you have a "non-debug" version available?


Here's what I'm running myself.

I'm still eager to get detailed feedback - as in, kernel.log excerpts, what other kexts you're running, exactly what you did when the problem occurred, etc. - from anyone who has trouble with the debug kext. Please PM me for the email address.

I'm not going to have much time to work on this for the next couple of weeks, so please be patient with me.

Attached Files



#631
BarboneNet

BarboneNet

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,414 posts
  • Gender:Male
  • Location:Italy - Parma

Here's what I'm running myself.

I'm still eager to get detailed feedback - as in, kernel.log excerpts, what other kexts you're running, exactly what you did when the problem occurred, etc. - from anyone who has trouble with the debug kext. Please PM me for the email address.

I'm not going to have much time to work on this for the next couple of weeks, so please be patient with me.

don't work here :) :) :cry:

#632
Vampirexx

Vampirexx

    Cyborg Ninja

  • Members
  • PipPipPipPipPipPipPip
  • 627 posts
  • Gender:Male
  • Location:Italy
  • Interests:Aikido, Ninpo/Ninjutsu, Rock n roll, Mac OS X
Me too :( this doesn't work...

#633
Bit Shoveler

Bit Shoveler

    InsanelyMac Geek

  • Coders
  • 111 posts
  • Gender:Male
  • Location:Six blocks from AMD HQ
  • Interests:Hackable Macs
Thank you for trying my kext. Please PM me with the details of your computer and exactly how this kext failed.

If you don't help me, I can't help you. I'm not telepathic, and I don't have your computer.

#634
BarboneNet

BarboneNet

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,414 posts
  • Gender:Male
  • Location:Italy - Parma

Thank you for trying my kext. Please PM me with the details of your computer and exactly how this kext failed.

If you don't help me, I can't help you. I'm not telepathic, and I don't have your computer.

i have already post my trouble........ ISP Internet and Server NOT connect!

#635
lmpreza

lmpreza

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

Thank you for trying my kext. Please PM me with the details of your computer and exactly how this kext failed.

If you don't help me, I can't help you. I'm not telepathic, and I don't have your computer.


I wish I could have helped you bit shoveler, but I had no problems to give you! thanks!!!

though, I did make sure to edit my DSDT for LAN first, I wonder what would have happened if I did not... No other kexts worked before I did that either.

#636
Bit Shoveler

Bit Shoveler

    InsanelyMac Geek

  • Coders
  • 111 posts
  • Gender:Male
  • Location:Six blocks from AMD HQ
  • Interests:Hackable Macs

i have already post my trouble........ ISP Internet and Server NOT connect!


That tells me nothing. Here is what I need to know to help you.

1. Exactly which Ethernet chip do you have? My current kext only works for 8111/8168 chips. I will be adding others in the family later, but I can't test them myself because I don't have that hardware. The kernel.log (see #6 below) will tell you which chip the kext thinks you have, even the non-debug version.

2. What is your networking setup, specifically: What kind of device is at the other end of your Ethernet cable? Switch, router, cable modem, ??? 10baseT, 100baseT, or 1000baseT? How is it set up? Is there anything else on your network that works? Do other devices work when plugged into your Hack's cable?

3. 32 bit or 64 bit kernel? What other network-related kexts are installed? Has the DSDT been modified?

4. Does the OS think the network is up? If using DHCP, does it receive a normal IP address, or is it "self-assigned"? Does Ethernet work at all ever, or just partly all the time, or some of the time? Can you see any LEDs on the computer or switch that tell you what the line is doing?

5. What did you do to get to this condition? Normal boot and the net never worked? Did it work before wake from sleep? Worked for a while then it just crapped out for no reason? Etc.??? Did you ever try a verbose boot (-v option to Chameleon and boot132 derived bootloaders)?

6. I really need to see the kernel.log from the debug version of the kext. Without this I have no way of knowing what the kext thinks it is doing. Go into Macintosh HD > Applications > Utilities > Console and copy and paste the kernel.log contents into a PM or email to me.

If you don't supply at least some of this information, I can't do anything to help you. The kernel.log is the most useful to me. But at a bare minimum I need to know what chip, what other networking kexts you are using, whether anything else connected to your net works, and what the OS thinks the net is doing.

You can help me build a useful kext if you can answer these questions. I want to help. But I can't without some more information.

I wish I could have helped you bit shoveler, but I had no problems to give you! thanks!!!

though, I did make sure to edit my DSDT for LAN first, I wonder what would have happened if I did not... No other kexts worked before I did that either.


But you did help, impreza. You showed me that it can work on someone else's hardware. Thank you for taking a chance!

#637
BarboneNet

BarboneNet

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,414 posts
  • Gender:Male
  • Location:Italy - Parma

That tells me nothing. Here is what I need to know to help you.

1. Exactly which Ethernet chip do you have? My current kext only works for 8111/8168 chips. I will be adding others in the family later, but I can't test them myself because I don't have that hardware. The kernel.log (see #6 below) will tell you which chip the kext thinks you have, even the non-debug version.

2. What is your networking setup, specifically: What kind of device is at the other end of your Ethernet cable? Switch, router, cable modem, ??? 10baseT, 100baseT, or 1000baseT? How is it set up? Is there anything else on your network that works? Do other devices work when plugged into your Hack's cable?

3. 32 bit or 64 bit kernel? What other network-related kexts are installed? Has the DSDT been modified?

4. Does the OS think the network is up? If using DHCP, does it receive a normal IP address, or is it "self-assigned"? Does Ethernet work at all ever, or just partly all the time, or some of the time? Can you see any LEDs on the computer or switch that tell you what the line is doing?

5. What did you do to get to this condition? Normal boot and the net never worked? Did it work before wake from sleep? Worked for a while then it just crapped out for no reason? Etc.??? Did you ever try a verbose boot (-v option to Chameleon and boot132 derived bootloaders)?

6. I really need to see the kernel.log from the debug version of the kext. Without this I have no way of knowing what the kext thinks it is doing. Go into Macintosh HD > Applications > Utilities > Console and copy and paste the kernel.log contents into a PM or email to me.

If you don't supply at least some of this information, I can't do anything to help you. The kernel.log is the most useful to me. But at a bare minimum I need to know what chip, what other networking kexts you are using, whether anything else connected to your net works, and what the OS thinks the net is doing.

You can help me build a useful kext if you can answer these questions. I want to help. But I can't without some more information.



But you did help, impreza. You showed me that it can work on someone else's hardware. Thank you for taking a chance!


ok...Friday i will give you everything you ask

#638
bollee23

bollee23

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
I just tried the the driver from Bit Shoveler : seems to work for me in 32bit in SL. But since the only issue I have with the legacy AppleR8169 driver is that I'am unable to wake on LAN, this driver does not seem to solve my problem (WOL cannot be enable in the pref panel : no checkbox).

#639
dexterd

dexterd

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Working on SL 64bit, ep45-ds3r board.
Thanks Bit Shoveler!

#640
JKatzman

JKatzman

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
  • Gender:Male
Hey I have a Gigabyte P55-UD3R board
and have Realtek 8111D
I installed the Kext found here

and it finally found the ethernet, but when I try and connect to the internet it says
home is currectly active and has the IP adress 192.168.1.22 but Safari won't go anywhere

It seems that I can not get an IP adress from my router
Any solutions?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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