Dropping Ethernet Connection on Big Sur

I have a 2020 27" iMac running Big Sur 11.1. I have hard-wired ethernet from my modem to my iMac with a gigabit connection AND also a Wi-Fi connection as well. Ever since I downloaded Big Sur I lose connection to the internet 1-3 times per day for no apparent reason. I can still access the internet on other devices, so it's not that. It's just the iMac that loses the connection. If I restart the iMac everything is fine until a few hours later when it will lose connection again for no reason. Any ideas? Thanks!

Posted on Dec 17, 2020 11:48 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 28, 2021 12:02 PM

Yes, turning on Wifi only does work. However, this isn't workable for me. I have a much faster and more reliable ethernet connection, so prefer that for every reason someone would want this. I also require Wifi to be turned on for location services to work properly. Therefore, I need them both.


This worked prior to Big Sur; I just want it to work again.


As I said, I resolved my issue by switching to a different ethernet adapter that is connected via a Thunderbolt bridge vs. USB-C. With this interface, I'm able to use both ethernet and wifi together without any issue.

Similar questions

209 replies
Question marked as Top-ranking reply

Mar 28, 2021 12:02 PM in response to rkemp77

Yes, turning on Wifi only does work. However, this isn't workable for me. I have a much faster and more reliable ethernet connection, so prefer that for every reason someone would want this. I also require Wifi to be turned on for location services to work properly. Therefore, I need them both.


This worked prior to Big Sur; I just want it to work again.


As I said, I resolved my issue by switching to a different ethernet adapter that is connected via a Thunderbolt bridge vs. USB-C. With this interface, I'm able to use both ethernet and wifi together without any issue.

Apr 12, 2021 10:26 PM in response to mr_ggg

@Murphy5156 @mr_ggg dn @everybody else who is a victim of the Big Sur ethernet bug. Below is not a fix but rather an automated workaround. The first script will install a launchDaemon and a watchdog script that probes the ethernet interface every 45 seconds and restarts it if it's unresponsive. The second script will uninstall the watchdog script and launchDaemon in case Apple ever gets their stuff together and the workaround is no longer needed. You will know everything works if the file /tmp/restart_en0.log is current and ends in "en0 alive".


Please note that the scripts will require your normal login password so that it can install the system-level launchDaemon and watchdog script, as the ethernet interface can only be restarted at system-level. (the sudo command is what will prompt for the password, and should only happen once per Terminal session)


To use:

1. Open Terminal (Applications - Utilities - Terminal.app)

2. Select and copy the content of the first script below

3. Enter the following command in Terminal (you can copy and paste from here):

cat > install_en0_watchdog_service.sh

4. Paste in the terminal window the just copied script

5. Press control-D (press and hold the key control, then briefly press D and release both keys)

6. Enter the following command in Terminal (you can copy and paste from here):

chmod 755 install_en0_watchdog_service.sh

7. Select and copy the content of the second script below

8. Enter the following command in Terminal (you can copy and paste from here):

cat > uninstall_en0_watchdog_service.sh

9. Paste in the terminal window the just copied script

10. Press control-D (press and hold the key control, then briefly press D and release both keys)

11. Enter the following command in Terminal (you can copy and paste from here):

chmod 755 uninstall_en0_watchdog_service.sh

12. Execute the installation script by entering the following command in Terminal (you can copy and paste from here):

./install_en0_watchdog_service.sh

13. If you ever want to uninstall the watchdog script and launchDaemon, open Terminal and enter the following command (you can copy and paste from here):

./uninstall_en0_watchdog_service.sh



First script: install_en0_watchdog_service.sh -- copy starting with # symbol below

#!/bin/bash
#### creating watchdog script
script="/Users/`whoami`/bin/restart_en0.sh"
mkdir "/Users/`whoami`/bin" 2> /dev/null
sudo chown `whoami` $script 2> /dev/null
cat <<TAG2 > $script
#!/bin/bash
(
gw=\`/sbin/route -n get 8.8.4.4 | /usr/bin/grep gateway | /usr/bin/awk '{print \$2}'\`
/sbin/ping -c 1 -t 5 -b en0 \$gw && /bin/echo en0 alive || ( /sbin/ifconfig en0 down && /sbin/ifconfig en0 up )
) &> /tmp/restart_en0.log
TAG2
chmod 755 $script
sudo chown root:wheel $script
### creating launchdaemon that will run watchdog script every 45 seconds
cat <<TAG1 > com.example.restart_en0.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
  "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.example.restart_en0</string>
    <key>ProgramArguments</key>
    <array>
        <string>$script</string>
    </array>
    <key>StartInterval</key>
    <integer>45</integer>
</dict>
</plist>
TAG1
sudo mv com.example.restart_en0.plist /Library/LaunchDaemons/
sudo chown root:wheel /Library/LaunchDaemons/com.example.restart_en0.plist
### (re)starting launchdaemon that was just created
sudo launchctl unload /Library/LaunchDaemons/com.example.restart_en0.plist
sudo launchctl load /Library/Launchdaemons/com.example.restart_en0.plist

### stop your selection above this line



Second script: uninstall_en0_watchdog_service.sh -- copy starting with # symbol below

#!/bin/bash
### unloading launchdaemon
sudo launchctl unload /Library/LaunchDaemons/com.example.restart_en0.plist
### deleting launchdaemon
sudo rm /Library/LaunchDaemons/com.example.restart_en0.plist
### deleting watchdog script
sudo rm /Users/`whoami`/bin/restart_en0.sh

### stop your selection above this line



Apr 28, 2021 10:36 AM in response to Murphy5156

Perhaps having both WiFi and Ethernet active could be causing some hiccups. Normally you don't need both active unless you maybe have an Apple Watch (or using AirDrop) which requires WiFi to be active.


Try this:


System Preferences -> Network


Click the down-arrow (refer to screenshot) and select "Set Service Order"


As you have an ethernet connection, best to make that one the first priority. So make sure the ethernet connection is on top of the list, and your WiFi connection is more lower on the list. You can drag the appropriate connection anywhere on the list.


Hope this helps.

Mar 2, 2022 1:27 PM in response to Zorba_le_grec

I may have finally found the solution. I finally upgraded to Monterey, however I did a clean install. I did not use the Migration Tool or a Time Machine backup, so I would not carry forward any potentially corrupt data. I was able to copy my data to an external drive, erase my main drive and install Monterey. Then I moved my data back and re-installed all my apps manually. Took about four hours. I am guessing the reason there are not that many of us with this problem is that perhaps you folks, like me, have not done a clean install in more than 10 years, and have been bringing old data forward that somehow causes this problem. Even if you cannot or do not want to install Monterey, you can do a similar clean install of Big Sur. I made a spreadsheet listing all my apps, and tried to carefully think out how I would do this, and was ready with a full backup in case anything went wrong. I have had no problems for four days now. I will let you know if I have the problem recur. ( BTW, I also noticed that my disk usage went from 113GB down to 87GB after this, so I apparently had a lot of accumulated junk. ) Of course, I don't expect many will be willing to do this. I think this is a really obscure bug that would be hard for Apple to figure out. I guess I should not rule out the possibility that Monterey is what actually solved the problem, and not my clean install. However, I had tried that and had other problems that made me revert to Big Sur last November. Be warned that reverting to Big Sur seemed easy, but in fact Monterey changed my Photos database, making it incompatible with Big Sur Photos, so I had to revert to an older backup of my photo library - took about a week to get that 350GB back from the cloud.

Feb 14, 2021 11:02 AM in response to Murphy5156

Same problem here. I waited to upgrade to Big Sur until 11.2.1. I am running ethernet and WiFi as you have to have WiFi to enable auto-unlocking of the computer ( 2018 Mac Mini ) using Apple Watch. I have only had Big Sur installed for a few days, but I have lost both ethernet and WiFi many times now. As others have said, in the network settings they both say "connected". Instead of rebooting, I open terminal and type :


sudo ifconfig en0 down

( enter your password )

sudo ifconfig en0 up


This restarts the network service, and both WiFi and ethernet are fixed, but not permanently.

Mar 16, 2021 4:30 PM in response to Zorba_le_grec

Daniel, I wanted to give you an update. I have isolated the problem to my usb-c ethernet adapter. I switched today to an adapter that uses a thunderbolt bridge (so, a different driver and interface, I'm assuming), and I have had no issues since.


I saw other posts in a few forums and articles about usb-based ethernet adapters with big sur. Some referenced particular ethernet chipsets in the adapters - can't confirm this. I also note that my driver version on my usb-c ethernet adapter was a 1.0 driver. FWIW.

Apr 21, 2021 9:41 AM in response to mr_ggg

So that's interesting. For those w/ built-in ethernet, are they registered as realtek adapters? If you open console and look at error reports, is there an associated entry? I happened to time sync mine because I have a sshuttle tunnel in the background that times out and outputs a timestamp of when that happens. In my case, I see the com.apple.DriverKit.AppleUserECM.dext panic and my ethernet adapter gets a private IP address and never recovers unless I disconnect and reconnect the dock.



May 30, 2021 6:47 PM in response to mr_ggg

FOR WHAT ITS WORTH, I've been suffering WiFi drop outs every minute and zero Ethernet capability since Big Sur 11.0 I'm now up to 11.4 I have finally solved the problem for my setup and am passing it on in case others have the same issue.

My issue came down to the VPN connection software I am using (Private Internet Access) After comprehensively removing and sweeping my boot drive for all traces both WiFi and Ethernet are rock solid.

What made me suspect the VPN software was booting into Safe Mode and finding everything worked as advertised (both WiFi and Ethernet) Given that during a normal boot, the only package I was automatically loading that modified my connections to the ROW was PIA's software. I removed it and everything works OK

Hope this works for some of you. Of course hindsight has made me kick myself and wonder why I did not think of this solution from day one rather than suffer from its effects for the past three months ... !!

Aug 13, 2021 6:45 AM in response to Steffel

I found a workaround on one of or 27" iMac from 2017 running on Big Sur:

Ethernet works when I set the MTU in the Hardware settings of Ethernet to a value larger than 1500 manually. For example an MTU of 1501 works and I get an obviously stable network connection with the built in Ethernet port. If I set it back to 1500 it stops working again. So it seems that there is a bug in the part of the Big Sur network drivers related to MTU settings. I don't know whether this will be long term stable and whether there will be side effects in the network because of the non-standard 1500 MTU value but at least it worked fine for me one working day so far. At least it is worth giving it a try...

Apr 17, 2022 12:17 PM in response to Murphy5156

I'm having the same problems with my 2019 MacPro connecting via Ethernet to a Ubiquiti network. Some interesting things I've observed:


  1. the same problem with random disconnects happens in Bootcamp/Windows 10
  2. the problem goes away when I connect to a "dumb" switch
  3. disabling various network features (auto-negotiate, STP, etc..) does not seem to help

Dec 20, 2020 1:13 PM in response to Murphy5156

Hey there, Murphy5156.


We understand that your iMac will lost internet connection around 1 to 3 times a day, while other devices are working on your internet network without any issues.


To confirm, is the Ethernet cable (and any adapters if applicable) plugged firmly into the iMac and the modem/router? If that isn't the case, it can cause issues with connectivity. Also, if possible, you stated you have Wi-Fi. Does this issue happen if you use Wi-Fi only with your iMac? While testing that, you'll want to unplug the Ethernet cable temporarily.


Does this also happen in a new administrator user? This article shows how: Set up users, guests, and groups on Mac This can help isolate this issue further, along with testing in safe mode: How to use safe mode on your Mac


Take care!

Dec 25, 2020 3:47 PM in response to Murphy5156

I have a 2016 Mac Pro 15 inch. I've been running Mojave on this Mac for years just fine. Today I upgraded to Big Sur 11.1. I have had the computer connected via ethernet for years with no connection problems whatsoever.


As soon as I began using the machine with Big Sur installed I was getting a "You Are Not Connected to The Internet" message. Nothing had changed with my ethernet connections. I could see that it was trying to connect via WiFi by seeing the WiFi icon attempt to activate. But I do not normally have WiFi on.


Then I took the ethernet cable, pulled it out of the Mac, and inserted it back into the Mac. Within a couple of seconds, internet resumed on the machine again. Now, I notice that when ever I turn the Mac off, I am faced with the same problem which is fixed by the cable removal and insertion. This is something I have never had to deal with before. This is something I would recommend Apple review for the next update.

Feb 20, 2021 6:36 AM in response to Murphy5156

With your double connection it is always problematic to diagnose which one a problem is coming from.

Even if the problem is purely software caused by Big Sur it is better for you and for engineers

which could work to reproduce and fix it to know which physical interface your problem

is coming from.


To help in this way, I recommand you to temporarily turn off Wi-Fi and to maintain your iMac

in this configuration for many days and report next that you are confident you have

an unstable Ethernet connection failing 3 times a day ( for example ).


It might be even easier to make a specific configuration for just the Ethernet configuration

and name this configuration:


System Preferences... > Network > Location: Home / Ethernet

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Dropping Ethernet Connection on Big Sur

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.