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 .

Changes from Version 1 of UserDocs/MultipleInterfaces

Author:
matt (IP: 0.0.0.0)
Timestamp:
10/28/05 22:26:42 (14 years ago)
Comment:

created

Legend:

Unmodified
Added
Removed
Modified
  • UserDocs/MultipleInterfaces

    v v1  
     1= Creating Multiple Interfaces = 
     2 
     3Creating multiple interfaces with 'madwifi-ng' is as easy as running ''wlanconfig'' more than once, for example, to create a station mode interface and an access point: 
     4 
     5{{{ 
     6# First, create the AP: 
     7wlanconfig ath create wlandev wifi0 wlanmode ap 
     8# And now the station: 
     9wlanconfig ath create wlandev wifi0 wlanmode sta nosbeacon 
     10}}} 
     11 
     12Note, that when creating stations and access points together, the station command must have the ''nosbeacon'' in order to stop the station's hardware beacon timers. 
     13 
     14You can also create multiple logical access points which you can use separately: 
     15 
     16{{{ 
     17wlanconfig ath0 create wlandev wifi0 wlanmode ap 
     18wlanconfig ath1 create wlandev wifi0 wlanmode ap 
     19wlanconfig ath2 create wlandev wifi0 wlanmode ap 
     20iwconfig ath0 essid "public_AP" 
     21iwconfig ath1 essid "XYZ Corp" 
     22iwconfig ath2 essid "Something Else" 
     23}}} 
     24 
     25In the above case, all of the APs will have different MAC addresses. To force them to share the address of the base device, use the '''-bssid'' flag: 
     26 
     27{{{ 
     28wlanconfig ath create wlandev wifi0 wlanmode ap -nobssid 
     29wlanconfig ath create wlandev wifi0 wlanmode ap -nobssid 
     30}}} 
     31 
     32This creates two access points, using the first available suffixes for ''ath'', and both sharing the same MAC. 
     33 
     34For more infomation on ''wlanconfig'' see it's man page.