<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 Dan,<br><br>I do have that file, and others also.<br><br>In the directory:-<br>../hostapd/hostapd-2.0/src/drivers/<br><blockquote>driver_common.o/.d<br>driver_hostap.o/.d<br>driver_nl802011.o/.d<br>drivers.o/.d<br></blockquote><br>I did a 'make clean' and while the required .o files are being generated, I am getting a link error when re-executing the 'make' command :-<br><br><br>&nbsp; ......<br>&nbsp; ......<br>&nbsp; CC&nbsp; ../src/ap/hs20.c<br>&nbsp; CC&nbsp; ../src/common/gas.c<br>&nbsp; CC&nbsp; ../src/ap/gas_serv.c<br>&nbsp; CC&nbsp; ../src/drivers/driver_common.c<br>/bin/ld: cannot find -lnl-genl<br>collect2: error: ld returned 1 exit status<br>make: *** [hostapd] Error 1<br><br>The current executable may not contain the nl80211 driver, and the linker fails against the library 'nl-genl'<br><br><br>Best Regards<br>
Naipaul Ojar<br>&nbsp;
<br>&nbsp; ~~0~0~0~~<br><br><br><div><div id="SkyDrivePlaceholder"></div>&gt; Subject: Re: Has anyone configure HostAPd nl80211 for Fedora 18<br>&gt; From: dcbw@redhat.com<br>&gt; To: naipaul_ojar@hotmail.com<br>&gt; CC: hostap@lists.shmoo.com<br>&gt; Date: Mon, 6 May 2013 17:32:27 -0500<br>&gt; <br>&gt; On Mon, 2013-05-06 at 21:58 +0000, Naipaul Ojar wrote:<br>&gt; &gt; I think, I have the config file correct ...<br>&gt; &gt; <br>&gt; &gt; # hostapd ./hostapd-naipsHotSpot.conf <br>&gt; &gt; Configuration file: ./hostapd-naipsHotSpot.conf<br>&gt; &gt; Line 5: invalid/unknown driver 'nl80211'<br>&gt; <br>&gt; In your hostap build directory, do you have the file:<br>&gt; <br>&gt; src/drivers/driver_nl80211.o<br>&gt; <br>&gt; ?  If not, then something is going wrong with the build process, and<br>&gt; that driver isn't getting built.<br>&gt; <br>&gt; Dan<br>&gt; <br>&gt; <br>&gt; &gt; 1 errors found in configuration file './hostapd-naipsHotSpot.conf'<br>&gt; &gt; [root@naipaulpc nojar ]# cat hostapd-naipsHotSpot.conf <br>&gt; &gt; #change wlan0 to your wireless device<br>&gt; &gt; interface=wlan0<br>&gt; &gt; #driver=iwlwifi<br>&gt; &gt; #driver=cfg80211<br>&gt; &gt; driver=nl80211<br>&gt; &gt; ssid=naipsHotSpot<br>&gt; &gt; channel=1<br>&gt; &gt; <br>&gt; &gt; # ./myNetwork.sh <br>&gt; &gt; em1: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500<br>&gt; &gt;         inet 192.168.0.65  netmask 255.255.255.0  broadcast 192.168.0.255<br>&gt; &gt;         inet6 fe80::f2de:f1ff:fe67:8474  prefixlen 64  scopeid 0x20&lt;link&gt;<br>&gt; &gt; <br>&gt; &gt; lo: flags=73&lt;UP,LOOPBACK,RUNNING&gt;  mtu 65536<br>&gt; &gt;         inet 127.0.0.1  netmask 255.0.0.0<br>&gt; &gt;         inet6 ::1  prefixlen 128  scopeid 0x10&lt;host&gt;<br>&gt; &gt; <br>&gt; &gt; wc0: flags=4305&lt;UP,POINTOPOINT,RUNNING,NOARP,MULTICAST&gt;  mtu 1348<br>&gt; &gt;         inet 192.168.189.73  netmask 255.255.255.128  destination 192.168.189.73<br>&gt; &gt; <br>&gt; &gt; wlan0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500<br>&gt; &gt;         inet 192.168.0.66  netmask 255.255.255.0  broadcast 192.168.0.255<br>&gt; &gt;         inet6 fe80::224:d7ff:fec6:5cdc  prefixlen 64  scopeid 0x20&lt;link&gt;<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Best Regards<br>&gt; &gt; <br>&gt; &gt; Naipaul Ojar.<br>&gt; &gt;   ~~0~0~0~~<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; Subject: Re: Has anyone configure HostAPd nl80211 for Fedora 18<br>&gt; &gt; &gt; From: dcbw@redhat.com<br>&gt; &gt; &gt; To: naipaul_ojar@hotmail.com<br>&gt; &gt; &gt; CC: hostap@lists.shmoo.com<br>&gt; &gt; &gt; Date: Mon, 6 May 2013 16:49:34 -0500<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; On Mon, 2013-05-06 at 21:45 +0000, Naipaul Ojar wrote:<br>&gt; &gt; &gt; &gt; I did post questions to the same thread, but no responses were provide to later threads. I do appologize for that.<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; Here is the results for the libnl3-devel.<br>&gt; &gt; &gt; &gt; There are no results for libnl3-genl<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; You don't actually need a "libnl3-genl" because that library is included<br>&gt; &gt; &gt; in the libnl3-devel RPM that you've already go t installed.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; So since I believe you  have everything required already, your build is<br>&gt; &gt; &gt; probably fine.  The last thing I said on that thread was:<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; ---<br>&gt; &gt; &gt; The appropriate hostap driver is "nl80211"<br>&gt; &gt; &gt; ---<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; Sorry if my reply wasn't clear enough, but what you want to do is use:<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; driver=nl80211<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; in your hostap config.  The hostap/wpa_supplicant "driver" for the<br>&gt; &gt; &gt; hardware you have is called "nl80211", not cfg80211 or iwlwifi.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; Dan<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; #yum install libnl3-devel<br>&gt; &gt; &gt; &gt; Package libnl3-devel-3.2.21-1.fc18.x86_64 already installed and latest version<br>&gt; &gt; &gt; &gt; Nothing to do<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; #rpm -qa | grep libnl | sort<br>&gt; &gt; &gt; &gt; libnl-1.1-16.fc18.x86_64<br>&gt; &gt; &gt; &gt; libnl3-3.2.21-1.fc18.x86_64<br>&gt; &gt; &gt; &gt; libnl3-cli-3.2.21-1.fc18.x86_64<br>&gt; &gt; &gt; &gt; libnl3-devel-3.2.21-1.fc18.x86_64<br>&gt; &gt; &gt; &gt; libnl-devel-1.1-16.fc18.x86_64<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; Best Regards<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; Naipaul Ojar<br>&gt; &gt; &gt; &gt;  <br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt;   ~~0~0~0~~<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; Subject: Re: Has anyone configure HostAPd nl80211 for Fedora 18<br>&gt; &gt; &gt; &gt; &gt; From: dcbw@redhat.com<br>&gt; &gt; &gt; &gt; &gt; To: naipaul_ojar@hotmail.com<br>&gt; &gt; &gt; &gt; &gt; CC: hostap@lists.shmoo.com<br>&gt; &gt; &gt; &gt; &gt; Date: Mon, 6 May 2013 16:32:17 -0500<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; On Mon, 2013-05-06 at 21:13 +0000, Naipaul Ojar wrote:<br>&gt; &gt; &gt; &gt; &gt; &gt; Thanks for posting the response.<br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; I have taken this approach because I have been responding to the mailing list from 17-23 April and I still do not have an answer. The previous posting was titled :-<br>&gt; &gt; &gt; &gt; &gt; &gt;     "Fedora 18, how do I get nl80211 or cfg80211 driver ?þ"<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; Then typically, you reply to the same discussion thread instead of<br>&gt; &gt; &gt; &gt; &gt; posting a new one, so that we have context from the discussion.  Then<br>&gt; &gt; &gt; &gt; &gt; I'd have known this was the same problem as before.<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; The last status is:-<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;Hmm...i too faced the same issue. Installing the libnl-3.0 and<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;libnl-genl-3.0 resolved the issue<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;for me.I have 'libnl-3.0' but I have not been able to locate the 'libnl-genl-3.0' library.<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; yum install libnl3-devel<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; is what you need to get the appropriate libraries on Fedora.  That RPM<br>&gt; &gt; &gt; &gt; &gt; includes all the development headers and libraries needed to build<br>&gt; &gt; &gt; &gt; &gt; software that uses libnl version 3.  For Fedora, typically the<br>&gt; &gt; &gt; &gt; &gt; "development headers" packages are the same name as the master package,<br>&gt; &gt; &gt; &gt; &gt; plus "-devel" added to the name.<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; Dan<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; I will provide any answers to any diagnostic question posted to me.<br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; Best Regards<br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; Naipaul Ojar<br>&gt; &gt; &gt; &gt; &gt; &gt;  <br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt;   ~~0~0~0~~<br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Subject: Re: Has anyone configure HostAPd nl80211 for Fedora 18<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; From: dcbw@redhat.com<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; To: naipaul_ojar@hotmail.com<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; CC: hostap@lists.shmoo.com<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Date: Mon, 6 May 2013 12:25:57 -0500<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; On Mon, 2013-05-06 at 12:59 +0000, Naipaul Ojar wrote:<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; I have attempted to un-successfully to configure nl80211 for Fedora 18.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; I have installed hostapd v2 but I am unable to start the daemon and be able<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; to connect to the nl80211 driver.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; I have attempted v2.0 and earlier versions.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; I am very interested in a working configuration, for Fedora.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Posting logs from hostap about what's going wrong would be a first step.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Dan<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt;                                                <br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt;                                                <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt;                                                <br>&gt; <br>&gt; <br></div>                                               </div></body>
</html>