I have a computer of a friend of mine, that runs Ubuntu (I don't know what version, due to the current system status) and while he was updating the kernel, he reboot the computer (yes that could be happen !!, anyway)
Currently I am trying to recover the system by using a live USB, with Ubuntu installed on it.
What I am doing, is the following: Update Failure
The problem is that when I try to execute the fifth step, I am getting error because I do not have Internet access. The computer is properly wired on my rooter, and I have Internet access in any place apart of the shell. This message for example is send it via the live USB. but I cannot access the Internet via the shell.
In my shell I try to use this command:
sudo dhclient eth0
but the result of this command is the following message
sudo: unable to resolve host ubuntu
My hosts file has the following content:
127.0.0.1 localhost
127.0.1.1 ubuntu
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
how can I get connected on the Internet, in order to download the appropriate updates ?
UPDATE 1
I just notice, that when I execute the ifconfig I am getting the following warning:
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
UPDATE 2
I just found that, and looks like solving the problem with dhclient eth0 command, but still I cannot ping Google
UPDATE 3
Now the sudo dhclient eth0 returns the following message:
RTNETLINK answers: File exists
UPDATE 4
I just ping my rooter and I getting response, so, it is looks like I cannot ping outside the rooter (ie. Google)
Kind regards ...