I am using Debian Squeeze and I have a tp-link TL-WN951N PCI wireless card. I am trying to configure it in master mode so that I can use it as an access point with hostapd. First, some details about this card:
Relevant lspci data:
03:06.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
03:06.0 0280: 168c:0023 (rev 01)
This card is using the ath9k module.
Supported interface modes reported by “iw list”:
- mesh point
Seeing that it should operate in AP mode I try:
iw dev wlan0 set type ap
As a result I always get:
When trying to run hostapd, no matter how my hostapd.conf looks like, I always get the following errors:
# hostapd /etc/hostapd/hostapd.conf -dd
ioctl[SIOCGIFFLAGS]: No such device
Could not read interface flags (wlan0 )
nl80211 driver initialization failed.
wlan0 : Unable to setup interface.
Before running out of ideas, I tried to compile and use a newer version of the ath9k module (compat-wireless-2.6.37-2-sn.tar.bz2) with the lastest stable version of hostapd but still didn’t work.
Any idea, tip, hint, etc will be greatly appreciated!!.
Thanks in advance!.