Limited Network Connectivity after reset and reinstall of original macOS
Specs:
2017 Macbook Air
Mac OS: Mountain Lion 10.8.5
Storage: 128GB SSD
Memory: 1600 MHz 4GB DDR3
Processor: i5
It had been running Mojave, but was factory reset. It would not boot up afterwards, so I had to do internet recovery and reinstall the OS which is Mountain Lion. However, I am very limited internet connectivity. Airport Utility and Network Diagnostics show a working WiFi connection. I get limited connectivity to websites like google.com, yahoo.com, mets.com (they load about 90%) but most websites (including apple.com) say I need to be connected to the internet. The App Store also says I need an internet connection. It does however, show that I have a system update available.
What are my options to fix the connection and/or get Mojave installed? Thank you in advance!
[Re-Titled by Moderator]