Segmentation Fault: madwifi and hostapd

Chad Meister chadlich
Thu Jan 26 18:05:56 PST 2006


Hi,

I've tried to resolve this problem for a week and I'm
stumped.  I'm trying to setup a madwifi-ng AP using
hostapd and a radius server.  I have the radius server
up and running, but can't pull up hostapd without
return a segmentation fault.

my_machine:/etc/hostapd# hostapd -d hostapd.conf
Configuration file: hostapd.conf
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:0f:cb:b1:bd:eb and
ssid 'my_wpa_ap'
ath0: RADIUS Authentication server 127.0.0.1:1812
Segmentation fault

My hostapd.conf file contains the following lines
only:
########
interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=3
dump_file=/tmp/hostapd.dump
ssid=my_wpa_pa
macaddr_acl=1
accept_mac_file=/etc/hostapd/hostapd.accept
deny_mac_file=/etc/hostapd/hostapd.deny
auth_algs=1
ieee8021x=1
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=192.168.1.1
auth_server_addr=127.0.0.1
auth_server_port=1812
auth_server_shared_secret=radius_secret
acct_server_addr=127.0.0.1
acct_server_port=1813
acct_server_shared_secret=radius_secret
radius_server_auth_port=1812
wpa=1
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP CCMP
wpa_group_rekey=300
wpa_gmk_rekey=6400
#######

More information about my setup:
1) hostapd and freeradius will be running on the same
machine
2) I'm running kernel 2.6.13.1
3) I have all of madwifi's relevant modules loaded
4) Hostapd works great in WPA-PSK mode

If anyone could help me get hostapd and madwifi up and
running, with the above configuration, it would be
great.  (I've already asked the madwifi mailing list
to no avail).  If I can do more to track down the
cause of the Segmentation fault, please let me know.

Thanks,

Chad 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Hostap mailing list