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