Creating an Access Point Interface
This document does not apply to "old" (pre November 2005) versions of MadWifi.
NOTE: because a station VAP is created by default, wlanconfig will fail to create an AP VAP (for MadWifi releases >1407) unless the parameter 'autocreate=none' is passed when loading the ath_pci module. See http://madwifi.org/wiki/UserDocs/autocreate for details.
To create an interface (called ath0) as an access point, issue the command:
wlanconfig ath0 create wlandev wifi0 wlanmode ap
Or,
wlanconfig ath create wlandev wifi0 wlanmode ap
The only difference is the lack of '0' in the second command. The kernel will give the interface the lowest free integer as its suffix. The first interface you create should inherit the MAC address of the base interface wifi0. Additional interfaces will not, unless created with a command similar to the following:
wlanconfig ath create wlandev wifi0 wlanmode ap bssid
Multiple access point interfaces can be created, and each one treated as a separate entity. More information and examples can be found in man wlanconfig 8.
