Problems with Madwifi and Hostapd in Etch
I am trying to create a "simple" wireless bridge and to control access
on it using Shorewall! I am using an Atheros card so I have followed the
directions to obtain the madwifi drivers from source and compiled them
using module-assistant.This process works perfectly and after installing
the bridge-tools I have a working bridge.
iface ath0 inet manual
pre-up wlanconfig ath0 destroy
per-up wlanconfig ath0 create wlandev wifi0 wlanmode ap
post-down wlanconfig ath0 destroy
iface br0 inet static
bridge_ports ath0 eth0
This statements create a perfectly working bridge for my wireless
clients but has absolutely no security. In order to add WPA or WPA2 I
have installed hostapd. and the following additional configuration
statement for the bridge
pre-up /usr/sbin/hostapd -B /etc/hostapd/hostapd.conf
/etc/hostapd/hostapd.conf has the following changes to the base
configuration - this is nothing very fancy but at least it should work.
I have tried to compile hostapd from sources and make sure to provide a
link to the madwifi source but even this still gives the following error.
ioctl [SIOCGIFINDEX]: No such device
madwifi driver initialization failed
rmdir[ctrl_interface]: No such file or directory
failed to bring up br0
Does anyone have any idea why this is not working?