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: