Hostapd gives error with Madwifi.conf file

maloomnahi at maloomnahi
Sun Sep 9 20:29:55 PDT 2007

Hi Nazeer,

Thanks for the information, I had the same setting in my .config file and no use changing that. Below is the result I am getting now:

[root at localhost hostapd-0.5.8]# hostapd -dd madwifi.conf
Configuration file: madwifi.conf
'ine 14: invalid/unknown driver 'madwifi
'.2 errors found in configuration file 'madwifi.conf'

[root at localhost hostapd-0.5.8]# hostapd -dd hostapd.conf
Configuration file: hostapd.conf
ioctl[SIOCSIWMODE]: Operation not supported
Could not set interface to master mode!
madwifi driver initialization failed.
eth0: Unable to setup interface.
Flushing old station entries
Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory

I am not finding any solution to this as of now, it would be great if you could give me a solution to this problem. Following are the additional information. .Config, hostapd.conf are set according to the ticket 539 and as per

Linux 2.6.18
Hostapd 0.5.8
AR5212 Chipset


----- Original Message -----
From: Nazeer Khan <Nazeer.Khan at>
To: maloomnahi at
Cc: hostap at
Sent: Sat, 8 Sep 2007 06:35:52 +0530 (IST)
Subject: Re: Hostapd gives error with Madwifi.conf file

On Fri, September 7, 2007 5:10 pm, maloomnahi at said:
> Dear All,
> This email is with regards to a problem faced while running the
> hostapdv0.5.8 with madwifi CONFIG file. Its about hostapd -dd madwifi.conf
> giving "Line 14: invalid/unknown driver 'madwifi" error on the prompt.

I believe you have not compiled hostapd with madwifi support. Change the
.config file to include madwifi driver too.

# Driver interface for madwifi driver
CFLAGS += -I/usr/src/madwifi-ng


Nazeer Khan
Research Student
Networks and Pervasive Computing
National ICT Australia Limited
Phone: +61 2 8374 5554
Mobile: +61 415627442

The imagination driving Australia's ICT future.

More information about the Hostap mailing list