This is an old revision of the document!
====== Virtual AP ====== Even on one single physical wireless chip, it is possible to broadcast multiple wireless SSID's. In that case we are talking about //'__V__irtual __A__ccess-__P__oints'// or //'VAP's'//. A VAP is basically a logical //'wifi-interface'// which points to an existing //'wifi-device'// (physical interface). Therefore it can be treated as any other interface as well. It can apply own encryption-settings, filter- and firewall-rules, can be put into a bridge and so on. These instructions shows how to add a new virtual wireless interface to the routers configuration. ===== Overview ===== ==== Level of difficulty === Easy ==== Related topics ==== * [[documentation:configuration:uci|UCI]] * [[documentation:configuration:config_files:config_wireless|/etc/config/wireless]] ===== Instructions ===== ==== GUI ==== Not available, yet ==== UCI Config System ==== * **Add something** <code> ... </code> * **Store changes** <code> uci commit xxx </code> * **Apply changes** <code> /etc/init.d/xxx restart </code> ==== UCI config files (native) ==== Configuration file: [[documentation:configuration:config_files:config_wireless|/etc/config/config_wireless]] As stated before, a vap consists of a new 'wifi-interface' section in the wireless configuration file, which points to an existing //'wireless-device'//. So the first step is to look for the wireless-device which should broadcast the new SSID. Here for an example, the device we are looking for is '**wl0**': <code> config wifi-device 'wl0' option device 'wl0' option type 'brcm' option country 'CH' option hwmode '11g' option htmode 'HT20' option channel '0' option disabled '0' </code> * **Add wireless-interface** Now we can to add the new wireless-interface: <code> config 'something' option 'name' 'whatever' </code> ===== Troubleshooting ===== Not available, yet