Create the interface <vap> using the specified <base device> and <mode>. <vap> can either be a full interface name (e.g. 'ath0'), or just the suffix (e.g. 'ath'), in which case, the kernel will automatically append the next vacant integer. [nounit] will turn off the automatic integer increments.
.TP
.B<vap>destroy
Removes the given VAP interface. You must specify the full interface name. I.e 'ath0' rather than just 'ath'.
.TP
.B<vap>list<listitem>
Show information about connected peers, keys, channels etc.
.PP
.SH"AVAILABLE MODES"
.TP
.Bahdemo
Create the station in ad-hoc demo (aka pseudo IBSS) mode.
List WME (Wireless multimedia extensions, aka WMM) parameters.
.PP
.SH"EXAMPLES"
.TP
\fBwlanconfig ath create wlandev wifi0 wlanmode sta
Create a station mode VAP, using wifi0 as the underlying device. The interface wil be called athN, where N is the first free integer. The MAC address will be the same as the underlying device.
.TP
\fBwlanconfig ath0 create wlandev wifi0 wlanmode sta
Create a station mode VAP (ath0) using wifi0 as the underlying device. The MAC address will be the same as the underlying device.
.TP
\fBwlanconfig ath0 create wlandev wifi0 wlanmode ap
.RS0
\fBwlanconfig ath1 create wlandev wifi0 wlanmode sta nosbeacon
.RS7
\fRCreate both an AP and a station mode interface.
.RS-7
.TP
\fBwlanconfig ath0 destroy
Destroy VAP ath0.
.TP
\fBwlanconfig ath0 list scan
Scan for local stations and access points.
.TP
\fBwlanconfig ath0 create wlandev wifi0 wlanmode ap
This manual page was written by Matt Foster <mattfoster@clara.co.uk>, using information from the Atheros user documentation, and MadWiFi users mailing list.