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
*** Bug 231360 has been marked as a duplicate of this bug. ***
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.