The recovery server could not be contacted

I factory reset my Mac and followed the steps until I saw this:

I tried running the command:

npdate -u time.apple.com

and

date mmddhhmmyy

enter image description here

It still does not work. How do I resolve the issue?

I think that the problem is not about the date. I tried to check the logs.

This is what showed up.

enter image description here

What do you think is the problem? Thank you for the time I just really need this.


Solution 1:

Simple fix, connect the ethernet cable directly to your laptop(use usb-ethernet adapter) or pc and reinstall mac OS from the internet recovery mode= restart and hold command-option-R.