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?
Edit:
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: http://serverfault.com/questions/193115/how-can-i-change-the-service-boot-order-in-ubuntu-server-10-04). You may also try disabling IPv6 since that is what it complained about: http://askubuntu.com/questions/309461/how-to-disable-ipv6-permanently – Freedom_Ben Oct 10 '13 at 16:28sudo service networking restart
as an upstart task and see if that does it http://askubuntu.com/a/1135/136192 . In the script you probably want the first line#!/bin/bash
and the second linesudo service networking restart
– Freedom_Ben Oct 11 '13 at 13:20