I am using ubuntu 20.04 desktop and one day after booting up my PC, without me touching anything, the internet wasn't working. So after about an hour of frustration I found the magic commad that fixed the issue: sudo dhclient enp7s0
The problem is that now every time I reboot my computer, the interent doesn't work again, until I run this command. So for some reason the dhcp client isn't being started on boot anymore. What can I do to fix this issue?
I can probably set some sort of cronjob to run this command after boot, but that would be a terrible solution, as the networking manager should be able to start the dhcp client on its own.