If Apple hasn’t yet made the Ethernet network port on your Mac obsolete by not including it, as is the case with most Macs sold today, then it may have accidentally broke the port last week in an OS X kernel extension update. Many users complained about the issue online: they had randomly found their Macs no longer connecting to the Internet and their Ethernet port simply not working. Apple has now officially acknowledged the problem on its support pages. Luckily, the software problem isn’t permanent and the bug can, usually, be easily resolved.

Apple has already fixed the Ethernet software problem for users going forward. Here’s the fix if you were affected …

If your Ethernet port has stopped working on your Mac, check System Information to find the version number of the Incompatible Kernel Extension Configuration file installed. If the number reads 3.28.1, you’ll need to update the configuration to get the Ethernet port working properly. It seems that Apple accidentally blacklisted its own networking kext, which is the cause of the issue.

To check your Incompatible Kernel Extension Configuration version number, hold the Option key and click the Apple menu. Then open System Information. Find the Software section and select Installations. Look for rows labelled ‘Incompatible Kernel Extension Configuration Data’ and find the most recent version installed. If the number is 3.28.1, you need to update the profile.

If you can connect to WiFi, then luckily updating the file to restore the functionality of the Ethernet cable is easy. Open Terminal. Type the following command into the command line; it will ask for your admin password:

sudo softwareupdate --background

Quit Terminal and restart the Mac. After rebooting, the Ethernet port should work again. If you can’t connect to WiFi,  the steps are a bit more involved. You’ll have to restart the Mac in Recovery mode and manually delete the offending files through Disk Utility and Terminal.

rm -rf “/Volumes/Macintosh HD/System/Library/Extensions/AppleKextExcludeList.kext”

Read the full steps on Apple’s Support Site and take care not to delete anything but the file in question. If you don’t mind losing data, it may be simpler to use Recovery Mode to just Reinstall OS X. This will fix the problem when OS X is started afresh, but obviously has the big downside of deleting other data. Make sure you have recent backups in any case.