Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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?


Old 06-09-2012, 03:26 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Looks like it should be an internal header in the source, you are using.
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, 04:44 PM   #3
LQ Newbie
Registered: Jun 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled

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.




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 04:35 PM
[SOLVED] smbmount - find and copy hattori.hanzo Programming 4 11-20-2010 06:52 AM
[SOLVED] Find and copy in the same directory greenpoise Linux - Newbie 20 09-01-2010 01:45 PM
can't find zm script file to copy. Buddhike G Linux - Software 1 10-08-2007 05:17 PM
copy with find ovince Programming 1 03-21-2007 10:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:23 AM.

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