Hostapd gives error with Madwifi.conf file

maloomnahi at maloomnahi
Tue Sep 11 20:22:40 PDT 2007

Hi Nazeer,

Do I have to make an interface eth1 or ath1 [for example] already before running this command? OR other way to put it, Should I run "wlanconfig eth1 create wlandev wifi0 wlanmode ap" for example [directly talk with AR5212 firmware?

As you can see in the output, it is giving an error of not able to set the interface to master mode. !! Am I missing some setting in .CONFIG file?


----- Original Message -----
From: Nazeer Khan <Nazeer.Khan at>
To: maloomnahi at
Cc: Jan Ceuleers <jan.ceuleers at>, hostap at
Sent: Wed, 12 Sep 2007 03:39:42 +0530 (IST)
Subject: Re: Hostapd gives error with Madwifi.conf file

On Tue, September 11, 2007 8:24 pm, maloomnahi at said:
> Hi Jan,

> [root at localhost hostapd-0.5.8]# hostapd -ddd hostapd.conf
> Configuration file: hostapd.conf
> ctrl_interface_group=0
> eapol_version=1
> Configure bridge br0 for EAPOL traffic.
> ioctl[SIOCSIWMODE]: Operation not supported
> Could not set interface to master mode!

Is the interface in 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


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.

My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!

More information about the Hostap mailing list