Try this....
Log on as root, get X up and running and with a terminal type :
service stop iptables
Now click on system, network configuration. It should have an entry for eth0 shown. If you're using DHCP (ie IP is automatically assigned by ISP) then make sure 'Use DHCP' is ticked (I'm good at stating the obvious
). If you're lucky enough (!) to have a fixed IP then make sure that you've entered that correctly.
Try running Mozilla (or whatever browser you might be using - Opera is quite good) and go to
www.yahoo.com. If it says '"Unknown host" then go back to the terminal and type :
ifconfig
You should see something like :
eth0 Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX
inet addr:10.0.0.43 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:30053 errors:0 dropped:0 overruns:0 frame:0
TX packets:33514 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:10826584 (10.3 Mb) TX bytes:3578008 (3.4 Mb)
Interrupt:11 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
If you only have the 'lo' section then try :
ifconfig eth0 up
then :
ifconfig
Eth0 should now appear. Try your browser again and then (assuming it works) re-establish your iptables. And, of course, don't forget to log out as root and back in as your normal user
.
Best of luck.