10
1
I am trying to add a virtual wireless interface to my debian squeeze system using iw.
The output of iw list is shown below:
root@alix:~# iw list
Wiphy phy0
I am using the command:
iw dev phy0 interface add wlan1 type station
to add the virtual interface wlan1 however this gives me the error:
command failed: No such device (-19)
If I use the command:
iw dev wlan0 interface add wlan1 type station
it passes fine however if I try use both wlan0 and wlan1 I get an error saying neither are unique and so that doesn't work for me.
Anyone any ideas what could be causing this? Thanks
type station
will work just fine, as would dotype mgd
. Would be a shame to not acceptstation
, since the kernel constant is namedNL80211_IFTYPE_STATION
. – BatchyX – 2013-06-09T21:24:48.520