$ ping www.google.com connect: Network is unreachable
This is how my week #43 started.
Imagine you are suppose to reply a very important mail(s) and you are not able to connect to network… grrrrr…
Well if you are in a same situation you may choose to continue reading. Have tried lots of thing to solve the issue. I am sure you will get the solution for the same.
Ok.. So the following are the things which I started with.
First, I thought it was an issue with the LAN cable. So tried connecting it another cable. But no use. That was not an issue. The LAN cable was just working fine.
Second possible issue, Network Interface Card. That could be a problem as I have ran into similar issue previously and changing the Motherboard have worked. But unfortunately this time NIC was not the issue.
Changed the networking configurations…Restarted the system….phewwww
Tried connecting to other LAN ports. No use. Change the hard-drive and connected to the one which has dual boot available. Then thought of booting it from another operating System. In this case it was WinXP. Booted through it and then tried connecting it to internet. But efforts were in vain until a pop-up showed up on the right bottom of the screen which read “Unable to find drivers”. After reading this I installed the LAN drivers from the intel CD-ROM and everything worked fine. For the first time I was thankful to windows (XP). Restarted the system to boot it from ubuntu. Bingo!!! everything worked fine.
Hmmm, so now the problem was identified. The issue was with the drivers. Connected my hard-drive which has only linux. As it is said everything is a file in linux, one of the file used for networking could be corrupted.
Ok, but which file? How do I know that? So what I did was fired an “ifconfig” command and found that there was only loopback configuration. I restarted the networking for eth0 something like this:
Bingo… got the filename: SIOCSIFADDR: No such device
Tried the following:
Trial #1
echo "" > /etc/udev/rules.d/z*_persistent-net.rules.
After doing this restart networking
This didn’t worked for me.
Trial #2
root@ubuntu64:# sudo vi /etc/network/interfaces
Changed all the eth0 to eth1
Save the file. Now run the dhclient as follows:
root@ubuntu64:# dhclient
Restart networking.
This worked for me.
Hope this helps!
