I am running Ubuntu Server 12.04. I have a wireless USB card. When I begin the boot process I see:
Waiting for network configuration
It turns out that the network never comes up. But once I get to the command line, if I type: ifup wlan0
, then I have network access. My /etc/network/interfaces looks like this:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto wlan0
iface wlan0 inet dhcp
wpa-ssid xxxxxxx
wpa-psk xxxxxxxx
Looking in my network-interface-wlan0.log shows:
Failed to connect to wpa_supplicant - wpa_ctrl_open: Read-only file system
Failed to bring up wlan0.
Failed to connect to wpa_supplicant - wpa_ctrl_open: Read-only file system
ifdown: interface wlan0 not configured
I've looked at other askubuntu.com questions similar to this, but they don't seem to apply.
How can I get my system to network wirelessly at boot?
Additional information:
I did some poking around. Basically once I login I need to do a:
ifdown wlan0
because I think that ip thinks that is is up, but in /var/run/network the only thing that is 'up' is ifup.lo. Then I do a
'ifup -a'
and then everything works.