[pkg-wpa-devel] No WPA Association on boot with "working" configuration

Krontab Krontab kr0ntab at yahoo.com
Fri Jun 2 09:35:53 UTC 2006


Ok... perhaps a fresh set of eyes can help me out with this problem,
as this issue not making a lot of sense to me.  Two different
same problem.  (just my luck... it's probably somethin I'm missing)

Any help would be greatly appreciated.

Distro: Ubuntu 6.06
Package: wpasupplicant 0.4.8-3ubuntu1
kernel: ubuntu official build - 2.6.15-23.39 (686)
Card 1: Intel 2200, ipw2200 driver v1.1.1
Card 2: Atheros chipset (madwifi)
AP: Cisco 1231AG
Wireless:  WPA-PSK, TKIP, Hidden SSID

I'm going up against a lame issue with the new way of invoking
wpa_supplicant via the ifupdown suite.  A couple of my laptops are
experiencing the same issue.  wpa_supplicant will successfully
auth/associate, and dhclient3 will obtain an IP when I manually issue
an "ifup eth1" command.  "sudo /etc/init.d/networking restart" even
brings it up nicely.  But for some reason... on system startup, it
will not associate or pull an IP.  The if-pre-up.d script
"wpasupplicant", which is really just a sym link to
/etc/wpa_supplicant/ifupdown.sh, obviously works, because again...
manual restart of the networking scripts and ifup commands bring up
wpa and dhcp.

Upon boot, and first logon, iwconfig and ifconfig both show no
association or dhcp lease.  The following shows that wpa_supplicant
was invoked and is running.  (although I don't have debug output from
the first connection attempt.  A subsequent "ifdown -a" and "ifup -a"
kills and initiates the same process, but brings up the interface

(forgive the wrapping)
$ ps -ef | grep wpa
root      3444     1  0 22:20 ?        00:00:00 /sbin/wpa_supplicant
-B -P /var/run/wpa_supplicant.eth1.pid -i eth1 -C
/var/run/wpa_supplicant -D wext

wpa_supplicant state says it's INACTIVE?

# wpa_cli
> level 0
> status

After manual "ifdown eth1" and "ifup eth1", a successful connection
is made, IP is renewed.  See wpa_cli output below.

# wpa_cli
... snipped for brevity ...

Connection to wpa_supplicant re-established
<2>Trying to associate with 00:12:80:28:c2:50 (SSID='SSID-WAS-HERE'
freq=0 MHz)
<2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
<2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with 00:12:80:28:c2:50 (SSID='SSID-WAS-HERE'
freq=0 MHz)
<2>Associated with 00:12:80:28:c2:50
<2>WPA: Key negotiation completed with 00:12:80:28:c2:50 [PTK=TKIP
<2>CTRL-EVENT-CONNECTED - Connection to 00:12:80:28:c2:50 completed

My network and wpa settings:

$ cat /etc/network/interfaces
auto lo eth1
iface lo inet loopback

iface eth1 inet dhcp
    wpa-ssid SSID-WAS-HERE
    wpa-key-mgmt WPA-PSK
    wpa-psk AND-MA'-PSK-WAS-HERE :-)
    wpa-ap-scan 1
    wpa-proto WPA
    wpa-scan-ssid 1
    wpa-pairwise TKIP
    wpa-group TKIP

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the Pkg-wpa-devel mailing list