No WLAN after boot of 6.10, works with manual ifup/ifdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Just installed Ubuntu Server 6.10 (Edgy) on a Pentium 4 computer here, with a Atheros AR5212 PCI NIC.
I set up /etc/network/
After a fresh boot, I get no network, but if I manually restart networking, it works fine.
ifconfig after fresh boot:
ath0 Link encap:Ethernet HWaddr 00:13:F7:40:25:D5
inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::213:
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
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:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:816 (816.0 b) TX bytes:816 (816.0 b)
wifi0 Link encap:UNSPEC HWaddr 00-13-F7-
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:150 errors:0 dropped:0 overruns:0 frame:15
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:13754 (13.4 KiB) TX bytes:838 (838.0 b)
route -n after fresh boot:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 ath0
I.e. everything seems OK, but I cannot ping my router (10.0.0.1).
If I manually restart networking, i.e.
/etc/
Everything seems to work just fine.
I have added VERBOSITY=1 to the beginning of /etc/wpa_
/etc/network/
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ath0
iface ath0 inet static
address 10.0.0.3
netmask 255.255.255.0
gateway 10.0.0.1
I'm stuck here... How do I debug and diagnose wpa_supplicant problems during boot??
Also, here is iwconfig output:
iwconfig after fresh boot:
ath0 IEEE 802.11g ESSID:""
Bit Rate:0 kb/s Tx-Power:18 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:21 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
iwconfig after /etc/init.
ath0 IEEE 802.11g ESSID:"mynetwork"
Bit Rate:48 Mb/s Tx-Power:18 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=57/94 Signal level=-38 dBm Noise level=-95 dBm
Rx invalid nwid:62 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
I can see in 'ps' that wpa_supplicant is running after boot.
BTW, access point is a Linksys WRT54GL running OpenWRT RC5, which works perfectly with other computers (Linux and Windows).
This issue has also been confirmed by other users, see www.ubuntuforum s.org/showpost. php?p=1351902& postcount= 2
http://
The user in this forum post created a trivial script that simply restarts networking during boot.