Failed installing wpa_supplicant

James gerona521 at gmail.com
Thu Jun 29 14:15:59 EDT 2006


HI;

I am trying to connect my linux box wireless to the AP using Radius.
Iam using Cisco Adapter PI21AG and have succesfully installed the driver
(madwifi). I can scan the AP and see the SSID.

As the authentication is using EAP - TLS (certificate) I have to install the
wpa_supplicant. For that I choose thae last stable version (wpa_supplicant-
0.4.9).
Here is my .config file:

ONFIG_DRIVER_ATMEL=n
CONFIG_DRIVER_HOSTAP=n
CONFIG_DRIVER_IPW=n
CONFIG_DRIVER_MADWIFI=y
# Point this to your madwifi(-ng) sources
CFLAGS += -I/home/james/madwifi-0.9.1
CONFIG_DRIVER_NDISWRAPPER=n
CONFIG_DRIVER_PRISM54=n
CONFIG_DRIVER_WEXT=y
CONFIG_DRIVER_WIRED=y
CONFIG_WIRELESS_EXTENSION=y

#CONFIG_DRIVER_NDIS=y
#CONFIG_DRIVER_HERMES=y
#CONFIG_DRIVER_BROADCOM=y

CONFIG_IEEE8021X_EAPOL=y

CONFIG_EAP_MD5=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_FAST=y
CONFIG_EAP_TLS=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_GTC=y
CONFIG_EAP_OTP=y
CONFIG_EAP_SIM=y
CONFIG_EAP_PSK=y
CONFIG_EAP_PAX=y
CONFIG_EAP_LEAP=y
CONFIG_EAP_AKA=y

CONFIG_PKCS12=y
#CONFIG_SMARTCARD=y
CONFIG_PCSC=y

CONFIG_CTRL_IFACE=y
CONFIG_READLINE=y

Then as root , I do "make clean" and then "make".
Following are the error that I get:

pcsc_funcs.c:22:22: warning: winscard.h: No such file or directory
pcsc_funcs.c: In function 'scard_init':
pcsc_funcs.c:215: warning: implicit declaration of function
'SCardEstablishContext'
pcsc_funcs.c:215: error: 'SCARD_SCOPE_SYSTEM' undeclared (first use in this
function)
pcsc_funcs.c:215: error: (Each undeclared identifier is reported only once
pcsc_funcs.c:215: error: for each function it appears in.)
pcsc_funcs.c:217: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c:223: warning: implicit declaration of function
'SCardListReaders'
pcsc_funcs.c:253: warning: implicit declaration of function 'SCardConnect'
pcsc_funcs.c:253: error: 'SCARD_SHARE_SHARED' undeclared (first use in this
function)
pcsc_funcs.c:254: error: 'SCARD_PROTOCOL_T0' undeclared (first use in this
function)
pcsc_funcs.c:256: error: 'SCARD_E_NO_SMARTCARD' undeclared (first use in
this function)
pcsc_funcs.c:275: warning: pointer targets in passing argument 3 of
'_scard_select_file' differ in signedness
pcsc_funcs.c:289: warning: pointer targets in passing argument 3 of
'scard_select_file' differ in signedness
pcsc_funcs.c:295: warning: pointer targets in passing argument 3 of
'scard_select_file' differ in signedness
pcsc_funcs.c:303: warning: pointer targets in passing argument 3 of
'_scard_select_file' differ in signedness
pcsc_funcs.c:303: warning: pointer targets in passing argument 6 of
'_scard_select_file' differ in signedness
pcsc_funcs.c:311: warning: pointer targets in passing argument 2 of
'scard_pin_needed' differ in signedness
pcsc_funcs.c: In function 'scard_deinit':
pcsc_funcs.c:369: warning: implicit declaration of function
'SCardDisconnect'
pcsc_funcs.c:369: error: 'SCARD_UNPOWER_CARD' undeclared (first use in this
function)
pcsc_funcs.c:370: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c:377: warning: implicit declaration of function
'SCardReleaseContext'
pcsc_funcs.c: In function 'scard_transmit':
pcsc_funcs.c:397: warning: implicit declaration of function 'SCardTransmit'
pcsc_funcs.c:398: error: 'SCARD_PROTOCOL_T1' undeclared (first use in this
function)
pcsc_funcs.c:399: error: 'SCARD_PCI_T1' undeclared (first use in this
function)
pcsc_funcs.c:399: error: 'SCARD_PCI_T0' undeclared (first use in this
function)
pcsc_funcs.c:403: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function '_scard_select_file':
pcsc_funcs.c:444: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_read_file':
pcsc_funcs.c:512: warning: pointer targets in passing argument 2 of
'scard_transmit' differ in signedness
pcsc_funcs.c:513: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_verify_pin':
pcsc_funcs.c:557: warning: pointer targets in passing argument 2 of
'scard_transmit' differ in signedness
pcsc_funcs.c:558: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_get_imsi':
pcsc_funcs.c:594: warning: pointer targets in passing argument 3 of
'scard_select_file' differ in signedness
pcsc_funcs.c:606: warning: pointer targets in passing argument 1 of
'scard_parse_fsp_templ' differ in signedness
pcsc_funcs.c:624: warning: pointer targets in passing argument 2 of
'scard_read_file' differ in signedness
pcsc_funcs.c: In function 'scard_gsm_auth':
pcsc_funcs.c:692: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_umts_auth':
pcsc_funcs.c:795: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
make: *** [pcsc_funcs.o] Error 1

Is anyone can help, what went wrong? Do I miss something here?

Please help. I try to uninstall but it won't let me either.

Thanks
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060629/febc8e88/attachment.htm 


More information about the HostAP mailing list