Can't get hostapd to work with madwifi

Kim Johnsson kimjohnsson
Fri Sep 8 08:15:37 PDT 2006


I changed to master mode with wlanconfig and it works now.
Thanks for your help!

/Kim

On 9/8/06, Stijn Tintel <stijn at linux-ipv6.be> wrote:
>
> Kim Johnsson wrote:
> > Hi,
> > I have successfully installed madwifi 0.9.2 on my slackware 10.1
> > computer. I've tested it and it works fine. I do however want
> > encryption, which is why I downloaded hostapd. The problem is, whenever
> > I try to start it, it give me this output:
> > -----
> > root at Athena:/files/temp/hostapd-0.4.9# hostapd /etc/hostapd.conf
> > Configuration file: /etc/hostapd.conf
> > ioctl[SIOCSIWMODE]: Invalid argument
> > Could not set interface to master mode!
> > madwifi driver initialization failed.
> > rmdir[ctrl_interface]: No such file or directory
> > -----
>
> You need to create a VAP in master mode, as you cannot change the mode
> of an existing VAP in madwifi(-ng). Read
> http://madwifi.org/wiki/UserDocs/ChangingMode and
> http://madwifi.org/wiki/UserDocs/MonitorModeInterface for more info on
> this.
>
> > I've tried several configurations, including ones found on the net which
> > the posters claim should work. The latest one I tried is this:
>
> Since your madwifi VAP isn't in master mode, hostapd will not start,
> even if your configuration is OK. If after creating a VAP in master
> mode, hostapd still wont start, please read
> http://madwifi.org/wiki/UserDocs/HostAP
>
> > I've googled a lot about this, but I haven't found anything useful. I
> > apprieciate any help you can give me.
>
> IMO, for problems with madwifi, you should look at http://madwifi.org
> before trying google, the wiki contains a whole lot of useful
> information...
>
> > /Kim
>
> Regards
> Stijn
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060908/5e9b99ca/attachment.htm 



More information about the Hostap mailing list