I have installed my ASUS PC with Ubuntu 20.04.5 LTS. After I setup a python environment to run applications. It is plugged into my wifi box that is plugged to the router. I have internet through a local ip address to the ethernet port. Everything works fine.
However, when I reboot, it turns back on without access to the internet and the local ip address that I was previously connecting to is missing. This does not occur all the time. There have been a few times after reboot that there is still an internet connection/local ip address.
The problem seems to be it does not recognize the ethernet connection. Port is recognized on the Ubuntu/ASUS machine, but maybe not found in the wifi/router? Here is a screen shot of running ip addr
after it has lost connection.

I have reinstalled Ubuntu multiple times in hopes that the reinstall would somehow fix the problem, but it seems that this loss of internet/ethernet/netplan keeps reoccurring after reboot and I don’t know where to look next.
I don't intend to reboot often but I don't want to have a server that cannot be rebooted ever with fear that I will lose my internet connection.
Any suggestions?
Here are other things I’ve considered:
This is a similar problem:
Netplan Interface Disappears on Ubuntu 20.04
-- > I do not understand solution if there is one in this post
I’ve tried to configure a static IP address
https://linuxize.com/post/how-to-configure-static-ip-address-on-ubuntu-20-04/
In my /etc/netplan/
there is only a file called 00-installer-config.yaml. I edit that based on the #2 article and here is what it looks like. But when i try to sudo netplan apply
I get : sudo: netplan: command not found
