Help - Search - Members - Calendar
Full Version: Realtek 8168/8111 solution
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
speedingfreak
Works great with a rtl8139 NIC (wired)
DaemonES
speedingfreak cool, but for RTL8139 Apple has own driver smile.gif Does autonegotiation work correctly?

igorken I don't know what I must recomend, because in log has no any
line from driver.
igorken
QUOTE(DaemonES @ Oct 12 2006, 06:58 AM) *
speedingfreak cool, but for RTL8139 Apple has own driver smile.gif Does autonegotiation work correctly?

igorken I don't know what I must recomend, because in log has no any
line from driver.


Well, thanks anyway smile.gif I solved this problem by buying an external ethernet card biggrin.gif
CrAzYNeSs
Neo: Thanks for the installer.

DaemonES: Thanks for this driver. I will be testing this out on friday after my build.


Really appreciated the work that you guys put into this. It is ppl like you that advances and open doors to more possiblities. Keep up the great work!


Best Regards,
Jeff
TopazBar
QUOTE(CrAzYNeSs @ Oct 12 2006, 11:34 AM) *
Neo: Thanks for the installer.

DaemonES: Thanks for this driver. I will be testing this out on friday after my build.
Really appreciated the work that you guys put into this. It is ppl like you that advances and open doors to more possiblities. Keep up the great work!
Best Regards,
Jeff

I want to show my thanks, too.
It has been running rock solid. No panic, no nothing. It just works.
Ted Cox
I'm having issues. Maybe someone here can help me. My motherboard has a 3com 940 on it, which is unsupported, but I had a Netgear GA311 (RTL8169) laying around so I stuck it in. OSX saw it and assigned it as en0 without the R1000 driver. However, it would not get a DHCP address. (My dhcp server is dnsmasq running on a linux box, so I can actually tail the logs, the machine isn't even requesting an address). If I manually assign an IP and gateway, I can't ping the gateway, nor can the gateway ping the machine. I have a link at both ends and both ends are negotiating 1000mb Full Duplex.

So, I thought maybe the OSX driver doesn't really support my card and installed the R1000 driver. I can use kextstat and see that in fact the system is using the R1000 driver and not the built-in. Furthermore, I can run the R1000 driver in debug mode and see it "working." However, the machine still never requests a dhcp address and static assignment doesn't work.

Card and cable both work fine dual booting into XP. Any ideas?
Doosje
Ted Cox have you also tried to set it manually to 100MB ? of 10 ?
Ted Cox
QUOTE(Doosje @ Oct 13 2006, 05:14 PM) *
Ted Cox have you also tried to set it manually to 100MB ? of 10 ?


I have. I can see the light change from green to amber on my Netgear GS605 (switch) letting me know that it sees the speed change. But still no love on getting the DHCP request out.
Ted Cox
Ok. I take it back. I just booted into windows and now the card can't get an IP there either. So apparently it has nothing to do with OSX.
DaemonES
Ted Cox it seems, that is only OSX problem.
CrAzYNeSs OSX community has a very small part of programmers sad.gif
Vieux Lyon
Hello:

I have a Realtek 8101L and could not make it work, even after removing AppleRealtek8139.kext. I think the problems is that, at least in JaS 10.4.7, there are two copies of the 8139 Extension, one in the Extensions directory and another one inside de IONetworkingFamily.kext. I've tried removing it from inside it, repaired permissions, etc, but something fails and I can't get my system to boot up normally; in fact, I had to reinstall my whole system.

Any ideas? Thanks smile.gif
DaemonES
Vieux Lyon IMHO you need just edit Info.plist of Apple driver and remove vendor and device id of yours card.
Ted Cox
Just to post a follow up. I replaced my card with a different Netgear GA311 and now it's working fine in both Windows and OSX.
experventol
Hi! Thanks for the awesome driver! now i can finally surf the internet on OSX! smile.gif

However, there seems to be a problem. After almost half an hour or so, the mac will grey out and then ask me to restart my laptop.

btw, i am using asus 6j btw. My network is working fine in Windows.

Thanks in advance for any help! smile.gif
DaemonES
Ted Cox with apple driver or with R1000?
experventol please, send me crash log.
experventol
sorry, but how do you find the crash log? unsure.gif
DaemonES
in terminal
cd /var/log/
ls
pico <name of log file>
experventol
Thanks! biggrin.gif I just PM you the crash log. smile.gif

Thanks again in advance!
Vieux Lyon
Hi!

I tried that, now the two extensions are loaded correctly (Realtek1000 and IONetworkingFamily) but still internet not working...under the Networking Preferences panel the Built-In Ethernet is still "greyed" (disabled).

Any other suggestions?

I've found out a file called NetworkingInterfaces.plist and inside it there is a reference to Realtek8139, but not to Realtek1000, could editing something inside that file help?

Thanks smile.gif
gajda
Hi.All
I have installed your driver on my ASUS A6TC(10.4.7 JAS) notebook vith Realtek 8168.After reboot network runs and everything seems to be OK,but after about 30sec OSX freezed. blink.gif
Thanks for solutions...

10.4.7 JAS
DaemonES
Vieux Lyon I'm really don't know. Personally I don't have any problem with permissions or installation.

experventol to bad, it doesn’t consist something useful.

gajda freeze or gray screen?
experventol
Sigh...but thanks anyways! it was nice while it lasted! smile.gif
Doosje
QUOTE(gajda @ Oct 17 2006, 03:59 PM) *
Hi.All
I have installed your driver on my ASUS A6TC(10.4.7 JAS) notebook vith Realtek 8168.After reboot network runs and everything seems to be OK,but after about 30sec OSX freezed. blink.gif
Thanks for solutions...

10.4.7 JAS


That's strange .. it didn't happen to me .. .maybe because i'm on 10.4.8
stiffy
Thanks a lot! It works great w/ my ASRock Conroe945-DVI!
gajda
QUOTE(DaemonES @ Oct 17 2006, 05:36 PM) *
gajda freeze or gray screen?

System freeze about 1 minute after succesfull boot
Invisible Ink
I have a problem with my 8139, and I read here in this topic someone installed the DaemonES driver and had success.
My problem is that each time I open Network config from preferences pane, a new Built-in Ethernet port is detected. Also, each port configuration change I make, one or more new port is added and the change I made is then immediatly by-passed.
I don't know if this driver solve my problem, but I hope so.
Then, please somone can post the proc to correctly install the new driver starting from a system with still the original kext for a 8139 NIC?

ThanX!
DaemonES
gajda OK, it seems to hardware problem. There are two main reasons:
1. DMA channels conflict on your MoBo (I can't something to do).
2. IRQ of NIC adapter shares between different devices. So please check that.
squimmy
Mine still doesn't work. I have, what looks like an onboard Realtek 8139. It is integrated onto my ATIIXP motherboard. I can't get it working at all.

I've loaded the drivers but unfortunately they haven't helped, OS X still doesn't see the thernet card.


Any ideas?
DaemonES
2 squimmy
open 2 terminals
in first type: tail -f /var/log/system.log
in second sh loaddebug

After some time copy log file from first terminal and PM it to me.
squimmy
PM'ed
Yuuya
great!!!!
dpk
works flawlessly on my P5B/8111B - thank you very very much for your effort!
Vieux Lyon
Hi!

I've tried installing your driver on 10.4.7 but I could not make it work correctly.

My NIC is a Realtek 8101L, built onboard in a Intel D102GGC2 MoBo.
I could make this adapter work with older distros (Myzaar 10.4.5, detected as Realtek 8139) but with JaS 10.4.6 and 10.4.7 it's not working. The .kext is loaded but in the Networking Preferences panel the built-in adapter appears as disabled (greyed out).

Now, I was trying to make it work in JaS 10.4.6. First of all, the default driver was loaded. So, what I did is delete the AppleRealtek8139.kext from the Extensions folder and then overwrite IONetworkingFamily.kext with a copy of it with the RTL8139 extension deleted. Then, I could make your extension load into memory (it appears on the System Profiler) but still under Networking my built-in adapter is disabled.

Is there any way of debugging or something, so as to know what went wrong?

Thanks for your time,
DaemonES
Vieux Lyon
open 2 terminals
in first type: tail -f /var/log/system.log
in second sh loaddebug

After some time copy log file from first terminal and PM it to me, but be sure that extension loaded correctly.
jan_187
I use this mobo: http://www.asrock.com/product/P4i65G.htm and network is not recognized by default, so Im gonna try this driver, thanks for the work!
jan_187
Okay, I installed the installer, all went fine it seems. It the networksingsettings of the system profiler, I do see the mac-address, so OSX 'knows' the card is there. It doesnt connect though. Apparently, DHCP doesnt get a reply or something. It is working when I boot a linux live cd, so the card/network is fine. Is there any stuff/commands I need to do to get you better info?

Im using the new 10.4.8 DVD by JaS though, is that a problem?
DaemonES
jan_187 I'm not sured works RTL8139 with my driver or not, it seems to be the same like many other RTL810x controllers, but...
Try to set up link speed manually (100 mb full duplex).
rajkosto
and how is this different than the forcedeth driver ?!
diff NICs ? what NIC is the forcedeth for ?
jan_187
Hey, so my nic is not actually a 8101 but a 8139? I set the linkspeed to 100mbits full duplex manually, but I still dont get an IP. When I click 'renew DHCP lease', it just waits like 2 seconds and then continues without an IP, shows no error or anything.

Is there a way to get this nic to work? ohmy.gif

Edit: it seems to be a 10.4.8 specific problem. I think a kext is missing. Ill do some more experimenting wink.gif
DaemonES
rajkosto
QUOTE
and how is this different than the forcedeth driver ?!
Just compare it at all. Drivers is quite different.
jan_187 dependency is missing?

Forcedeth for nForce built-in lan cards.
alicheusz
QUOTE(jan_187 @ Nov 1 2006, 04:38 AM) *
Hey, so my nic is not actually a 8101 but a 8139? I set the linkspeed to 100mbits full duplex manually, but I still dont get an IP. When I click 'renew DHCP lease', it just waits like 2 seconds and then continues without an IP, shows no error or anything.

Is there a way to get this nic to work? ohmy.gif

Edit: it seems to be a 10.4.8 specific problem. I think a kext is missing. Ill do some more experimenting wink.gif

I try this driver on 10.4.8 and don't work for me also, network card show in pref panel but that's all
jan_187
More info @ http://forum.insanelymac.com/index.php?showtopic=31824 .

The solution given there seems a bit weird to me. We have to copy all 10.4.7 files over? What's the use of having 10.4.8 then?
DaemonES
jan_187 you can download sources of AppleRealtek8139 from Apple site, recompile it with XCode and install.
reed187
Hi folks,
I got basicly the same problem with my realtek 8139 ... In 10.4.6 it worked fine and in 10.4.8 no connection

After installing the RealtekR1000_1.02 the NIC is shown by OSX but it permanently says "no network cable" I can even configure it manually, but nothing works. The NIC is shown as BSD-name: en0

The JaS OSX 10.4.8 runs much more stable than the versions before. Even the DVD player, USB Ports, Printer and FX62000 I finally got to work now. Only the damn network drives me crazy. Anybody an idea?

Thanks in advance
reed187
Finally I got my Realtek 8139 onboard LAN to work.
The probelm was because of the broken 10.4.8.iso. But I did not want to wait for the new release.

What I did was copying the AppleRTL8139Ethernet.kext from my old 10.4.6 to the 10.4.8
Then adding a few lines into terminal and that was it.

I had almost given up. So people with Realtek 8139 DON'T give up. There is a way to fix it.

Cheers
gajda
Hi DaemonES.
In windows i found that IRQ16 is shared between my REALTEK 8168/8111 ETHERNET NIC and GeForce GO 7300.I don´t know if that info is useful
DaemonES
gajda yeah, very useful. I'll rewrite irq handler on this weekend, I hope this is the way to solve your problem.
gajda
Ok.Until today I have no idea what IRQ means...biggrin.gif.I keep you informed.thanks very much
jan_187
Okay, I will be trying with the new fixed 10.4.8 dvd and will try the recompile.
Ted Cox
Sorry for the delayed reply, with R1000. Didn't try apple driver again.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.