LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2012, 03:46 PM   #1
DerrickMuncy
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
Can't find a copy of ieee80211_external.h file for compling hostapd


Hi,

I'm trying to set up a ubuntu linux wireless access point at my house. I can get hostapd to serve up a "g" mode connection, but I cant get the access point to go into "n" mode. When I run hostapd tells me unknown hw_mode" 'n'. My hardware is using the ath9k driver. I've tried recompiling hostapd, however I can only successfully compile for the generic nl80211 drivers. I would like to try compiling for atheros or madwifi, however the complie fails because I don't have ieee80211_external.h installed on my system which both drivers require. I have searched the internet and can not find a source for the file. My experience with linux is limited. Should it be obvious where to find this header?

Thanks

Derrick
 
Old 06-09-2012, 04:26 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ.

Looks like it should be an internal header in the source, you are using.
http://svn.dd-wrt.com:8000/browser/s...os.c?rev=17239
Line 37 : #include "os/linux/include/ieee80211_external.h"

Which source package are you trying to compile ?
A link, please. And which Linux OS ? Name and version, please.

.
 
Old 06-09-2012, 05:44 PM   #3
DerrickMuncy
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
knudfl,

I used "apt-get install hostapd" to get hostapd-1.0 on Ubuntu 12.04. The source makes the file reference, however it appears to not be included in the source. I've seen a graphic on the internet that I can't seem to find now that locates the file in the following path os/linux/include/ieee80211_external.h. I am unable to find a package that contains the that header however. I've downloaded other versions of hostapd packages for ubuntu with the same results.

I've tried changing the reference to the standard ieee802011.h header file, however it does not have the correct information in it and the build still blows-up.

Thanks,

Derrick
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] find and copy ppatryk Linux - Newbie 4 11-24-2011 05:35 PM
[SOLVED] smbmount - find and copy hattori.hanzo Programming 4 11-20-2010 07:52 AM
[SOLVED] Find and copy in the same directory greenpoise Linux - Newbie 20 09-01-2010 02:45 PM
can't find zm script file to copy. Buddhike G Linux - Software 1 10-08-2007 06:17 PM
copy with find ovince Programming 1 03-21-2007 11:46 AM


All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration