Bug#573048: hostapd incompatible with 2.6.33 kernel
Pavel Roskin
proski
Tue Mar 9 21:15:37 PST 2010
On Mon, 2010-03-08 at 18:26 -0800, David wrote:
> Read on debian osdir.com/ml/debian-bugs-rc/2010-03/msg00474.html I can
> confirm this (using kernel 2.6.33, and ath5k)
>
> This article mentions version 0.6.10, getting:
>
> Mode: IEEE 802.11g Channel: 6 Frequency: 2437 MHz
> Invalid argument
> Could not set RTS threshold for kernel driver
> wlan0: Unable to setup interface.
hostapd-0.6.10 with the current wireless-testing.git and ath5k on AR5211
fails with:
Could not set DTIM period for kernel driver
rmdir[ctrl_interface]: No such file or directory
The same happens with ath9k. I guess hostapd-0.6.10 is just too old for
the latest kernels.
> and I tried that version and got the same thing, along with the
> development version 0.7.1, which would not even compile with the nl driver:
> $ make clean && make
> CC ../src/drivers/driver_hostap.c
> ../src/drivers/driver_nl80211.c: In function 'family_handler':
> ../src/drivers/driver_nl80211.c:232: error: 'CTRL_ATTR_MCAST_GROUPS'
> undeclared (first use in this function)
driver_nl80211.c includes netlink/genl/genl.h (from libnl), which should
include netlink/netlink.h (also from libnl), which should include
linux/genetlink.h (from the kernel), which should define
CTRL_ATTR_MCAST_GROUPS.
My guess is that you have very old Linux headers in /usr/include/linux,
which don't define CTRL_ATTR_MCAST_GROUPS.
--
Regards,
Pavel Roskin
More information about the Hostap
mailing list