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?
ip route
(Seeman route;man ip-route
) does not show adefault
route, you will have to add it via something like (YMMV):ip route add default via 192.168.1.1 dev eth0
– waltinator Aug 08 '16 at 22:43ip route
. It shows a default route though.default via 192.168.1.1 dev eth0
– Fullk33 Aug 08 '16 at 22:47ping google.com
– Fullk33 Aug 08 '16 at 22:57ping 8.8.8.8
- if that works, then it's most likely just a DNS issue – steeldriver Aug 08 '16 at 23:26echo 'nameserver 8.8.8.8' | sudo tee /etc/resolv.conf
which will (temporarily - until you reboot, or restart the resolvconf service) hardwire your system to use one of the google public DNS servers. Then tryping google.com
again. If that works, try yoursudo apt-get update
once more. – steeldriver Aug 09 '16 at 01:17