I changed to master mode with wlanconfig and it works now.<br>Thanks for your help!<br><br>/Kim<br><br><div><span class="gmail_quote">On 9/8/06, <b class="gmail_sendername">Stijn Tintel</b> &lt;<a href="mailto:stijn@linux-ipv6.be">
stijn@linux-ipv6.be</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Kim Johnsson wrote:<br>&gt; Hi,<br>&gt; I have successfully installed madwifi 
0.9.2 on my slackware 10.1<br>&gt; computer. I've tested it and it works fine. I do however want<br>&gt; encryption, which is why I downloaded hostapd. The problem is, whenever<br>&gt; I try to start it, it give me this output:
<br>&gt; -----<br>&gt; root@Athena:/files/temp/hostapd-0.4.9# hostapd /etc/hostapd.conf<br>&gt; Configuration file: /etc/hostapd.conf<br>&gt; ioctl[SIOCSIWMODE]: Invalid argument<br>&gt; Could not set interface to master mode!
<br>&gt; madwifi driver initialization failed.<br>&gt; rmdir[ctrl_interface]: No such file or directory<br>&gt; -----<br><br>You need to create a VAP in master mode, as you cannot change the mode<br>of an existing VAP in madwifi(-ng). Read
<br><a href="http://madwifi.org/wiki/UserDocs/ChangingMode">http://madwifi.org/wiki/UserDocs/ChangingMode</a> and<br><a href="http://madwifi.org/wiki/UserDocs/MonitorModeInterface">http://madwifi.org/wiki/UserDocs/MonitorModeInterface
</a> for more info on this.<br><br>&gt; I've tried several configurations, including ones found on the net which<br>&gt; the posters claim should work. The latest one I tried is this:<br><br>Since your madwifi VAP isn't in master mode, hostapd will not start,
<br>even if your configuration is OK. If after creating a VAP in master<br>mode, hostapd still wont start, please read<br><a href="http://madwifi.org/wiki/UserDocs/HostAP">http://madwifi.org/wiki/UserDocs/HostAP</a><br><br>
&gt; I've googled a lot about this, but I haven't found anything useful. I<br>&gt; apprieciate any help you can give me.<br><br>IMO, for problems with madwifi, you should look at <a href="http://madwifi.org">http://madwifi.org
</a><br>before trying google, the wiki contains a whole lot of useful information...<br><br>&gt; /Kim<br><br>Regards<br>Stijn<br>_______________________________________________<br>HostAP mailing list<br><a href="mailto:HostAP@shmoo.com">
HostAP@shmoo.com</a><br><a href="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</a><br></blockquote></div><br>