My main PC has AN Athlon X2 4600+ on an Asus M2npv-vm. Has been working fine for ages running Ubuntu. Today it the system locked up and I had to do a reset. Since then it will not connect to the router or cable modem. I can connect another PC to the router, so that looks okay.

What can I do to test the network connection from Ubuntu? It's not even getting an IP.

I suppose it could be something has died in the hardware, but want to eliminate other possibilities first.

link|improve this question

50% accept rate
what does the output of "ifconfig" say ? Also, try "sudo dhclient eth0" where eth0 is the interface name. – Abhinav Jun 20 '10 at 19:31
feedback

2 Answers

Got it working using the following sequence of commands. Use sudo on all

service network-manager stop
rm /var/lib/NetworkManager/NetworkManager.state
service network-manager start 
link|improve this answer
1  
+1 self-answers are good for SU. – msw Jun 20 '10 at 22:17
feedback

This helped me multiple times (Ubuntu 9.10,10.04,10.10 + Gnome):

  • Right-click on network icon at gnome panel
  • Turn "Network" on.

For some reason, network is switched off on system crash or non-clean poweroff. Removing NetworkManager.state file as Steve suggests also does the trick, as default state with everything "on" is used.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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