For people who try to use the LIBNL &gt;= 2.0, it would be very nice to apply this patch in to the hostapd/defconfig file:<br><br># git diff defconfig<br>diff --git a/hostapd/defconfig b/hostapd/defconfig<br>index 2591e71..0b75f78 100644<br>
--- a/hostapd/defconfig<br>+++ b/hostapd/defconfig<br>@@ -30,6 +30,8 @@ CONFIG_DRIVER_HOSTAP=y<br> #LIBNL=/usr/src/libnl<br> #CFLAGS += -I$(LIBNL)/include<br> #LIBS += -L$(LIBNL)/lib<br>+# If you have libnl version &gt;= 2.0 then also enable the following:<br>
+#CONFIG_LIBNL20=y<br><br> # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)<br> #CONFIG_DRIVER_BSD=y<br>--<br><br>-Cengiz<br><br><div class="gmail_quote">On Mon, Mar 9, 2009 at 5:14 AM, Jouni Malinen <span dir="ltr">&lt;<a href="mailto:j@w1.fi">j@w1.fi</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Mon, Mar 09, 2009 at 01:10:14PM +0500, Юрий Пайков wrote:<br>
<br>
&gt; &gt;crystal@Crystal:~/OperaDownloads/hostapd-0.6.8/hostapd$ /usr/local/bin/hostapd -ddB /etc/hostapd/hostapd.conf<br>
&gt; &gt;Configuration file: /etc/hostapd/hostapd.conf<br>
<br>
</div><div class="im">&gt; &gt;ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not permitted<br>
&gt; &gt;Could not enable hostapd mode for interface wlan0<br>
&gt; &gt;hostap driver initialization failed.<br>
<br>
</div><div class="im">&gt; Why the hell it thinks I have Prism??<br>
<br>
</div>Because you have not told hostapd to use nl80211 driver (driver=nl80211<br>
in hostapd.conf) and have included Host AP driver support in the build<br>
and that probably ended up being the default.<br>
<font color="#888888"><br>
--<br>
Jouni Malinen                                            PGP id EFC895FA<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Cengiz Gunay<br>--<br>Postdoctoral Fellow<br>Prinz Lab, Dept. of Biology, Emory University<br>1510 Clifton Rd., Room 2172, Atlanta, GA 30322, U.S.A.<br><a href="mailto:cgunay@emory.edu">cgunay@emory.edu</a>  <a href="mailto:cengique@users.sf.net">cengique@users.sf.net</a>         <a href="mailto:cengique@yahoo.com">cengique@yahoo.com</a><br>
Lab: +1-404-727-9381    Home/Cell: +1-678-559-8694<br><a href="http://userwww.service.emory.edu/~cgunay">http://userwww.service.emory.edu/~cgunay</a><br>ICQ# 21104923, cengique@{<a href="http://jabber.org">jabber.org</a>,Skype}<br>
--<br><br>