I recently had an Ubuntu system upgrade fail part way through with the result that it would not longer connect tot he net. I resolved it by carrying out the following. Your situation may be different.
If you run ifconfig -a you should get information about your ethernet adapters, but if this is not the case these steps might help.
If you run ifconfig -a you should get information about your ethernet adapters, but if this is not the case these steps might help.
- /etc/resolv.conf was missing so I recreated the link: ln -s /run/resolvconf/resolv.conf
- Then reconfigured it: dpkg-reconfigure resolvconf
- Add a route: ip route add default via 192.168.0.1 dev eth0
Then I was able to run apt-get update and all was good after a reboot
No comments:
Post a Comment