Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Realtek 8153

Download

Current version: 1.0.19 1.0.15 (as of 2018-12-10)

https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false

Realtek GBE USB

  • Gigabit ethernet
  • USB hub

Gather Info




  • Launch a terminal/shell
  • ioreg -p IOUSB -w0
  • ioreg -p IOUSB -w0 -l: For more info
+-o Root  <class IORegistryEntry, id 0x100000100, retain 14>
  +-o Root Hub Simulation Simulation@14000000  <class AppleUSBRootHubDevice, id 0x1000002fa, registered, matched, active, busy 0 (6 ms), retain 13>
    +-o USB2.0 Hub             @14100000  <class AppleUSBDevice, id 0x1000002fb, registered, matched, active, busy 0 (43 ms), retain 14>
    +-o Apple Internal Keyboard / Trackpad@14400000  <class AppleUSBDevice, id 0x1000002ff, registered, matched, active, busy 0 (96 ms), retain 22>
    +-o USB3.0 Hub             @14500000  <class AppleUSBDevice, id 0x100000363, registered, matched, active, busy 0 (54 ms), retain 15>
    | +-o USB 10/100/1000 LAN@14540000  <class AppleUSBDevice, id 0x100000418, registered, matched, active, busy 0 (73 ms), retain 18>
    +-o Bluetooth USB Host Controller@14300000  <class AppleUSBDevice, id 0x1000003d8, registered, matched, active, busy 0 (58 ms), retain 24>
Terminal output snippet from `ioreg -p IOUSB -w0 -l`
+-o USB3.0 Hub             @14500000  <class AppleUSBDevice, id 0x100000363, registered, matched, active, busy 0 (54 ms), retain 15>
    | | {
    | |   "sessionID" = 2480892594
    | |   "iManufacturer" = 1
    | |   "bNumConfigurations" = 1
    | |   "idProduct" = 2066
    | |   "bcdDevice" = 37009
    | |   "Bus Power Available" = 900
    | |   "USB Address" = 5
    | |   "bMaxPacketSize0" = 9
    | |   "iProduct" = 2
    | |   "iSerialNumber" = 0
    | |   "bDeviceClass" = 9
    | |   "Built-In" = No
    | |   "locationID" = 340787200
    | |   "bDeviceSubClass" = 0
    | |   "bcdUSB" = 768
    | |   "USB Product Name" = "USB3.0 Hub             "
    | |   "PortNum" = 5
    | |   "non-removable" = "no"
    | |   "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
    | |   "bDeviceProtocol" = 3
    | |   "IOUserClientClass" = "IOUSBDeviceUserClientV2"
    | |   "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=3,"CapabilityFlags"=65536,"MaxPowerState"=4,"DriverPowerState"=3}
    | |   "Device Speed" = 3
    | |   "USB Vendor Name" = "VIA Labs, Inc.         "
    | |   "idVendor" = 8457
    | |   "IOGeneralInterest" = "IOCommand is not serializable"
    | |   "IOClassNameOverride" = "IOUSBDevice"
    | | }
    | |
    | +-o USB 10/100/1000 LAN@14540000  <class AppleUSBDevice, id 0x100000418, registered, matched, active, busy 0 (73 ms), retain 18>
    |     {
    |       "sessionID" = 3379212797
    |       "iManufacturer" = 1
    |       "bNumConfigurations" = 2
    |       "idProduct" = 33107
    |       "bcdDevice" = 12288
    |       "Bus Power Available" = 900
    |       "USB Address" = 8
    |       "bMaxPacketSize0" = 9
    |       "iProduct" = 2
    |       "iSerialNumber" = 3
    |       "bDeviceClass" = 0
    |       "Built-In" = No
    |       "locationID" = 341049344
    |       "bDeviceSubClass" = 0
    |       "bcdUSB" = 768
    |       "USB Product Name" = "USB 10/100/1000 LAN"
    |       "PortNum" = 4
    |       "non-removable" = "no"
    |       "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
    |       "bDeviceProtocol" = 0
    |       "IOUserClientClass" = "IOUSBDeviceUserClientV2"
    |       "IOPowerManagement" = {"ChildrenPowerState"=4,"DevicePowerState"=0,"CurrentPowerState"=4,"CapabilityFlags"=32768,"MaxPowerState"=4,"DriverPowerState"=4}
    |       "Device Speed" = 3
    |       "USB Vendor Name" = "Realtek"
    |       "idVendor" = 3034
    |       "IOGeneralInterest" = "IOCommand is not serializable"
    |       "USB Serial Number" = "002427FE48F6"
    |       "IOClassNameOverride" = "IOUSBDevice"
    |     }
    |

  • Launch a terminal/shell
  • ifconfig
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>
	ether 00:24:27:fe:48:f6
	inet 192.168.1.135 netmask 0xffffff00 broadcast 192.168.1.255
	media: autoselect (1000baseT <full-duplex,flow-control>)
	status: active

Reload OSX driver (kext)

The driver is located at

  • /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
  • /Library/Extensions/AppleRTL815X*.kext

Here are the namespaces:

  • com.realtek.driver.AppleRTL815XEthernet
  • com.realtek.driver.AppleRTL815XComposite

See http://osxdaily.com/2015/06/24/load-unload-kernel-extensions-mac-os-x/

With normal operation with only the network cable plugged in, I only see com.realtek.driver.AppleRTL815XEthernet loaded.

# Unload
sudo kextunload /Library/Extensions/AppleRTL815XEthernet109.kext
sudo kextunload /Library/Extensions/AppleRTL815XComposite109.kext

# Load
sudo kextload /Library/Extensions/AppleRTL815XEthernet109.kext
sudo kextload /Library/Extensions/AppleRTL815XComposite109.kext

# Find if loaded
kextstat | grep com.realtek.driver.AppleRTL815XEthernet
kextstat | grep com.realtek.driver.AppleRTL815XComposite

Perhaps clear the Kernel cache

sudo rm -rf /System/Library/Caches/com.apple.kext.caches

I got a new USB ethernet adapter and use the native driver

I got a new USB ethernet adapter because the old one had lots of issues (hence the gist in the first place). But it still uses the same Realtek 8153 chip although am using the native driver though now, AppleUSBECM.kext

In terms of my previous issues, I remember that when I clicked the little lock in the browser to view the cert, it would crash my computer. But the disconnects that required a restart were the bigger issue. (personal reference link)

I'm currently running macOS Mojave 10.14

@dstoiko

This comment has been minimized.

Copy link

dstoiko commented Apr 28, 2018

Thanks for the gist. Just a small typo on:

# Find if loaded
kextstat | grep com.realtek.driver.AppleRTL815XEthernet
kextstat | grep com.realtek.driver.AppleRTL815XCompositep

should be (without "p" on "Composite"):

# Find if loaded
kextstat | grep com.realtek.driver.AppleRTL815XEthernet
kextstat | grep com.realtek.driver.AppleRTL815XComposite
@ngrigoriev

This comment has been minimized.

Copy link

ngrigoriev commented Sep 18, 2018

I have just tried 1.0.17 (latest version) and it locks up my MacBook Pro in about 10 minute of use. I.e. it works, but at some point all apps that use the network get stuck on the system call, I can't even run "ifconfig" etc. Have to power down the laptop. Tried several times, installing, rebooting, working for a little while, uninstalling...I can confirm it does not work with OS X 10.16.13. I am using Dell WD15 dock which has that Realtek chip.

@yangm97

This comment has been minimized.

Copy link

yangm97 commented Nov 3, 2018

Download link is down as of 02/11/2018

@sgeb

This comment has been minimized.

Copy link

sgeb commented Nov 8, 2018

New link seems to be this:
https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software

You'll have to provide an email address, download link is sent via email.

@luco

This comment has been minimized.

Copy link

luco commented Apr 20, 2019

The 1.0.17 works for a while then starts throwing SSL erros and drops connection. I have to reboot the dell WD15 to restore.

@Kevin-Prichard

This comment has been minimized.

Copy link

Kevin-Prichard commented Jul 14, 2019

1.0.19 for OSX 10.6 to 10.14: https://www.realtek.com/en/directly-download?downloadid=539aeb9efe099080ab2b622770b822f0

Installing this driver was very helpful with a Realtek 8153-based USB device (branded 'Comkia' & sold by Central Computer in San Francisco).

Prior to installing the driver, the device would not come back up after being unplugged and replugged-in a couple of times. The device would still appear when running system_profiler SPUSBDataType from a shell, but under System Preferences -> Network it would not come back up. Required a reboot to do so, so installing 1.0.19 was helpful.

@luco

This comment has been minimized.

Copy link

luco commented Jul 28, 2019

@Kevin-Prichard Can you host the file somewhere? I can't get the link by e-mail.

@MadLittleMods

This comment has been minimized.

Copy link
Owner Author

MadLittleMods commented Oct 6, 2019

Thanks @stevezhengshiqi, updated gist 👍

@Roger-1987

This comment has been minimized.

@doruchiulan

This comment has been minimized.

Copy link

doruchiulan commented Nov 14, 2019

Does this work for you on Catalina?

@ks7715

This comment has been minimized.

Copy link

ks7715 commented Nov 14, 2019

I removed all drivers, after that everything worked.

@jisuoqing

This comment has been minimized.

Copy link

jisuoqing commented Jan 6, 2020

@doruchiulan The driver seems not working correctly on Catalina on my laptop, since the /System directory is read-only.

@MrRojano97

This comment has been minimized.

Copy link

MrRojano97 commented Jan 31, 2020

Since I installed the latest drivers 1.0.20 Update 2 from Realtek Webpage, iStats Menus and System Monitor does not show the downstream activity of the network and makes impossible to uninstall the driver from Realtek with the uninstall.command with this log:

Unable to determine realpath for /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext - failing.
Can't create /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext.
Unable to determine realpath for /Library/Extensions/AppleRTL815X*.kext - failing.
Can't create /Library/Extensions/AppleRTL815X*.kext.
touch: /System/Library/Extensions/: Read-only file system
Uninstall Complete.

@jisuoqing

This comment has been minimized.

Copy link

jisuoqing commented Jan 31, 2020

@MrRojano97 You should disable System Integrity Protection first. Then after login in the system, you can do sudo mount -uw /.

@kaifan88

This comment has been minimized.

Copy link

kaifan88 commented Feb 11, 2020

I installed the latest 1.0.20 Update 2 on Mac OS 10.15.3. In the extension list, I can only see AppleRTL815XEthernet110, but no AppleRTL815XComposite. The cable has been plugged, but it shows 'cable unplugged'. Sometimes after replugging, it worked, but not always worked. It really bothered me.

@ks7715

This comment has been minimized.

Copy link

ks7715 commented Feb 11, 2020

I deleted all Realtek drivers. Installed Apple system files and everything works. MacBook Air (11-inch, Early 2014), USB3.0 Ethernet Hub Orico HR02 (RTL8153), macOS Catalina 10.15.3.

@bverkron

This comment has been minimized.

Copy link

bverkron commented Mar 18, 2020

@MrRojano97 You should disable System Integrity Protection first. Then after login in the system, you can do sudo mount -uw /.

This did not work for me. I get the same error even with SIP disabled and after running sudo mount -uw /

@bverkron

This comment has been minimized.

Copy link

bverkron commented Mar 18, 2020

Also, I was considering a different brand / model to avoid these problems. Is the following statement meant to indicate that the alternate model in the link does not require drivers installs and should work out of the box?

I got a new USB ethernet adapter because the old one had lots of issues (hence the gist in the first place). But it still uses the same Realtek 8153 chip although am using the native driver though now, AppleUSBECM.kext

@MadLittleMods

This comment has been minimized.

Copy link
Owner Author

MadLittleMods commented Mar 18, 2020

@bverkron My new USB ethernet adapter worked out of box and still working fine for me now.

@doruchiulan

This comment has been minimized.

Copy link

doruchiulan commented Mar 18, 2020

Realtek added a new version which for me solved all problems in Catalina

@raladowz

This comment has been minimized.

Copy link

raladowz commented Apr 1, 2020

Have you guys on Catalina 10.15.4 found a solution?
I'm going crazy with this Realtek8153 issue.
First I installed their 1.0.20 driver, then noticed that nothing got better so I installed it disabling SIP first.
That seemed to "work", the connection got more stable but still it drops randomly after some time.

Like our friend above, I also can't see any "AppleRTL815XComposite".
What I do see on my extensions list is AppleUSBRealtek8153Patcher.kext, is that the one supposedly being installed?

@jisuoqing

This comment has been minimized.

Copy link

jisuoqing commented Apr 1, 2020

I found that the easiest thing is to purchase a new ethernet adaptor (still Realtek one), and it works out-of-box.

@raladowz

This comment has been minimized.

Copy link

raladowz commented Apr 1, 2020

I found that the easiest thing is to purchase a new ethernet adaptor (still Realtek one), and it works out-of-box.

I have one from a different brand (still Realtek chipset) and have all the same problems as you guys in this thread

@jisuoqing

This comment has been minimized.

Copy link

jisuoqing commented Apr 1, 2020

At least this one works for me: https://www.amazon.com/gp/product/B07YH8RQ3F/

@raladowz

This comment has been minimized.

Copy link

raladowz commented Apr 1, 2020

I read somewhere that the Belkin adapter they sell on Apple Store also uses the Realtek chipset (don't know if it's true), but Apple support insists it should work plug n play no drivers. If I can't find any solution I'm gonna have to pay to try the overpriced Apple-Belkin :/

@kaifan88

This comment has been minimized.

Copy link

kaifan88 commented Apr 1, 2020

I backed up the files in my Mac and reinstalled the system (10.15.4). After that, the adapter worded well even without installing the driver.

@gonzamvita

This comment has been minimized.

Copy link

gonzamvita commented Apr 2, 2020

On Catalina 10.15.4 my network interface stops working after unplugging everything for some time (every morning when I plug everything back to start working, the damn ethernet won't work).

I tried the new version of the Realtek drivers dated 2020/03/05 and its not solving anything. I think the problem is that when the Mac boots ups back from hibernation it switches to the AppleRTL815XEthernet110 kernel extension instead of using the patcher one. I want to disable the Apple extension and leave the patcher extension alone. Could you guys suggest a way to do this??

Working kext =>

~ kextstat | grep realtek                                
  118    0 0xffffff7f81b2b000 0x5000     0x5000     com.apple.driver.usb.realtek8153patcher (5.0.0) C8FBD805-7397-353B-B24D-700AFA837605 <21 6 5 3 1>

Non working =>

 kextstat |grep com.realtek.driver
  201    0 0xffffff7f846c6000 0x51000    0x51000    com.realtek.driver.AppleRTL815XEthernet (1.0.20) 75CF13F6-F67B-310D-ABC3-CCF03E18100B <114 28 21 6 5 3 1>
@doruchiulan

This comment has been minimized.

Copy link

doruchiulan commented Apr 2, 2020

My experience using a USB-C Display that has a RTL8153 adapter.

I encountered two scenarios:

  • Cable unplugged in Network Preferences: Thought it was a driver issue but now I don't think that anymore. Checked IO devices in System Report (USB) and found out that my ethernet adapter was not in the USB devices list. Unplugging the USB-C cable / restarting had no effect. Shutting down my display and the turning it back on had the desired effect. Morale: Check that your adapter is available in USB devices list

  • Cable plugged but indeed network not working -> Indeed driver problems but I don't have any issues since I installed 1.0.20

Old experience (older Catalina version, 1.0.19 Realtek Drivers):

  • Realtek Drivers AppleRTL815XEthernet110 were conflicting I think with Mac OS driver: AppleUSBRealtek8153Patcher. Solution was to remove the Mac OS Driver and it seemed to solve the problem.
  • Try to load kext with AppleRTL815XEthernet110 in verbose/debug mode and check for any useful message
@doruchiulan

This comment has been minimized.

Copy link

doruchiulan commented Apr 2, 2020

On Catalina 10.15.4 my network interface stops working after unplugging everything for some time (every morning when I plug everything back to start working, the damn ethernet won't work).

I tried the new version of the Realtek drivers dated 2020/03/05 and its not solving anything. I think the problem is that when the Mac boots ups back from hibernation it switches to the AppleRTL815XEthernet110 kernel extension instead of using the patcher one. I want to disable the Apple extension and leave the patcher extension alone. Could you guys suggest a way to do this??

Working kext =>

~ kextstat | grep realtek                                
  118    0 0xffffff7f81b2b000 0x5000     0x5000     com.apple.driver.usb.realtek8153patcher (5.0.0) C8FBD805-7397-353B-B24D-700AFA837605 <21 6 5 3 1>

Non working =>

 kextstat |grep com.realtek.driver
  201    0 0xffffff7f846c6000 0x51000    0x51000    com.realtek.driver.AppleRTL815XEthernet (1.0.20) 75CF13F6-F67B-310D-ABC3-CCF03E18100B <114 28 21 6 5 3 1>

Just to clarify AppleRTL815XEthernet is the Realtek 1.0.20 driver, the "Patcher" one is Apple's driver

To delete AppleRTL815XEthernet110 check uninstall script inside Realtek drivers package. Or manually:
sudo mount -uw /
sudo kextunload /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo kextunload /Library/Extensions/AppleRTL815X*.kext

sudo rm -rf /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo rm -rf /Library/Extensions/AppleRTL815X*.kext

Also try some utility like hackintool to rebuild kextcache before restarting

@doruchiulan

This comment has been minimized.

Copy link

doruchiulan commented Apr 2, 2020

Have you guys on Catalina 10.15.4 found a solution?
I'm going crazy with this Realtek8153 issue.
First I installed their 1.0.20 driver, then noticed that nothing got better so I installed it disabling SIP first.
That seemed to "work", the connection got more stable but still it drops randomly after some time.

Like our friend above, I also can't see any "AppleRTL815XComposite".
What I do see on my extensions list is AppleUSBRealtek8153Patcher.kext, is that the one supposedly being installed?

AppleUSBRealtek8153Patcher -> No, realtek driver doesn't install this. This is already installed by apple.

@gonzamvita

This comment has been minimized.

Copy link

gonzamvita commented Apr 2, 2020

On Catalina 10.15.4 my network interface stops working after unplugging everything for some time (every morning when I plug everything back to start working, the damn ethernet won't work).
I tried the new version of the Realtek drivers dated 2020/03/05 and its not solving anything. I think the problem is that when the Mac boots ups back from hibernation it switches to the AppleRTL815XEthernet110 kernel extension instead of using the patcher one. I want to disable the Apple extension and leave the patcher extension alone. Could you guys suggest a way to do this??
Working kext =>

~ kextstat | grep realtek                                
  118    0 0xffffff7f81b2b000 0x5000     0x5000     com.apple.driver.usb.realtek8153patcher (5.0.0) C8FBD805-7397-353B-B24D-700AFA837605 <21 6 5 3 1>

Non working =>

 kextstat |grep com.realtek.driver
  201    0 0xffffff7f846c6000 0x51000    0x51000    com.realtek.driver.AppleRTL815XEthernet (1.0.20) 75CF13F6-F67B-310D-ABC3-CCF03E18100B <114 28 21 6 5 3 1>

Just to clarify AppleRTL815XEthernet is the Realtek 1.0.20 driver, the "Patcher" one is Apple's driver

To delete AppleRTL815XEthernet110 check uninstall script inside Realtek drivers package. Or manually:
sudo mount -uw /
sudo kextunload /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo kextunload /Library/Extensions/AppleRTL815X*.kext

sudo rm -rf /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo rm -rf /Library/Extensions/AppleRTL815X*.kext

Also try some utility like hackintool to rebuild kextcache before restarting

aight, I'll try that tomorrow morning. Maybe is the driver that doesn't work properly and hinders the Apple-installed controller.

@raladowz

This comment has been minimized.

Copy link

raladowz commented Apr 2, 2020

On Catalina 10.15.4 my network interface stops working after unplugging everything for some time (every morning when I plug everything back to start working, the damn ethernet won't work).
I tried the new version of the Realtek drivers dated 2020/03/05 and its not solving anything. I think the problem is that when the Mac boots ups back from hibernation it switches to the AppleRTL815XEthernet110 kernel extension instead of using the patcher one. I want to disable the Apple extension and leave the patcher extension alone. Could you guys suggest a way to do this??
Working kext =>

~ kextstat | grep realtek                                
  118    0 0xffffff7f81b2b000 0x5000     0x5000     com.apple.driver.usb.realtek8153patcher (5.0.0) C8FBD805-7397-353B-B24D-700AFA837605 <21 6 5 3 1>

Non working =>

 kextstat |grep com.realtek.driver
  201    0 0xffffff7f846c6000 0x51000    0x51000    com.realtek.driver.AppleRTL815XEthernet (1.0.20) 75CF13F6-F67B-310D-ABC3-CCF03E18100B <114 28 21 6 5 3 1>

Just to clarify AppleRTL815XEthernet is the Realtek 1.0.20 driver, the "Patcher" one is Apple's driver

To delete AppleRTL815XEthernet110 check uninstall script inside Realtek drivers package. Or manually:
sudo mount -uw /
sudo kextunload /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo kextunload /Library/Extensions/AppleRTL815X*.kext

sudo rm -rf /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo rm -rf /Library/Extensions/AppleRTL815X*.kext

Also try some utility like hackintool to rebuild kextcache before restarting

Hi doruchiulan,
Looking through my Extensions folder, I found out now that I cannot locate "AppleRTL815XEthernet110.kext" inside the "IONetworkingFamily.kext", in fact, it seems that the Driver installer did not actually install anything inside the IONetworkingFamily kext.
However, I did find ""AppleRTL815XEthernet110.kext" in here: /Library/StagedExtensions/Library/Extensions/
I'm no expert, but after some googling it seems like StagedExtensions is a folder where extensions "pending user approval" are put temporarily, maybe that's the whole problem? If so, how on earth could I aprove it?
There's nothing pending on "Security & Privacy". I already tried installing the driver with SIP enabled and disabled.

@gonzamvita

This comment has been minimized.

Copy link

gonzamvita commented Apr 3, 2020

So today was everyday's bullshit again. Open the laptop, plug in the adapter and I have no ethernet connection.
I start by checking on

kextstat | grep realtek
kextstat | grep -i rtl
kextstat | grep -i ethern

But I found nothing.

Next step I decide to delete realtek's driver controller. So I execute their unninstall command, which is basically this:

#!/bin/sh
. /etc/rc.common

echo "                                                                  "
echo "Please type the password of \"root\" to Uninstall ..."
FROM=`dirname "$0"`

echo "Removing Apple USB Ethernet Driver..."

sudo kextunload /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo kextunload /Library/Extensions/AppleRTL815X*.kext

sudo rm -rf /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo rm -rf /Library/Extensions/AppleRTL815X*.kext

sudo touch /System/Library/Extensions/
sudo touch /Library/Extensions/

echo "Uninstall Complete."

But its unable to find anything on my laptop and simply puts "Uninstall complete" message after all. So I guess OSX removed everything itself?

Ok, let's try to load Apple's bundle (which is not really running right now).

➜  ~ sudo kextload -b com.apple.driver.usb.realtek8153patcher  

Voilà! Driver working and the ethernet connection start inmediately... I'll stick to this command from now on. At least is easier and faster than a reboot after installing the realtek driver everyday.

edit 2020/04/06: working everyday without problems ;D

@raladowz

This comment has been minimized.

Copy link

raladowz commented Apr 6, 2020

So today was everyday's bullshit again. Open the laptop, plug in the adapter and I have no ethernet connection.
I start by checking on

kextstat | grep realtek
kextstat | grep -i rtl
kextstat | grep -i ethern

But I found nothing.

Next step I decide to delete realtek's driver controller. So I execute their unninstall command, which is basically this:

#!/bin/sh
. /etc/rc.common

echo "                                                                  "
echo "Please type the password of \"root\" to Uninstall ..."
FROM=`dirname "$0"`

echo "Removing Apple USB Ethernet Driver..."

sudo kextunload /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo kextunload /Library/Extensions/AppleRTL815X*.kext

sudo rm -rf /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo rm -rf /Library/Extensions/AppleRTL815X*.kext

sudo touch /System/Library/Extensions/
sudo touch /Library/Extensions/

echo "Uninstall Complete."

But its unable to find anything on my laptop and simply puts "Uninstall complete" message after all. So I guess OSX removed everything itself?

Ok, let's try to load Apple's bundle (which is not really running right now).

➜  ~ sudo kextload -b com.apple.driver.usb.realtek8153patcher  

Voilà! Driver working and the ethernet connection start inmediately... I'll stick to this command from now on. At least is easier and faster than a reboot after installing the realtek driver everyday.

edit 2020/04/06: working everyday without problems ;D

Hi gonzamvita,
Thank you so much for your help.
I tried kextloading the Apple's Realtekpatcher bundle, and after a reboot it does show up as "loaded" inside System Profiler > Extensions.
However, on System Profiler > USB I can see that the interface is running at "up to 480 Mb/s" speed, does that happen to you as well?
By runnning a speedtest I can see the speed is indeed limited.

@gonzamvita

This comment has been minimized.

Copy link

gonzamvita commented Apr 6, 2020

Hello @raladowz
Happy to contribute,

On Extensions I don't see any interface speed:
image

I see it on Hardware > USB > Bus USB 3.1
image

I ran a speedtest too and everything seems fine!

@raladowz

This comment has been minimized.

Copy link

raladowz commented Apr 6, 2020

Hello @raladowz
Happy to contribute,

On Extensions I don't see any interface speed:
image

I see it on Hardware > USB > Bus USB 3.1
image

I ran a speedtest too and everything seems fine!

Unfortunately for me when RealtekPatcher loads properly I only get usb2 speeds (480mb/s) :(

@raladowz

This comment has been minimized.

Copy link

raladowz commented Apr 6, 2020

After disabling SIP and using Hackintool to disable Gatekeeper, I ran Realtek's 1.0.20 installer and for the first time it successfully put it's kext inside /Library/Extensions/.
Nothing new on /System/Library/Extensions/IONetworkingFamily/Contents/Plugins/ though.

However, I cannot get AppleRTL815XEthernet to load. It's listed on Extensions but I cannot get it to load.
I removed the AppleRealtekPatcher kext but still it loads something else, maybe AppleUSBNetworking is getting used instead.

If I do a kextload on AppleRTL815XEthernet and then kextstat shows as if everything is ok.
However, when I use "sudo kextutil -load" this is what I get:

Screenshot 2020-04-06 at 20 56 56

I tried rebuilding cache with Hackingtool after doing the kextload and still, can't get the kext to load.

Am I missing something on how to load the AppleRTL815XEthernet kext properly?

@pintapass

This comment has been minimized.

Copy link

pintapass commented Apr 10, 2020

I'm using the Pluggable USB 3.1 Ethernet 2.5Gbps adapter that's available here in conjunction with the 1.0.20 RTL815X driver.

On macOS Catalina 10.5.3 and 10.5.4, I'm experiencing sporadic kernel panics and random issues with the WAN connection (LAN still seems to work fine) whereby websites won't resolve. All signs point to the driver.

To me, it's a red flag if the bundled uninstall command doesn't even work properly. I want to remove all of Realtek's files and start fresh. Should I reinstall macOS? Selectively remove the kexts?

@sighrobot

This comment has been minimized.

Copy link

sighrobot commented Apr 13, 2020

I ended up on this thread because I recently bought the Monoprice Select Series USB-C 3-Port USB 3.0 Hub and Gigabit Ethernet Adapter for my MacBook Pro and was not seeing speeds over 100 Mbps, even though my wired connection routinely exceeds 300 Mbps. Even if I manually set the interface to use 1000baseT, the speed would not budge, and Network Utility reported that the Link Speed was 100 Mbit/s instead of the expected 1 Gbit/s

Eventually I installed the Realtek 8153 for "MAC OS 10.6 to 10.15", restarted my computer, deleted and re-created the LAN interface, and all of the sudden it worked. Since then it has mostly worked, except for a few times after restart / normal shut down / unplug where things seem to revert to how they were before I installed the driver. If I install the driver anew, it works again.

Additionally, I am a long time user of MenuMeters and I've noticed that when things are working properly (Link Speed of 1 Gbit/s), MenuMeters always reports a Rx speed of zero. If the interface is in 100 Mbit/s mode (i.e. sub-optimal for this device), MenuMeters accurately reports my Rx speed.

@april

This comment has been minimized.

Copy link

april commented Apr 25, 2020

Even with the 1.0.20 driver, I still can't anything faster than USB 2.0 (480Mbps) on my system running 10.15.4. Attempting to load the driver via kextutil -load simply tells me that it was rejected due to system policy.

Are people disabling SIP to get USB 3.0 speeds with the 8153?

@briantopping

This comment has been minimized.

Copy link

briantopping commented May 12, 2020

I found this thread while trying to get a 2020 16" MBP running with this device. I know it works because it's reported to work here. In my case, I always get a MAC address of 00:00:00:00:00:00 and a self-assigned IP address. This is with the 1.0.20 driver from the Realtek site.

I know a lot of folks here are building Hackintosh, just wanted to convey that this is a problem on real hardware as well.

@raladowz

This comment has been minimized.

Copy link

raladowz commented May 13, 2020

I found this thread while trying to get a 2020 16" MBP running with this device. I know it works because it's reported to work here. In my case, I always get a MAC address of 00:00:00:00:00:00 and a self-assigned IP address. This is with the 1.0.20 driver from the Realtek site.

I know a lot of folks here are building Hackintosh, just wanted to convey that this is a problem on real hardware as well.

it is, I have the same MBP and also have problems

@briantopping

This comment has been minimized.

Copy link

briantopping commented May 13, 2020

An update on my previous response: I eventually reinstalled the OS from the recovery partition and sorted all my extensions by signer to remove any I didn’t need any more. I also removed all network configurations that weren’t necessary. Various combinations of disabling and enabling SIP prior to reinstall didn’t help either.

In the end the solution for me was pretty simple... the 1.20 driver works, but it will not load on reboot. The device must be physically unplugged and re-plugged after machine boot. From there, it loads without fail, including DHCP. The only thing that doesn’t seem to work is the OS still doesn’t see the MAC address. I haven’t sniffed the wire to see what address it’s actually using, can do that if anyone is interested.

@SebastianBetancourt

This comment has been minimized.

Copy link

SebastianBetancourt commented May 13, 2020

I found this thread while trying to get a 2020 16" MBP running with this device. I know it works because it's reported to work here. In my case, I always get a MAC address of 00:00:00:00:00:00 and a self-assigned IP address. This is with the 1.0.20 driver from the Realtek site.
I know a lot of folks here are building Hackintosh, just wanted to convey that this is a problem on real hardware as well.

it is, I have the same MBP and also have problems

Me too. I have a 2012 MBP with Catalina 10.15.4 and my 8153-based ethernet adapter just doesn't work. Tried it on my older MBP with High Sierra and it works flawlessly.

I'm actually at the same spot as @raladowz is, managed to put AppleRTL815XEthernet110.kext into /Library/Extensions but sudo kextutil -load /Library/Extensions/AppleRTL815XEthernet110.kext does not seem to actually load it.

@ayanko

This comment has been minimized.

Copy link

ayanko commented May 14, 2020

So many if/else.... What is "Final Solution"?

@doruchiulan

This comment has been minimized.

Copy link

doruchiulan commented May 14, 2020

nobody found that yet because it depends a lot on the environments I guess, but you're free to enlighten us

@bzamecnik

This comment has been minimized.

Copy link

bzamecnik commented Jun 4, 2020

In my case (i-tec USB 3.0 Metal HUB 3 Port + Gigabit Ethernet Adapter with RTL8153, MacOS Mojave 10.14.6 and drivers v1.0.16) the problem is when I'm waking up the Mac and plug back the USB dongle, the ethernet adapter is not visible (USB2.0 hub with attached devices like keyboard/mouse is). When unplugging and plugging it in the second time it gets recognized. This is pretty consistent (I have to do it every day).

$ kextstat | grep com.realtek.driver.AppleRTL815
  475    0 0xffffff7f83532000 0x2c000    0x2c000    com.realtek.driver.AppleRTL815XEthernet (1.0.16) 60BB1FB8-54A3-30B4-87DD-47A026805B8C <56 17 6 5 3 1>
  476    0 0xffffff7f83170000 0x2000     0x2000     com.realtek.driver.AppleRTL815XComposite (1.0.16) 67056DDF-D4CF-3D38-8F19-93A47429D1E7 <56 6 5 3 1>
$ ioreg -p IOUSB -w0

+-o Root  <class IORegistryEntry, id 0x100000100, retain 17>
  +-o AppleUSBEHCI Root Hub Simulation@1d000000  <class AppleUSBRootHubDevice, id 0x1000002c2, registered, matched, active, busy 0 (9 ms), retain 12>
  | +-o IOUSBHostDevice@1d100000  <class AppleUSBDevice, id 0x10003a572, registered, matched, active, busy 0 (3 ms), retain 15>
  |   +-o IOUSBHostDevice@1d180000  <class AppleUSBDevice, id 0x10003a593, registered, matched, active, busy 0 (2 ms), retain 16>
  |     +-o BRCM20702 Hub@1d181000  <class AppleUSBDevice, id 0x10003a5ab, registered, matched, active, busy 0 (2 ms), retain 15>
  |     | +-o Bluetooth USB Host Controller@1d181300  <class AppleUSBDevice, id 0x10003a5cc, registered, matched, active, busy 0 (12594 ms), retain 17>
  |     +-o Apple Internal Keyboard / Trackpad@1d182000  <class AppleUSBDevice, id 0x10003a5bd, registered, matched, active, busy 0 (241 ms), retain 18>
  +-o AppleUSBEHCI Root Hub Simulation@1a000000  <class AppleUSBRootHubDevice, id 0x1000002c9, registered, matched, active, busy 0 (15 ms), retain 9>
  | +-o IOUSBHostDevice@1a100000  <class AppleUSBDevice, id 0x10003a576, registered, matched, active, busy 0 (3 ms), retain 15>
  |   +-o FaceTime HD Camera (Built-in)@1a110000  <class AppleUSBDevice, id 0x10003a6b0, registered, matched, active, busy 0 (62 ms), retain 22>
  +-o AppleUSBXHCI Root Hub Simulation@14000000  <class AppleUSBRootHubDevice, id 0x1000002e6, registered, matched, active, busy 0 (15 ms), retain 11>
    +-o 4-Port USB 2.0 Hub@14200000  <class AppleUSBDevice, id 0x10003b7be, registered, matched, active, busy 0 (2 ms), retain 16>
    | +-o G413 Silver Mechanical Gaming Keyboard@14210000  <class AppleUSBDevice, id 0x10003b7e3, registered, matched, active, busy 0 (37 ms), retain 16>
    | +-o HP USB 1000dpi Laser Mouse@14230000  <class AppleUSBDevice, id 0x10003b7ea, registered, matched, active, busy 0 (21 ms), retain 14>
    +-o 4-Port USB 3.0 Hub@14400000  <class AppleUSBDevice, id 0x10003b7d0, registered, matched, active, busy 0 (2 ms), retain 14>
    +-o My Passport 0748@14300000  <class AppleUSBDevice, id 0x10003b890, registered, matched, active, busy 0 (1434 ms), retain 14>

After replugging the ethernet adapter appears:

    +-o 4-Port USB 3.0 Hub@14400000  <class AppleUSBDevice, id 0x1000006e5, registered, matched, active, busy 0 (1 ms), retain 12>
      +-o USB 10/100/1000 LAN@14440000  <class AppleUSBDevice, id 0x1000006f8, registered, matched, active, busy 0 (8 ms), retain 12>

Reloading the kext drivers didn't help.

After upgrade to v1.0.20 it's the same, except the USB 3.0 hub is also not visible. I'm suspicious that's because only the ethernet driver got upgraded, not the "Composite" one which I think is for the USB hub.

$ kextstat | grep com.realtek.driver.AppleRTL815
  178    0 0xffffff7f810aa000 0x2000     0x2000     com.realtek.driver.AppleRTL815XComposite (1.0.16) 67056DDF-D4CF-3D38-8F19-93A47429D1E7 <56 6 5 3 1>
  179    0 0xffffff7f80df5000 0x51000    0x51000    com.realtek.driver.AppleRTL815XEthernet (1.0.20) 75CF13F6-F67B-310D-ABC3-CCF03E18100B <92 23 17 6 5 3 1>

Before replugging - no USB 3.0 hub:

$ ioreg -p IOUSB -w0
+-o Root  <class IORegistryEntry, id 0x100000100, retain 17>
  +-o AppleUSBEHCI Root Hub Simulation@1a000000  <class AppleUSBRootHubDevice, id 0x1000002d0, registered, matched, active, busy 0 (5 ms), retain 12>
  | +-o IOUSBHostDevice@1a100000  <class AppleUSBDevice, id 0x10000128b, registered, matched, active, busy 0 (1 ms), retain 16>
  |   +-o 4-Port USB 2.0 Hub@1a120000  <class AppleUSBDevice, id 0x1000012fe, registered, matched, active, busy 0 (1 ms), retain 16>
  |   | +-o G413 Silver Mechanical Gaming Keyboard@1a121000  <class AppleUSBDevice, id 0x100001310, registered, matched, active, busy 0 (12 ms), retain 16>
  |   | +-o HP USB 1000dpi Laser Mouse@1a123000  <class AppleUSBDevice, id 0x100001317, registered, matched, active, busy 0 (7 ms), retain 14>
  |   +-o FaceTime HD Camera (Built-in)@1a110000  <class AppleUSBDevice, id 0x1000013d8, registered, matched, active, busy 0 (23 ms), retain 21>
  +-o AppleUSBEHCI Root Hub Simulation@1d000000  <class AppleUSBRootHubDevice, id 0x1000002d7, registered, matched, active, busy 0 (5 ms), retain 9>
  | +-o IOUSBHostDevice@1d100000  <class AppleUSBDevice, id 0x100001291, registered, matched, active, busy 0 (2 ms), retain 15>
  |   +-o IOUSBHostDevice@1d180000  <class AppleUSBDevice, id 0x1000012ad, registered, matched, active, busy 0 (1 ms), retain 16>
  |     +-o BRCM20702 Hub@1d181000  <class AppleUSBDevice, id 0x1000012c5, registered, matched, active, busy 0 (1 ms), retain 15>
  |     | +-o Bluetooth USB Host Controller@1d181300  <class AppleUSBDevice, id 0x1000012ed, registered, matched, active, busy 0 (5443 ms), retain 17>
  |     +-o Apple Internal Keyboard / Trackpad@1d182000  <class AppleUSBDevice, id 0x1000012d7, registered, matched, active, busy 0 (73 ms), retain 18>
  +-o AppleUSBXHCI Root Hub Simulation@14000000  <class AppleUSBRootHubDevice, id 0x10000065c, registered, matched, active, busy 0 (1 ms), retain 8>

After replugging - USB 3.0 hub and ethernet visible. This time under a different Root Hub:

$ ioreg -p IOUSB -w0
+-o Root  <class IORegistryEntry, id 0x100000100, retain 17>
  +-o AppleUSBEHCI Root Hub Simulation@1a000000  <class AppleUSBRootHubDevice, id 0x1000002d0, registered, matched, active, busy 0 (5 ms), retain 12>
  | +-o IOUSBHostDevice@1a100000  <class AppleUSBDevice, id 0x10000128b, registered, matched, active, busy 0 (1 ms), retain 16>
  |   +-o FaceTime HD Camera (Built-in)@1a110000  <class AppleUSBDevice, id 0x1000013d8, registered, matched, active, busy 0 (23 ms), retain 21>
  |   +-o 4-Port USB 2.0 Hub@1a120000  <class AppleUSBDevice, id 0x1000014ac, registered, matched, active, busy 0 (1 ms), retain 16>
  |     +-o G413 Silver Mechanical Gaming Keyboard@1a121000  <class AppleUSBDevice, id 0x1000014db, registered, matched, active, busy 0 (12 ms), retain 16>
  |     +-o HP USB 1000dpi Laser Mouse@1a123000  <class AppleUSBDevice, id 0x1000014e7, registered, matched, active, busy 0 (6 ms), retain 14>
  +-o AppleUSBEHCI Root Hub Simulation@1d000000  <class AppleUSBRootHubDevice, id 0x1000002d7, registered, matched, active, busy 0 (5 ms), retain 9>
  | +-o IOUSBHostDevice@1d100000  <class AppleUSBDevice, id 0x100001291, registered, matched, active, busy 0 (2 ms), retain 15>
  |   +-o IOUSBHostDevice@1d180000  <class AppleUSBDevice, id 0x1000012ad, registered, matched, active, busy 0 (1 ms), retain 16>
  |     +-o BRCM20702 Hub@1d181000  <class AppleUSBDevice, id 0x1000012c5, registered, matched, active, busy 0 (1 ms), retain 15>
  |     | +-o Bluetooth USB Host Controller@1d181300  <class AppleUSBDevice, id 0x1000012ed, registered, matched, active, busy 0 (5443 ms), retain 17>
  |     +-o Apple Internal Keyboard / Trackpad@1d182000  <class AppleUSBDevice, id 0x1000012d7, registered, matched, active, busy 0 (73 ms), retain 18>
  +-o AppleUSBXHCI Root Hub Simulation@14000000  <class AppleUSBRootHubDevice, id 0x10000065c, registered, matched, active, busy 0 (1 ms), retain 9>
    +-o 4-Port USB 3.0 Hub@14400000  <class AppleUSBDevice, id 0x1000014b9, registered, matched, active, busy 0 (1 ms), retain 15>
      +-o USB 10/100/1000 LAN@14440000  <class AppleUSBDevice, id 0x1000014f1, registered, matched, active, busy 0 (14 ms), retain 15>

Now I'm wondering how could I upgrade also the "AppleRTL815XComposite" driver. Possibly I can try uninstall and reinstall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.