Thanks Mr. Malinen for your reply. I tried to add my interface using hostapd 
but I get following:

Configuration file: hostapd.conf
ioctl[SIOCGIFFLAGS]: No such device
Could not read interface flags (wlan1)
nl80211 driver initialization failed.
wlan1: Unable to setup interface.
Segmentation fault

My hostapd.conf looks like:

interface=wlan1
driver=nl80211
bridge=br0
hw_mode=g
channel=5
ssid=VirtualAP
auth_algs=1
bss=wlan1
#bssid=00:22:43:21:82:ad

If I don´t add a new interface using iw, I wonder how the hostapd creates it. 
And, in order to function as an AP I also need to configurate the following a 
priori :

1.Assign IP
sudo ifconfig wlan1 192.168.1.1

2.Enable forwarding

3.Eenable masquerading

By using wiphys this is normally not a problem since I add a wiphy before 
initiating hostapd. 



Thanks for your response

Lorna Glenz. 




-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to