Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I have an ubuntu 13.04 server and want to connect to my network via wifi. At boot I get "Waiting for network configuration..." and "Waiting up to 60 more seconds for network configuration...". However my wifi LED is not turned on and get no connection.

When I run

sudo service networking restart

the wifi LED is turned on and I connect quickly.

This is my /etc/network/interfaces:

auto lo
iface lo inet loopback

# The primary network interface
auto wlan0
iface wlan0 inet dhcp
    wpa-ssid MySSID
    wpa-psk  MyPassword

Do you have any idea how to connect immediately at boot?


My dmesg output

share|improve this question

You should be able to get it added to the boot-up routine with the following:

sudo update-rc.d networking defaults

If that doesn't work or if it tells you it's already there, make sure it isn't crashing at bootup. This will show you error messages in the log:

dmesg | tail 40

You can find more helpful information about starting services at boot-up time here.

share|improve this answer
Unfortunately this did not help. I added my dmesg output to the original question, but could not detect anything promising. Maybe in line 749: "wlan0: link is not ready"? – ACNB Oct 10 '13 at 7:58
Based on your dmesg I wonder if your networking service is starting too soon. Try changing the order so it starts last (this is old but may help:…). You may also try disabling IPv6 since that is what it complained about: – Freedom_Ben Oct 10 '13 at 16:28
Thanks, but still no success. http::// - dmesg – ACNB Oct 11 '13 at 11:50
Wow I'm running out of ideas :-O Try running sudo service networking restart as an upstart task and see if that does it . In the script you probably want the first line #!/bin/bash and the second line sudo service networking restart – Freedom_Ben Oct 11 '13 at 13:20
I've now installed ubuntu 12.04 and everything works well. The LTS version seems to be much more stable. Thank you very much for helping anyway. – ACNB Oct 12 '13 at 15:14

Your Answer


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.