I've recently installed ubuntu 12.04 on an old dell pc, which I'm using as media center. I have an ethernet cable plugged in from the pc directly to the router.
There's nothing wrong with the network card as its I can access the pc from my laptop using Chicken VNC.
My ifconfig looks like this:
eth0 Link encap:Ethernet HWaddr 00:0f:1f:59:b1:5e
inet addr:192.168.1.21 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:1fff:fe59:b15e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15360 errors:0 dropped:0 overruns:0 frame:0
TX packets:19712 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1640979 (1.6 MB) TX bytes:17863489 (17.8 MB)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8534 errors:0 dropped:0 overruns:0 frame:0
TX packets:8534 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:664924 (664.9 KB) TX bytes:664924 (664.9 KB)
Any help appreciated.
Regards, Stephen
ifconfig
looks OK. There is an IP address, and seemingly no errors. I've no idea what you mean by "no internet connection", but the next step would be to try pinging google, like this:ping -c4 google.com
or like thisping -c4 173.194.70.101
.