<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Chaitanya,<br><br>I have recently downloaded the hostapd v2.0, and I had some issues compiling due to missing<br>Netlink header files and libraries in Fedora 18.<br><br>When I compile it with the macro :-<br>CONFIG_DRIVER_NL80211=y<br><br>I get the fatal compile error, missing header files :-<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ../src/drivers/driver_nl80211.c:19:31: fatal error: netlink/genl/genl.h: No such file or directory<br><br>--&gt; There is no such directory in my header files directory, there is no netlink directory.<br><br>cd /usr/include<br>ls -d n*<br>nc_tparm.h&nbsp;&nbsp;&nbsp;&nbsp; ncursesw&nbsp; netatalk&nbsp;&nbsp; netinet&nbsp;&nbsp;&nbsp; netpbm&nbsp;&nbsp; nfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nss.h<br>ncurses&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ndbm.h&nbsp;&nbsp;&nbsp; netax25&nbsp;&nbsp;&nbsp; netipx&nbsp;&nbsp;&nbsp;&nbsp; netrom&nbsp;&nbsp; nl_types.h&nbsp; numpy<br>ncurses_dll.h&nbsp; net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; netdb.h&nbsp;&nbsp;&nbsp; netiucv&nbsp;&nbsp;&nbsp; netrose&nbsp; nspr4<br>ncurses.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; netash&nbsp;&nbsp;&nbsp; neteconet&nbsp; netpacket&nbsp; newt.h&nbsp;&nbsp; nss3<br><br>=============<br><br>I have previously installed libnl.x86_64.1.1-16.fc18<br>and today I have installed libnl-devel.x86_64.1.1-16.fc18<br><br>The compilation has reached to the linking stage and has failed :-<br>/bin/ld: cannot find -lnl-gen1<br><br>Any ideas on what libraries will contain that module, nl-gen1 ?<br><br>Best Regards<br>
Naipaul Ojar<br>
&nbsp;<br>
<font style="" color="#ff0000">May you have a blessed Day</font>.<a href="http://www.jaxtr.com/user/callmelauncher.jsp?un=naipaul_ojar" style="text-decoration:underline;color:orange" target="_blank"></a><br>&nbsp; ~~0~0~0~~<br><br><br><div><div id="SkyDrivePlaceholder"></div>&gt; From: chaitanya.mgit@gmail.com<br>&gt; Date: Tue, 23 Apr 2013 12:02:13 +0530<br>&gt; Subject: Re: Fedora 18, how do I get nl80211 or cfg80211 driver ?<br>&gt; To: naipaul_ojar@hotmail.com<br>&gt; <br>&gt; On Tue, Apr 23, 2013 at 6:53 AM, Naipaul Ojar &lt;naipaul_ojar@hotmail.com&gt; wrote:<br>&gt; &gt; I have just found this link<br>&gt; &gt; http://xpressrazor.wordpress.com/2013/04/21/use-your-laptop-as-a-wifi-router-under-linux/<br>&gt; &gt;<br>&gt; &gt; That shows that my wifi device with driver iwlwifi, and<br>&gt; &gt;<br>&gt; &gt; modinfo iwlwifi | grep 'depend'<br>&gt; &gt; depends: cfg80211<br>&gt; &gt;<br>&gt; &gt; does work, but I do not get the driver nl80211 to work.<br>&gt; &gt;<br>&gt; &gt; The link goes on to describe a start-up script:-<br>&gt; &gt; #!/bin/bash<br>&gt; &gt; rmmod iwlwifi<br>&gt; &gt; modprobe iwlwifi<br>&gt; &gt; iwconfig wlan0 mode Master freq 2.42G essid testhostapd<br>&gt; &gt;<br>&gt; Looks like you hostapd is not compiled with the macro CONFIG_DRIVER_NL80211,<br>&gt; please take the latest hostapd form the<br>&gt; git://w1.fi/srv/git/hostap.git and try to run with<br>&gt; default config.<br>&gt; <br>&gt; Also please use hostapd -d while running for some debug messages.<br></div>                                               </div></body>
</html>