My problem started with this question: Failed to start Load Kernel Modules Ubuntu 16.04
Now I can boot but only log in on tty1. I am trying to get sudo apt-get update to work to try and fix all the other issues. The problem is, that I can not connect to the internet. ifconfig tells me that I have a connection, and sudo dhclient wlan0 and sudo dhclient eth0 now execute successfully, but pinging any host won't work via hostname (I always get a unknown host error). I can successfully ping 8.8.8.8 though.
service network-manager status shows active and running
ip route has a default route default via 192.168.1.1 dev eth0
How can I connect to the internet?