Wpa_supplicant problem

daniel escartin EXCHANGE03_VirtYH04 escartid at arcada.fi
Thu Feb 12 06:34:16 EST 2004



Hello all,

I'm having problems executing wpa_supplicant, I'm working with this
configuration:

-Linux Red Hat 9.0 with kernel 2.4.20-8

-Linksys WPC11 v.3

-Firmware version Host AP driver diagnostics information for 'wlan0'

NICID: id=0x801b v1.0.0 (PRISM III PCMCIA (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.8.0 (station firmware)

-My configuration file /etc/wpa_supplicant.conf is:
#######################################

#CISCO-WLAN

network={
        ssid="cisco-wlan"
        key_mgmt=WPA-PSK
        pairwise=TKIP
        #group=TKIP
        psk="1111111111"
}

#######################################

-and my script for wlan (/etc/sysconfig/network-scripts/ifcfg-wlan0) is:

DEVICE=wlan0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
PEERDNS=no
TYPE=Ethernet
IPADDR=192.168.1.99
GATEWAY=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
HWADDR=00:02:b3:22:c2:fc
CHANNEL=6
MODE=Managed
ESSID="cisco-wlan"


I'm trying to validate this wpa_supplicant with one pre-shared key againts
one cisco-ap with wpa support, I have got work this connection two times
but now its not working anymore.

Last time that I have tried to execute wpa supplicant I get next
error messages:

[root at test-radius hostap-utils-0.1.3]# tail -20 /var/log/messages
Feb 12 13:12:35 test-radius last message repeated 13 times
Feb 12 13:12:39 test-radius dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 8
Feb 12 13:12:40 test-radius pam_timestamp_check: pam_timestamp: `/var/'
permissions are lax
Feb 12 13:12:45 test-radius pam_timestamp_check: pam_timestamp: `/var/'
permissions are lax
Feb 12 13:12:47 test-radius dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 13
Feb 12 13:12:50 test-radius pam_timestamp_check: pam_timestamp: `/var/'
permissions are lax
Feb 12 13:12:55 test-radius pam_timestamp_check: pam_timestamp: `/var/'
permissions are lax
Feb 12 13:13:00 test-radius dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 21
Feb 12 13:13:00 test-radius pam_timestamp_check: pam_timestamp: `/var/'
permissions are lax
Feb 12 13:13:20 test-radius last message repeated 4 times
Feb 12 13:13:21 test-radius dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 16
Feb 12 13:13:25 test-radius pam_timestamp_check: pam_timestamp: `/var/'
permissions are lax
Feb 12 13:13:35 test-radius last message repeated 2 times
Feb 12 13:13:37 test-radius dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 3
Feb 12 13:13:40 test-radius dhclient: No DHCPOFFERS received.
Feb 12 13:13:40 test-radius dhclient: No working leases in persistent
database - sleeping.
Feb 12 13:13:40 test-radius pam_timestamp_check: pam_timestamp: `/var/'
permissions are lax
Feb 12 13:14:15 test-radius last message repeated 7 times
Feb 12 13:15:20 test-radius last message repeated 13 times
Feb 12 13:16:25 test-radius last message repeated 13 times

and with dmesg:

prism2_download: dl_cmd=1 start_addr=0x003f0c01 num_areas=3
prism2_hw_init: initialized in 40 ms
wifi0: NIC: id=0x801b v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.8.0
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)
ip_tables: (C) 2000-2002 Netfilter core team
wifi0: dropped unencrypted TX data frame (drop_unencrypted=1)


Someone knows whats wrong in my configuration.



More information about the HostAP mailing list