I am getting the following error from ubuntu 20.04 terminal, connected via wired ethernet connection:
When I type the following command which I am using in a bash script:
ping -c 1 google.com
for a health check to ensure it has access, I get the following error:
ping: google.com: Temporary failure in name resolution
Some background
I overwrote my older gaming rig to be a ubuntu multi purpose server (including smart home automation) in my home network. It used to be windows 10, but I formatted the drive and installed ubuntu on it.
I have not yet been able to access the internet with ubuntu, however, I do know that the equipment works because I left the internet wired in, I actually downloaded ubuntu via that machine onto the usb before installing.
Now I cannot see or connect to the ubuntu server from other devices and cannot reach the internet to download even basic tools like netstat.
At this point, I feel like I've bashed my head against a wall and scoured the internet (and lots of other stack overflow threads) and tried a bunch of things that didn't work.
Any help would be greatly appreciated!
Edit: As requested in comments, I am attaching a screenshot, since I am not able access the computer via any network. Only via hdmi.
Edit 2: Second screenshot as requested.