Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Creating an Access Point Interface

This document does not apply to "old" (pre November 2005) versions of MadWifi; neither does it apply to newer ath5k / ath9k drivers. See UserDocs/ath5kAccessPoint and UserDocs/ath9kAccessPoint?.

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 UserDocs/autocreate for details.

To create an interface (called ath0) as an access point, issue the command:

wlanconfig ath0 create wlandev wifi0 wlanmode ap


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.