Has anyone configure HostAPd nl80211 for Fedora 18

Naipaul Ojar naipaul_ojar
Mon May 6 17:23:42 PDT 2013


Hi Dan,

I do have that file, and others also.

In the directory:-
../hostapd/hostapd-2.0/src/drivers/
driver_common.o/.d
driver_hostap.o/.d
driver_nl802011.o/.d
drivers.o/.d

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 :-


  ......
  ......
  CC  ../src/ap/hs20.c
  CC  ../src/common/gas.c
  CC  ../src/ap/gas_serv.c
  CC  ../src/drivers/driver_common.c
/bin/ld: cannot find -lnl-genl
collect2: error: ld returned 1 exit status
make: *** [hostapd] Error 1

The current executable may not contain the nl80211 driver, and the linker fails against the library 'nl-genl'


Best Regards

Naipaul Ojar
 

  ~~0~0~0~~


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



More information about the Hostap mailing list