Ask Different Asked on December 22, 2021
I have a MacBook Pro Retina 2012 running Mojave. I was using USB ethernet on my Mac and sharing that as a WiFi to my android phone. All was stable.
Last week I had a partition error while I was resizing the disk and OS had crashed. I had to reinstall Mojave.
Now I’m trying to use the same setup. MacBook is getting internet from USB ethernet fine. I then shared the ethernet into my WiFi like last time for my Android. The Android connects to the WiFi but this time keeps saying no Internet. Mac can connect to WiFi, but cannot share internet through it. (I would guess the NAT server is not working or something like it)
I don’t know how to diagnose the problem and fix it.
Please suggest.
I accidentally found the behaviour while even my android emulator was not having internet. I was using dnsmasq and having 127.0.0.1 as my first DNS server in my Mac. The result was, the NAT server of MAC was not running its own DNS for NAT (which usually should be) but just sending all those DNS servers as-is to NAT clients (emulators and even internet sharing). 127.0.0.1 is useless for NAT client and so internet does not seem to work in those devices.
After I removed that server from my Mac's USB ethernet settings, I was back online on phone (and emulator) through my mac's internet sharing.
Answered by thevikas on December 22, 2021
The crash obviously damaged something and it hasn't quite been resolved yet.
First try some simple tasks such as:
Besides that, turn off your internet connection sharing, then go back to Network. Try editing your DNS settings on the USB/Ethernet connection and use the public IP addresses for CloudFlare and Google. CloudFlare is: 1.1.1.1 in addition to 1.0.0.1 Google is: 8.8.8.8 in addition to 8.8.4.4
Once you have the DNS settings entered and applied, test your internet connection on the computer one more time, then try turning the internet connection sharing feature back on.
If it still doesn't work, it may be a much more involved fix. You might have luck by going to Macintosh HD--> Library--> Preferences. Drag the SystemConfiguration folder to the trash (don't empty it as you might need it again), then reboot the computer.
Your network interfaces and bluetooth settings will probably be wiped out at that point and you can try setting things up fresh.
Answered by wizdomonwheels on December 22, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP