My eth0 has gone and I don't have internet and network connection

I had internet connection, but when I upgraded my VGA and restarted my PC then everything for eth0 has gone.

When I used ifdown:

 ifdown: interface eth0 not configured

Is there something I could do?

EDIT:
Content of /etc/network/interfaces

auto lo
iface lo inet loopback

When I ifconfig I don't have these lines:

inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe5e:a5e/64 Scope:Link

In the Terminal typed:

sudo gedit /etc/network/interfaces

and then added these lines in the bottom:

auto eth0
iface eth0 inet dhcp

then I typed:

sudo ifdown eth0
sudo ifup eth0

when I send the second command I received the below message:

No DHCPOFFERS received
No working leases in persistent database - sleeping

Any help?


Try:

sudo dpkg-reconfigure network-manager 

If that doesn't work boot from a live CD, back up your old network settings, clear out any system connection file and copy over the ones from the live CD.

Change to Root:

sudo su

backup:

mv /media/<Name of your Ubuntu Partion>/etc/NetworkManager/NetworkManager.conf /media/<Name of your Ubuntu Partion>/etc/NetworkManager/NetworkManager.conf.broken

clear:

rm /media/<Name of your Ubuntu Partion>/etc/NetworkManager/system-connections/*

copy:

cp /etc/NetworkManager/NetworkManager.conf /media/<Name of your Ubuntu Partion>/etc/NetworkManager/NetworkManager.conf
cp /etc/NetworkManager/system-connections/* /media/<Name of your Ubuntu Partion>/etc/NetworkManager/system-connections/

Can you try to edit /etc/network/interfaces and put it the default settings for DHCP below?

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

Try to restart the networking service with:

sudo service network-manager stop

If it doesn't work, then try:

sudo service network-manager stop

Then the following command to bring up the interface:

sudo ifconfig eth0 up

Then, force Ubuntu to ask for a new DHCP lease with:

sudo dhclient eth0