Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just as the title says, is there a way to tell Ubuntu Server to constantly wait for an ethernet connection after it gets disconnected?

Use case: Ethernet cable gets unplugged (intentionally) for a long period of time, cable gets plugged back in, computer must be forcefully restarted to get on the network again

share|improve this question
What is the output of ifconfig immediately after reconnecting the cable? – Tim Jun 13 '12 at 15:25
Please provide more information on how you are 'starting' the ethernet service to begin with. The default behavior of most drivers is to remain ready to link up whenever a cable is plugged in. Also, which version of ubuntu and which ethernet card? – Mike Pennington Jun 13 '12 at 16:33

Your Answer


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

Browse other questions tagged or ask your own question.