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 have an annoying problem. Every time the LAN cable is not in while booting, I cannot get any connection to the internet, network, router, etc. I tried to plug in and out the cable several times - but nothing happened, besides that I always shows that LAN is disconnected. The same happens after sleeping mode.

I am new to Ubuntu (12.04) and hoping for a hint!

Thanks in advance!

share|improve this question
add comment

2 Answers 2

DHCP protocol can not assign your NIC an IP address without a cable connected. Obtain root acces in a console and execute dhclient eth0 where eth0 is the name of your NIC.

share|improve this answer
add comment

Try opening a terminal and use this command:

sudo /etc/init.d/networking restart

if this does not work, try stopping and starting the connection:

sudo /etc/init.d/networking stop
sudo /etc/init.d/networking start
share|improve this answer
    
sorry.. that did not solve my problem.. i could furthermore not restart the networking after stopping. –  user94770 Oct 6 '12 at 13:02
add comment

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.