Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm setting up an old computer with ubuntu server 12.04. I wiped the drive and went through the installation fine but afterwards the ethernet would not work. It's physically connected to the router and the card is recognized by lspci(SiS 900) but it won't connect at all. I've plugged in and installed the drivers for a wifi adapter and it's worked with the same router. Just so you know I've turned it on and off plenty of times. Any help would be appreciated.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

type

ifconfig

if you can see the line starts from eth0 or something similar

then type

dhclient eth0.

try

ping google.com 

to check internet connection.

share|improve this answer
    
ifconfig gives me an eth0 and my loopback address. When I dhclient eth0 it hangs for long time but then goes to the prompt with no error. When I ping google it says "unknown host google.com" –  smithy545 Nov 11 '12 at 7:03
    
can you post the output of route -n ? –  linuxk Nov 11 '12 at 8:16
    
It says(I added "line break" and the o's for simplicity as comment formatting is difficult): ooooooo Kernel IP routing table line break oooooooooooooooooooooooooooooooooooooooooo Destination Gateway Genmask Flags Metric Ref Use Iface line break oooooooooooooooooo 0.0.0.0 192.168.15.1 0.0.0.0 UG 100 0 0 eth0 line break oooooooooooooooooooooooooo 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 –  smithy545 Nov 11 '12 at 17:55
    
Here's it without the o's for easy copying.Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.15.1 0.0.0.0 UG 100 0 0 eth0 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 –  smithy545 Nov 11 '12 at 17:56
1  
Thank you so much for your help but I got a new nic card and all is now good. I appreciate your help and I marked your answer right to give you points. –  smithy545 Nov 12 '12 at 21:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.