Activate wireless virtual interface with iw at boot time
Hello,
I want to use the same wireless interface to connect to wireless network and create an Access Point. I sucessfully did it using hostapd and dnsmasq using my wlan0 interface and a virtual interface that I created with :
iw phy phy0 interface add myAcc type __ap
and then configured through command line and everything went fine (I use a debian on an alix box with atheros)
I have no idea how to do this at boot time, if I add an interface to the /etc/network/interfaces it does not accept wireless commands like scanning, it behaves like a regular ethernet interface.
What am I doing wrong?
|