My MacBook Air lost ethernet connectivity

2015 MB Air running OS 10.13.6

I've had years of faithful ethernet using an Anker USB to ethernet adapter/hub. Now suddenly, I cannot connect. In Network prefs for the adapter/hub, it says "Cable unplugged." Bought identical adapter/hub, with same story.


I tried multiple reboots of Air as well as of modem/router, and resetting NVRAM, but no change.

My wife is on the same router with same model adapter/hub, 2017 MB Air, OS 10.13.6 and has no problems. (Tried her adapter/hub on my Air, with same bad results.)


In case there might be a relationship here, I'll mention that WiFi (off Airport) is funky, too. My Air always sees the WiFi signal, but often cannot connect. Sometimes sleep/wake enables it to connect, but not always. Sometimes turning WiFi off/on works, but usually not. Sometimes reboot works, but not always. (WiFi works just fine for my wife as well as for my iPad and Android phone.)

Any ideas?


[Re-Titled by Moderator]

MacBook Air 13″, macOS 10.13

Posted on Apr 1, 2022 1:21 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 2, 2022 7:45 AM

In reading all the posts. I think it's software related. Two things to try. In recovery run disk utilities to repair drive. Then boot to safe mode and test you internet. Safe mode cleans cache files and disables some third party programs.

Start up your Mac in safe mode - Apple Support

Also in system preferences network. Click on ethernet, then advanced, then TCP/IP and renew DHCP lease.

Similar questions

58 replies
Question marked as Top-ranking reply

Apr 2, 2022 7:45 AM in response to gyandev

In reading all the posts. I think it's software related. Two things to try. In recovery run disk utilities to repair drive. Then boot to safe mode and test you internet. Safe mode cleans cache files and disables some third party programs.

Start up your Mac in safe mode - Apple Support

Also in system preferences network. Click on ethernet, then advanced, then TCP/IP and renew DHCP lease.

Apr 6, 2022 4:33 PM in response to my ginger

This forum isn't letting me reply to your

previous post, so I'll reply to both your most recent posts here:



Previous post

Progress! Yes, I had tried another hub/adapter and installed its driver. That had no visible effect on operation for some

days, so I suspected nothing. (The adapter didn’t work, by the way.) Fortunately, I haven’t returned it yet, so I was able to get the uninstall info, and I ran the uninstall (.command) file that came with it. Terminal’s response wasn’t what I expected—lots of "could not find" text, yet also an "uninstalled" message—but I know zero about Terminal. I do know that some stuff that was on the Mac before running Terminal isn’t there now, and after a reboot from the internal drive, both WiFi and ethernet were connected for a while. Ethernet still is, while WiFi is only "on," not "connected." Tried resetting SMC & NVRAM (4 chimes) again. Ethernet is still connected, but WiFi is still only "On.".

.


Re the other questions you asked: Yes, WiFi router is listed, and “remember networks” is checked.


Yes to all Advanced WiFi settings except ipv4 is 192.168.1.3


Re the fix-mac-ethernet link, I discovered thatI already had the right update.




This post about booting to Recovery

I don't know if i did something wrong, but WiFi is in the upper right, not in upper left, and it's not connected. Safari isn't

even available, only "macOS utilities". But after I plugged in the hub/adapter and clicked on "Get Help Online,"  that let me launch Safari and visit a website. So ethernet seems okay, but not WiFi.

Apr 2, 2022 2:43 PM in response to gyandev

Make a New Location, Using network locations in Mac OS X ...


System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.


System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.


The interface that connects to the Internet should be dragged to the top of the list.


Sys Prefs>Network>highlight the Interface you're using>Advanced>TCP/IP>Configure IPv4: Using DHCP.


If using Wifi, instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.


System Preferences>Network>choose interface>Advanced>Proxies Tab, make sure none are set, like for HTTP & HTTPS.


System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...


8.8.8.8

8.8.4.4

1.1.1.1

9.9.9.9


Apply.

Apr 4, 2022 11:35 AM in response to gyandev

You have some corrupt or missing files that affect ethernet and wifi. Or you have a program that is blocking it. Can you remember any programs you added or changed since it was working? Are you using any cleaning software or antivirus software. or VPN. I thought about having you download and run Etrecheck, which runs a diagnoses of your system. But to do it , you would have to drag and drop the app from the external drive to the internal. Then when it ran, save the report and then drag and drop it back to the desktop of the external drive so you could post it in here.

https://etrecheck.com/ Up to you if you want to try it.

Here is a terminal command that will list your internet connections. network setup -listnetworkserviceorder

Won't do anything but will show network order and if on.

Apr 5, 2022 6:37 PM in response to gyandev

Are you using the same usb connection on the MacBook every time. Or have you tried different ones. I note that your MacBook Air originally came with a thunderbolt to ethernet adapter. Do you have one? When you get a (cable not connected) and you know the adapter works, then it would be the connection on the MacBook Air. Which may sometimes loose power. Usually doing the Nvram or SMC reset fixes it or just a restart. Do Nvram for 4 chimes. Going to about this Mac systems report and checking under usb with it plugged in will tell you if the computer sees it. If your adapter and ethernet cable will work on your wife's computer, then it's not the adapter or cable. As far as WIFI. If the keychain password for WIFI is different than what you are typing in, it will get rejected. You could check keychain to see. The password will be under systems or icloud( your router name). You right click -get info-check show password box- enter user password. Or go into router and check WIFI password and name. And also, as in the case of the new drive. You have to make sure that when you join, that you get the setting right. It should be WPA2 or WPA2 personal. You can check this in router settings. Whatever your router is set to is what must be interned in when joining a network.

Apr 6, 2022 1:25 PM in response to gyandev

I still think it's a software problem. To check if this is the case. All you need to do is boot to your internal drive to recovery. You should show and have WIFI in the upper left corner. To check, click on and open Safari in recovery. Then click on a link and see if it loads. You can even test the ethernet By closing Safari. Going to the top left for WIFI and turn it off. Pug in your USB adapter and do the same thing that you just did to test WIFI. If both work then the problem is software. When done, don't forget to turn the WIFI back on.

Apr 2, 2022 4:54 PM in response to gyandev

Since your external drive, when used to boot your computer allows you to have internet. I still think it's a software problem. You could try a reinstall thru recovery to see if it would fix any files that are corrupt. This will not delete any personal files. The way passwords work to WIFI is that it would be the name of your WIFI source and password. Which would be the router. To change the the name of the internet you would have to do it in the router WIFI configuration as well. That is why it would not accept your password. When joining a new network you need to put in the password and name you use for the router. What BDAqua was tell you to do was manually change the settings for internet not the name or password. If trying to use WIFI. Go to the WIFI Icon and click on it then join other networks then then show networks. If you see your network click on it and join. If it asks for a password and or WPA2 WPA2 Personal WPA2-PSK. Put it in.

Apr 4, 2022 3:00 PM in response to my ginger

Thank you, my ginger. This is very encouraging. Here's what I found:


I hadn't intentionally installed anything lately, but curiously, the dates on the Google Drive and Google Docs apps say that those apps were active (or maybe installed?) last Thursday, which is when problems began. I surely didn't activate or install them—or even intentionally download them—because I'd already established months ago that the new Google Drive simply doesn't work right on my Mac. How did they get on my Mac again???


So now I took them out of the Applications folder and rebooted, and guess what: WiFi, when I booted from my external drive, had not been working today, but without those Google apps, it's now working. Better still, WiFi had not been working (booting from internal drive) since last Thursday, but right now it's working. Ethernet still isn't working on internal drive (still get the "Cable unplugged" notice), but thanks to you, things have taken a step in a good direction. Now I need to work on getting ethernet going.


Anyway, below is the (rather sobering) Etrecheck report. I guess I have some work to do, starting with figuring out how to get Apple security turned back on.



Apr 5, 2022 11:11 AM in response to gyandev

Did you ever recheck in network, to see if you could add ethernet back in your internal drive? By clicking on the + and then clicking on interface to see if it's there. I would suggest two things A Nvram reset and a SMC reset. Nvram is Command Option P R keys and power button. Allow three chimes. SMC reset is Shift Control Option and power button for 10 seconds. I remember that I had an old Macbook that the airport card was going out. And I would loose WIFI. It would show as on, but no connection. I would have to turn it off and then back on. This worked till it finally stoped working. Running a hardware test would not show any fault for WIFI. I ended up with a USB WIFI adapter.

Apr 20, 2022 3:12 PM in response to my ginger

We're now 72 hours into a new (used) Airport/Bluetooth card, and WiFi has been working just fine. Hallelujah, you solved it. Thank you so much.


And my old USB hub/adapter continues to work as well. Whew!


Oddly, the second (identical) hub/adapter that I recently bought still won't connect to internet, although the hub aspect works fine. I can't blame that hub/adapter, because my wife has her own (identical) hub/adapter that also doesn't work on my Mac (Network prefs gives me the usual "Cable unplugged") yet works perfectly fine with her 2017 MacBook Air. Gad! Well, so much for my grand plan to have one hub/adapter at home, and another at work. I'll just have to remember to take the working one with me wherever I go if I want ethernet.


Again, a thousand thanks to you, my ginger. You have been extraordinarily generous with your time and knowledge.

Apr 4, 2022 10:18 AM in response to my ginger

Thank you for your efforts, my ginger. Date, time & location were/are correct. WiFi password is correct, too.

Re the two links you offered, they looked very promising, so I tried 'em:


First link: As soon as I add the new location, the USB 10/100/1000 LAN disappears from the left-hand column, and it does not appear in the Set Service Order dialog, so I could go no further.


Second link: No hardware address for the USB 10…1000 LAN adapter in the Network/USB 10…1000 LAN/Advanced/Hardware window, nor is there a USB entry in the dropdown menu under Network Utility. That dropdown menu includes only Wi-Fi and Thunderbolt 1. So heck, I tried the Terminal instructions with the Wi-Fi hardware address, but that resulted in no change, so end of that road.


Unless another solution pops up, here is my current plan:


Option 1: Boot from external drive and erase the internal drive. The external drive has a CarbonCopyCloner copy of the system and apps from a couple months ago, when WiFi and ethernet adapter were working. So CarbonCopyClone those to the newly erased internal drive, then copy the user data from backup.


And if that doesn't get WiFi and ethernet going …


Option 2; Boot from external drive and erase internal drive. Install OS from install disk image, then reinstall apps one by one (ugh!), then copy the user data from backup.


You have been most helpful and resourceful. Sorry I haven't bee able to implement your suggestions in such a way as to solve the issue.

Apr 7, 2022 9:28 AM in response to gyandev

Sorry to hear that. Go to your wIFI icon and turn off WIFI if it's on. Then go to system preferences Security & privacy, click the lock. Enter your password and go to Firewall and disable it. Renew DHCP lease. In network click the gear icon and make sure you usb ethernet is at the top of the list. Restart. Under network advanced TCP/IP and DNS your router IP should be showing.

Apr 27, 2022 11:06 AM in response to gyandev

It is only your Macbook Air that has this problem? No other devises in you home have any WIFI problems? Next time your WIFI signal drops, boot to recovery and try using the online help thru safari in recovery. If you do not have WIFI in recovery then your problem is most likely a hardware problem. Either the Airport card you got is faulty or the Wifi antenna if faulty. If you do have Wifi in recovery then something in the software is the problem. Some routers allow you to set a permanent fixed ip for your computer. So you can't drop contact when your WIFI is running. In network preferences, advanced,TCP/IP. Your IPV4 address is your computer address on the router. You would need the MAC address as well. Which can be found in advance, hardware.

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.

My MacBook Air lost ethernet connectivity

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