Hello everyone,
I have the following problem:
I want to use a TP-Link WN651G as an accesspoint. The card uses an atheros chipset. I have compiled an installed the drivers using the madwifi-0.9.4-r4100-20090929. Manual configuration of the interfaces using iwconfig/wlanconfig/iwpriv works with no errors.
As the hostapd that comes with Debian Lenny does not support madwifi, I recompiled hostapd-0.6.9 modifying the following lines to be:
Code:
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I../../madwifi-0.9.4-r4100-20090929
apart from a linker error (hostap wasn't being linked against libdl correctly) hostapd compiled ok.
However when I try to run hostapd on ath0 I get the following error
Code:
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface=0
Configure bridge 1 for EAPOL traffic
ioctl[SIGCGIFINDEX]: No such device
madwifi driver initialization failed
ath0: Unable to setup interface
I am not sure if the error is attributed to the bridge or not (sample config says to enable the option for madwifi). I have tried to create a bridge manually and add ath0 to it with no avail.
If anyone has seen this kind of error on hostapd before, please give me a hand.
thx