【macOS】RTL8153 网卡驱动

Posted by 西维蜀黍 on 2021-01-06, Last Modified on 2021-09-21

查看 Type-C 网卡型号

查看当前驱动版本/驱动加载情况

# 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

卸载 Apple 官方 Driver

// Un-plug your adapter

// Backup and remove Apple's driver
rsync -avzh /System/Library/Extensions/AppleUSBRealtek8153Patcher.kext ~/Desktop/ 
sudo rm -rf /System/Library/Extensions/AppleUSBRealtek8153Patcher.kext
// Install driver from Realtek
// Refresh kextcache (I used an app called "Hackintool" which has an option on "Tools" tab)

// Reboot

最新驱动下载

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

绿联 Driver Uninstall Script

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

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

echo "Removing Realtek USB Ethernet Driver..."

sudo kextunload /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
sudo kextunload /System/Library/Extensions/AppleRTL815X*.kext
sudo kextunload /Library/Extensions/AppleRTL815X*.kext
sudo kextunload -b com.realtek.driver.AppleRTL815XComposite
sudo kextunload -b com.realtek.driver.AppleRTL815XEthernet

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

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

sudo kextcache --clear-staging
sudo kextcache -e

echo "Uninstall Complete."

Reference

AX88179 Driver