compiling hostapd against madwifi

Joachim Schiele js
Wed Jun 29 08:25:52 PDT 2005


On Wednesday 29 June 2005 16:52, and hansen wrote:
Hey dear and hansen,

Can you see this (below)! It has compiled! 

Thank you like hell! You saved me from another 4h try'n'error ;-)

Best regards,
Joachim

root at moon:/usr/src/hostap/hostapd# make
rm -f driver_conf.c
echo '/* THIS FILE AUTOMATICALLY GENERATED, DO NOT EDIT! */' \
                                        > driver_conf.c
echo '#include <stdlib.h>'                      >> driver_conf.c
echo '#include <stdio.h>'                       >> driver_conf.c
echo '#include <sys/types.h>'                   >> driver_conf.c
echo '#include <netinet/in.h>'                  >> driver_conf.c
echo '#include "hostapd.h"'                     >> driver_conf.c
echo '#include "driver.h"'                      >> driver_conf.c
echo "void madwifi_driver_register(void);"      >> driver_conf.c
echo 'void register_drivers(void) {'            >> driver_conf.c
echo "madwifi_driver_register();"               >> driver_conf.c
echo '}'                                        >> driver_conf.c
gcc -MMD -O2 -Wall -g -DHOSTAPD_DUMP_STATE -I. -I../driver/modules -I../utils 
-I../wpa_supplicant -I/usr/src/madwifi-bsd  -DCONFIG_IAPP 
-DCONFIG_RSN_PREAUTH -DCONFIG_DRIVER_MADWIFI -DEAP_MD5 -DEAP_TLS -DEAP_PEAP 
-DEAP_TTLS -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_TLV -DEAP_SERVER -DEAP_TLS_FUNCS 
-DPKCS12_FUNCS -DRADIUS_SERVER -DCONFIG_IPV6   -c -o driver_conf.o 
driver_conf.c
gcc -MMD -O2 -Wall -g -DHOSTAPD_DUMP_STATE -I. -I../driver/modules -I../utils 
-I../wpa_supplicant -I/usr/src/madwifi-bsd  -DCONFIG_IAPP 
-DCONFIG_RSN_PREAUTH -DCONFIG_DRIVER_MADWIFI -DEAP_MD5 -DEAP_TLS -DEAP_PEAP 
-DEAP_TTLS -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_TLV -DEAP_SERVER -DEAP_TLS_FUNCS 
-DPKCS12_FUNCS -DRADIUS_SERVER -DCONFIG_IPV6   -c -o driver_madwifi.o 
driver_madwifi.c
gcc -o hostapd hostapd.o eloop.o ieee802_1x.o eapol_sm.o radius.o md5.o rc4.o 
common.o ieee802_11.o config.o ieee802_11_auth.o accounting.o sta_info.o 
radius_client.o sha1.o wpa.o aes_wrap.o ctrl_iface.o driver_conf.o iapp.o 
driver_madwifi.o ../wpa_supplicant/l2_packet_linux.o eap_md5.o eap_tls.o 
eap_peap.o eap_ttls.o eap_mschapv2.o eap_gtc.o eap_tlv.o eap.o eap_identity.o 
eap_tls_common.o ../wpa_supplicant/tls_openssl.o ../wpa_supplicant/ms_funcs.o ../wpa_supplicant/crypto.o 
radius_server.o -lssl -lcrypto



> mkdir madwifi_bsd_download
> cd madwifi_bsd_download
>
> export
> CVSROOT=":pserver:anonymous at cvs.sourceforge.net:/cvsroot/madwifi"
>
> cvs checkout madwifi
> cvs checkout -r BSD madwifi
>
> /Lasse Jensen
>
> --- and hansen wrote:
> > No not BSD ;-)
> > but there is severel versions of the madwifi driver
> > all for linux but with some bsd stuff indside it
> > grap the madwifi bsd branch
> > the standart branch has a problem with hostapd
> >
> > /Lasse Jensen
> >
> > --- Joachim Schiele wrote:
> > > On Wednesday 29 June 2005 16:31, and hansen wrote:
> > > > Are you pointing out the right madwifi source
> > > > here is a part of my hostapd compile .config
> >
> > file
> >
> > > > # Driver interface for madwifi driver
> > > > CONFIG_DRIVER_MADWIFI=y
> > > > CFLAGS += -I
> >
> > /root/madwifi_bsd_28-6-2005/madwifi/
> >
> > > i'm using linux not bsd. this might be the fault
> >
> > ;P
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20050629/4b3ad185/attachment.pgp 



More information about the Hostap mailing list