Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231359

Summary: hostapd-0.6.3-r1 doesn't detect kernel 2.6.26
Product: Gentoo Linux Reporter: Ben Schwartz <bmschwar>
Component: Current packagesAssignee: Bjarke Istrup Pedersen (RETIRED) <gurligebis>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben Schwartz 2008-07-09 23:15:47 UTC
The net-wireless/hostapd/0.6.3-r1 ebuild attempts to determine whether it's running under 2.6.26 using the command

grep NL80211_IFTYPE_AP: ${KV_DIR}/net/mac80211/cfg.c

In vanilla-sources-2.6.26_rc9, this string does not appear in that file, the command returns false, and so nl80211 support is not compiled into hostapd.

There has clearly been some kind of misunderstanding here.

Reproducible: Always
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-09 23:20:15 UTC
*** Bug 231360 has been marked as a duplicate of this bug. ***
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2008-07-11 20:44:19 UTC
This is because the AP support is disabled in the kernel for now.

The solution is to use the patch from here and rebuild the kernel:

http://johannes.sipsolutions.net/patches/kernel/all/LATEST/

Right now, the patch is called 016-allow-ap-vlan-modes.patch

I'm going to add a note about it to the ebuild, to avoid confusion.