<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> ../src/drivers/driver_nl80211.c:19:31: fatal error: netlink/genl/genl.h: No such file or directory<br><br>--> 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 ncursesw netatalk netinet netpbm nfs nss.h<br>ncurses ndbm.h netax25 netipx netrom nl_types.h numpy<br>ncurses_dll.h net netdb.h netiucv netrose nspr4<br>ncurses.h netash neteconet netpacket newt.h 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>
<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> ~~0~0~0~~<br><br><br><div><div id="SkyDrivePlaceholder"></div>> From: chaitanya.mgit@gmail.com<br>> Date: Tue, 23 Apr 2013 12:02:13 +0530<br>> Subject: Re: Fedora 18, how do I get nl80211 or cfg80211 driver ?<br>> To: naipaul_ojar@hotmail.com<br>> <br>> On Tue, Apr 23, 2013 at 6:53 AM, Naipaul Ojar <naipaul_ojar@hotmail.com> wrote:<br>> > I have just found this link<br>> > http://xpressrazor.wordpress.com/2013/04/21/use-your-laptop-as-a-wifi-router-under-linux/<br>> ><br>> > That shows that my wifi device with driver iwlwifi, and<br>> ><br>> > modinfo iwlwifi | grep 'depend'<br>> > depends: cfg80211<br>> ><br>> > does work, but I do not get the driver nl80211 to work.<br>> ><br>> > The link goes on to describe a start-up script:-<br>> > #!/bin/bash<br>> > rmmod iwlwifi<br>> > modprobe iwlwifi<br>> > iwconfig wlan0 mode Master freq 2.42G essid testhostapd<br>> ><br>> Looks like you hostapd is not compiled with the macro CONFIG_DRIVER_NL80211,<br>> please take the latest hostapd form the<br>> git://w1.fi/srv/git/hostap.git and try to run with<br>> default config.<br>> <br>> Also please use hostapd -d while running for some debug messages.<br></div>                                            </div></body>
</html>