Problem with hostapd config-file

the-able at gmx.net the-able at gmx.net
Sun Jul 30 14:50:14 EDT 2006


Hi,

i have a problem when tryring to run hostapd (i tried 0.4.9 and 0.5.4).
i use fedora core 5 and a wlan-card with an atheros-chipset.
madwifi ist installed and configured:

iwconfig:

lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
sit0 no wireless extensions.

Warning: Driver for device ath0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

ath0 IEEE 802.11b ESSID:"test"
Mode:Master Frequency:2.412 GHz Access Point: XX.XX.XX....
Bit Rate:0 kb/s Tx-Power:16 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:5273 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

i edited the .config:
# Driver interface for madwifi driver
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I/home/able/files2/madwifi-0.9.1/madwifi-0.9.1

after the make (no errors) i tried to run hostapd:

hostapd madwifi.conf

with following madwifi.conf:

# AP netdevice name (without 'ap' prefix, i.e., wlan0 uses wlan0ap for
# management frames)
interface=ath0
# In case of madwifi driver, an additional configuration parameter, bridge,
# must be used to notify hostapd if the interface is included in a
bridge. This
# parameter is not used with Host AP driver.
bridge=br0
# Driver interface type (hostap/wired/madwifi; default: hostap)
driver=madwifi
# hostapd event logger configuration
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
# Debugging: 0 = no, 1 = minimal, 2 = verbose, 3 = msg dumps, 4 = excessive
debug=0
# Dump file for state information (on SIGUSR1)
dump_file=/tmp/hostapd.dump
# SSID to be used in IEEE 802.11 management frames
ssid=wpa-test
# EAPOL-Key index workaround (set bit7) for WinXP Supplicant (needed only if
# only broadcast keys are used)
eapol_key_index_workaround=0
# Use integrated EAP server instead of external RADIUS authentication
# server. This is also needed if hostapd is configured to act as a RADIUS
# authentication server.
eap_server=0
# The own IP address of the access point (used as NAS-IP-Address)
own_ip_addr=127.0.0.1


I get the following error:

Configuration file: madwifi.conf
Line 14: invalid/unknown driver 'madwifi'
1 errors found in configuration file 'madwifi.conf'

line 14 is this:
driver=madwifi


i double-checked the CFLAGS-path in the .config.

does anyone have an idea?

thanks,
michael



More information about the HostAP mailing list