ifconfig will not configure wlan0 on boot, but it comes up fine after boot
We are using a new wireless card in a non-graphical Ubuntu install. We are configuring this card in /etc/network/
The interface does not successfully connect to the wireless network during boot. (Instead we get the "Waiting 60 more seconds" and "Booting without full network" messages. However, if, soon after boot, we run "ifup wlan0" the network card is configured and connects to the network successfully.
This is a problem as this machine does not usually have a keyboard or monitor attached. We would therefore like to not have to manually intervene in the network configuration on each boot.
Following information after a successful manual "ifup wlan0":
$ sudo lshw -c network
*-network:0
description: Wireless interface
product: AR9287 Wireless Network Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlan0
version: 01
serial: f8:d1:11:8c:5e:76
width: 32 bits
clock: 66MHz
resources: irq:21 memory:
*-network:1 DISABLED
description: Ethernet interface
product: RTL8139 Ethernet
vendor: D-Link System Inc
physical id: 1
bus info: pci@0000:04:01.0
logical name: eth0
version: 10
serial: 00:1b:11:52:41:2e
size: 10Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
resources: irq:22 ioport:
*-network:2 DISABLED
description: Ethernet interface
product: PRO/100 VE Network Connection
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:04:08.0
logical name: eth1
version: 01
serial: 00:19:d1:f5:5c:41
size: 10Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
resources: irq:20 memory:
$ sudo grep -v "^#" /etc/network/
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-ssid <our ssid>
wpa-psk "<our-psk>"
$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:415 errors:0 dropped:0 overruns:0 frame:0
TX packets:415 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:53400 (53.4 KB) TX bytes:53400 (53.4 KB)
wlan0 Link encap:Ethernet HWaddr f8:d1:11:8c:5e:76
inet addr:192.168.178.23 Bcast:192.
inet6 addr: fe80::fad1:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:678 errors:0 dropped:0 overruns:0 frame:0
TX packets:380 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:98496 (98.4 KB) TX bytes:61961 (61.9 KB)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Mary Gardiner
- Solved:
- Last query:
- Last reply: