Manual:Interface/Wireless: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 119: | Line 119: | ||
<h5><var>default-ap-tx-limit</var></h5> | <h5><var>default-ap-tx-limit</var></h5> | ||
< | <p><strong>Description: </strong> | ||
This is the value of <var>ap-tx-limit</var> for clients that do not match any entry in the [[access-list]]. | This is the value of <var>ap-tx-limit</var> for clients that do not match any entry in the [[access-list]].</p> | ||
<h5><var>default-client-tx-limit</var></h5> | <h5><var>default-client-tx-limit</var></h5> | ||
< | <p><strong>Description: </strong> | ||
This is the value of <var>client-tx-limit</var> for clients that do not match any entry in the [[access-list]]. | This is the value of <var>client-tx-limit</var> for clients that do not match any entry in the [[access-list]].</p> | ||
<h5><var>hide-ssid</var></h5> | <h5><var>hide-ssid</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>yes</i> or <i>no</i> | <i>yes</i> or <i>no</i></p> | ||
< | <p><strong>Default value: </strong> | ||
<i>no</i> | <i>no</i></p> | ||
< | <p><strong>Description: </strong><ul> | ||
<li><i>yes</i> - AP does not include SSID the beacon frames, and does not reply to probe requests that have broadcast SSID. | <li><i>yes</i> - AP does not include SSID the beacon frames, and does not reply to probe requests that have broadcast SSID. | ||
<li><i>no</i> - AP includes SSID in the beacon frames, and replies to probe requests that have broadcast SSID. | <li><i>no</i> - AP includes SSID in the beacon frames, and replies to probe requests that have broadcast SSID. | ||
</ul> | </ul> | ||
<br>This property has effect only in AP mode. Setting it to <i>yes</i> can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve security of the wireless network, because SSID is included in other frames sent by the AP. | <br>This property has effect only in AP mode. Setting it to <i>yes</i> can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve security of the wireless network, because SSID is included in other frames sent by the AP.</p> | ||
<h5><var>security-profile</var></h5> | <h5><var>security-profile</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
name of profile from [[security-profiles]] | name of profile from [[security-profiles]]</p> | ||
<h5><var>compression</var></h5> | <h5><var>compression</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>yes</i> or <i>no</i> | <i>yes</i> or <i>no</i></p> | ||
< | <p><strong>Default value: </strong> | ||
<i>no</i> | <i>no</i></p> | ||
< | <p><strong>Description: </strong> | ||
Setting this property to <i>yes</i> will allow use of the hardware compression. Wireless interface must have support for hardware compression. Connections with devices that do not use compression will still work. | Setting this property to <i>yes</i> will allow use of the hardware compression. Wireless interface must have support for hardware compression. Connections with devices that do not use compression will still work.</p> | ||
<h5><var>interface-type</var></h5> | <h5><var>interface-type</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>virtual-AP</i>, <i>Prism</i>, or <i>Atheros <em>model_name</em></i> | <i>virtual-AP</i>, <i>Prism</i>, or <i>Atheros <em>model_name</em></i></p> | ||
< | <p><strong>Read-only property</strong></p> | ||
< | <p><strong>Description: </strong> | ||
This specifies type of wireless interface. Some properties have meaning only for certain types of interfaces. | This specifies type of wireless interface. Some properties have meaning only for certain types of interfaces.</p> | ||
<h4>Advanced settings</h4> | <h4>Advanced settings</h4> | ||
<h5><var>frequency-mode</var></h5> | <h5><var>frequency-mode</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
one of these values:<ul> | one of these values:<ul> | ||
<li><i>regulatory-domain</i> - Limit available channels and maximum transmit power for each channel according to the value of <var>country</var> | <li><i>regulatory-domain</i> - Limit available channels and maximum transmit power for each channel according to the value of <var>country</var> | ||
<li><i>manual-txpower</i> - Same as above, but do not limit maximum transmit power. | <li><i>manual-txpower</i> - Same as above, but do not limit maximum transmit power. | ||
<li><i>superchannel</i> - Allow all channels supported by the card. | <li><i>superchannel</i> - Allow all channels supported by the card. | ||
</ul> | </ul></p> | ||
< | <p><strong>Description: </strong> | ||
List of available channels for each band can be seen in [[info]]. | List of available channels for each band can be seen in [[info]].</p> | ||
<h5><var>country</var></h5> | <h5><var>country</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
either <i>no_country_set</i>, or name of regulatory domain | either <i>no_country_set</i>, or name of regulatory domain</p> | ||
< | <p><strong>Description: </strong> | ||
Limits available bands, frequencies and maximum transmit power for each frequency. Also specifies default value of <var>scan-list</var>. Value <i>no_country_set</i> is an FCC compliant set of channels. | Limits available bands, frequencies and maximum transmit power for each frequency. Also specifies default value of <var>scan-list</var>. Value <i>no_country_set</i> is an FCC compliant set of channels.</p> | ||
<h5><var>antenna-gain</var></h5> | <h5><var>antenna-gain</var></h5> | ||
< | <p><strong>Default value: </strong> | ||
<i>0</i> | <i>0</i></p> | ||
< | <p><strong>Description: </strong> | ||
<br>Antenna gain in dBi, used to calculate maximum transmit power according to <var>country</var> limitations. | <br>Antenna gain in dBi, used to calculate maximum transmit power according to <var>country</var> limitations.</p> | ||
<table class="infobox"> | <table class="infobox"> | ||
Line 191: | Line 191: | ||
<h5><var>rate-set</var></h5> | <h5><var>rate-set</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>default</i> or <i>configured</i> | <i>default</i> or <i>configured</i></p> | ||
< | <p><strong>Description: </strong><ul> | ||
<li><i>default</i> - default basic and supported rate sets are used. Values from <var>basic-rates</var> and <var>supported-rates</var> parameters have no effect. | <li><i>default</i> - default basic and supported rate sets are used. Values from <var>basic-rates</var> and <var>supported-rates</var> parameters have no effect. | ||
<li><i>configured</i> - use values from <var>basic-rates</var> and <var>supported-rates</var> parameters. Note that g mode bands use rates from both "<var>rates-b</var>" and "<var>rates-a/g</var>" properties. | <li><i>configured</i> - use values from <var>basic-rates</var> and <var>supported-rates</var> parameters. Note that g mode bands use rates from both "<var>rates-b</var>" and "<var>rates-a/g</var>" properties. | ||
</ul> | </ul></p> | ||
<h5><var>supported-rates-b</var></h5> | <h5><var>supported-rates-b</var></h5> | ||
< | <p><strong>Description: </strong> | ||
<br>List of supported rates, used for <i>2.4ghz-b</i>, <i>2.4ghz-b/g</i> and <i>2.4ghz-onlyg</i> bands. Two devices will communicate only using rates that are supported by both devices. This property has effect only when value of <var>rate-set</var> is <i>configured</i>. | <br>List of supported rates, used for <i>2.4ghz-b</i>, <i>2.4ghz-b/g</i> and <i>2.4ghz-onlyg</i> bands. Two devices will communicate only using rates that are supported by both devices. This property has effect only when value of <var>rate-set</var> is <i>configured</i>.</p> | ||
<h5><var>supported-rates-a/g</var></h5> | <h5><var>supported-rates-a/g</var></h5> | ||
< | <p><strong>Description: </strong> | ||
<br>Similar to the above property, but used for 5ghz, 5ghz-10mhz, 5ghz-5mhz, 5ghz-turbo, 2.4ghz-b/g, 2.4ghz-onlyg, 2ghz-10mhz, 2ghz-5mhz and 2.4ghz-g-turbo bands. | <br>Similar to the above property, but used for 5ghz, 5ghz-10mhz, 5ghz-5mhz, 5ghz-turbo, 2.4ghz-b/g, 2.4ghz-onlyg, 2ghz-10mhz, 2ghz-5mhz and 2.4ghz-g-turbo bands.</p> | ||
<h5>basic-rates-b</h5> | <h5><var>basic-rates-b</var></h5> | ||
< | <p><strong>Description: </strong> | ||
<br>List of basic rates, used for 2.4ghz-b, 2.4ghz-b/g and 2.4ghz-onlyg bands. | <br>List of basic rates, used for 2.4ghz-b, 2.4ghz-b/g and 2.4ghz-onlyg bands. | ||
<br>Client will connect to AP only if it supports all basic rates announced by the AP. | <br>Client will connect to AP only if it supports all basic rates announced by the AP. | ||
AP will establish WDS link only if it supports all basic rates of the other AP. | AP will establish WDS link only if it supports all basic rates of the other AP. | ||
This property has effect only in AP modes, and when value of <var>rate-set</var> is | This property has effect only in AP modes, and when value of <var>rate-set</var> is <i>configured</i>.</p> | ||
<h5>basic-rates-a/g</h5> | <h5><var>basic-rates-a/g</var></h5> | ||
< | <p><strong>Description: </strong> | ||
<br>Similar to the above property, but used for 5ghz, 5ghz-10mhz, 5ghz-5mhz, 5ghz-turbo, 2.4ghz-b/g, 2.4ghz-onlyg, 2ghz-10mhz, 2ghz-5mhz and 2.4ghz-g-turbo bands. | <br>Similar to the above property, but used for 5ghz, 5ghz-10mhz, 5ghz-5mhz, 5ghz-turbo, 2.4ghz-b/g, 2.4ghz-onlyg, 2ghz-10mhz, 2ghz-5mhz and 2.4ghz-g-turbo bands.</p> | ||
<h5>max-station-count</h5> | <h5><var>max-station-count</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
1..2007 | 1..2007</p> | ||
< | <p><strong>Default value: </strong> | ||
2007 | 2007</p> | ||
< | <p><strong>Description: </strong> | ||
Maximum number of associated clients. WDS links also count toward this limit. | Maximum number of associated clients. WDS links also count toward this limit.</p> | ||
<h5>ack-timeout</h5> | <h5><var>ack-timeout</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>indoors</i>, <i>dynamic</i>, or value in microseconds</p> | |||
< | <p><strong>Description: </strong> | ||
<br>How long to wait for confirmation of unicast frames before considering transmission unsuccessful. Value 'dynamic' causes AP to detect and use smallest timeout that works with all connected clients. | <br>How long to wait for confirmation of unicast frames before considering transmission unsuccessful. Value 'dynamic' causes AP to detect and use smallest timeout that works with all connected clients. | ||
Acknowledgements are not used in Nstreme protocol. | Acknowledgements are not used in Nstreme protocol.</p> | ||
<h5>tx-power</h5> | <h5><var>tx-power</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
value in the -30..30 range | value in the -30..30 range</p> | ||
<h5>tx-power-mode</h5> | <h5><var>tx-power-mode</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
one of these values:<ul> | one of these values:<ul> | ||
<li>default - | <li><i>default</i> - | ||
<li>all-rates-fixed - | <li><i>all-rates-fixed</i> - | ||
<li>card-rates - | <li><i>card-rates</i> - | ||
<li>manual-table - | <li><i>manual-table</i> - | ||
</ul> | </ul>{{...}}</p> | ||
<h5>dfs-mode</h5> | <h5><var>dfs-mode</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
one of | one of <i>none</i>, <i>no-radar-detect</i> and <i>radar-detect</i></p> | ||
< | <p><strong>Default value: </strong> | ||
none | <i>none</i></p> | ||
< | <p><strong>Description: </strong> | ||
<br>Controls DFS (Dynamic Frequency Selection).<ul> | <br>Controls DFS (Dynamic Frequency Selection).<ul> | ||
<li>none - disables DFS. | <li>none - disables DFS. | ||
Line 256: | Line 256: | ||
<li>radar-detect - Select channel with the lowest number of detected networks and use it if no radar is detected on it for 60 seconds. Otherwise, select different channel. This setting may be required by the country regulations. | <li>radar-detect - Select channel with the lowest number of detected networks and use it if no radar is detected on it for 60 seconds. Otherwise, select different channel. This setting may be required by the country regulations. | ||
</ul> | </ul> | ||
<br>This property has effect only in AP mode. | <br>This property has effect only in AP mode.</p> | ||
<h5>wds-default-cost</h5> | <h5><var>wds-default-cost</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
Number | Number</p> | ||
< | <p><strong>Default value: </strong> | ||
100 | 100</p> | ||
< | <p><strong>Description: </strong> | ||
Initial bridge port cost of the WDS links. | Initial bridge port cost of the WDS links.</p> | ||
<h5>wds-cost-range</h5> | <h5><var>wds-cost-range</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
Numeric range | Numeric range</p> | ||
< | <p><strong>Default value: </strong> | ||
50-150 | <i>50-150</i></p> | ||
< | <p><strong>Description: </strong> | ||
<br>Bridge port cost of WDS links are automatically adjusted, depending on measured link throughput. Port cost is recalculated and adjusted every 5 seconds if it has changed by more than 10%, or if more than 20 seconds have passed since the last adjustment. | <br>Bridge port cost of WDS links are automatically adjusted, depending on measured link throughput. Port cost is recalculated and adjusted every 5 seconds if it has changed by more than 10%, or if more than 20 seconds have passed since the last adjustment. | ||
Setting this property to | Setting this property to <i>0</i> disables automatic cost adjustment. | ||
Automatic adjustment does not work for WDS links that are manually configured as a bridge port. | Automatic adjustment does not work for WDS links that are manually configured as a bridge port.</p> | ||
<h5>wmm-support</h5> | <h5><var>wmm-support</var></h5>{{...}} | ||
< | <p><strong>Syntax: </strong> | ||
<i>disabled</i>, <i>enabled</i> or <i>required</i></p> | |||
<h5>disconnect-timeout</h5> | <h5><var>disconnect-timeout</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
time interval in the 0..15s range, in units of 10ms | time interval in the 0..15s range, in units of 10ms</p> | ||
< | <p><strong>Default value: </strong> | ||
3s | <i>3s</i></p> | ||
< | <p><strong>Description: </strong> | ||
<br>This interval is measured from third sending failure on the lowest data rate. At this point 3 * (<var>hw-retries</var> + 1) frame transmits on the lowest data rate had failed. | <br>This interval is measured from third sending failure on the lowest data rate. At this point 3 * (<var>hw-retries</var> + 1) frame transmits on the lowest data rate had failed. | ||
During <var>disconnect-timeout</var> packet transmission will be retried with <var>on-fail-retry-time</var> interval. If no frame can be transmitted successfully during <var>diconnect-timeout</var>, connection is closed, and this event is logged as "extensive data loss". Successful frame transmission resets this timer. | During <var>disconnect-timeout</var> packet transmission will be retried with <var>on-fail-retry-time</var> interval. If no frame can be transmitted successfully during <var>diconnect-timeout</var>, connection is closed, and this event is logged as "extensive data loss". Successful frame transmission resets this timer.</p> | ||
<h5>on-fail-retry-time</h5> | <h5><var>on-fail-retry-time</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
time interval in the 10ms..1s range, in 10ms units | time interval in the 10ms..1s range, in 10ms units</p> | ||
< | <p><strong>Default value: </strong> | ||
100ms | <i>100ms</i></p> | ||
< | <p><strong>Description: </strong> | ||
After third sending failure on the lowest data rate, wait for this long before retrying. | After third sending failure on the lowest data rate, wait for this long before retrying.</p> | ||
<h5>frame-lifetime</h5> | <h5><var>frame-lifetime</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
time in hundredths of a second | time in hundredths of a second</p> | ||
< | <p><strong>Default value: </strong> | ||
0 | 0</p> | ||
< | <p><strong>Description: </strong> | ||
<br>Discard frames that have been queued for sending longer than <var>frame-lifetime</var>. By default, when value of this property is 0, frames are discarded only after connection is closed. | <br>Discard frames that have been queued for sending longer than <var>frame-lifetime</var>. By default, when value of this property is <i>0</i>, frames are discarded only after connection is closed.</p> | ||
<h5>preamble-mode</h5> | <h5><var>preamble-mode</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
one of | one of <i>long</i>, <i>short</i> or <i>both</i></p> | ||
< | <p><strong>Default value: </strong> | ||
both | <i>both</i></p> | ||
< | <p><strong>Description: </strong> | ||
Short preamble mode is an option of 802.11b standard that reduces per-frame overhead. | Short preamble mode is an option of 802.11b standard that reduces per-frame overhead. | ||
On AP:<ul> | On AP:<ul> | ||
<li>long - Do not use short preamble. | <li><i>long</i> - Do not use short preamble. | ||
<li>short - Announce short preamble capability. Do not accept connections from clients that do not have this capability. | <li><i>short</i> - Announce short preamble capability. Do not accept connections from clients that do not have this capability. | ||
<li>both - Announce short preamble capability. | <li><i>both</i> - Announce short preamble capability. | ||
</ul> | </ul> | ||
<br>On station:<ul> | <br>On station:<ul> | ||
<li>long - do not use short preamble. | <li><i>long</i> - do not use short preamble. | ||
<li>short - do not connect to AP if it does not support short preamble. | <li><i>short</i> - do not connect to AP if it does not support short preamble. | ||
<li>both - Use short preamble if AP supports it. | <li><i>both</i> - Use short preamble if AP supports it. | ||
</ul> | </ul></p> | ||
<h5>allow-sharedkey</h5> | <h5><var>allow-sharedkey</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>yes</i> or <i>no</i></p> | |||
< | <p><strong>Default value: </strong> | ||
no | <i>no</i></p> | ||
< | <p><strong>Description: </strong> | ||
Allow WEP Shared Key cilents to connect. Note that no authentication is done for these clients (WEP Shared keys are not compared to anything) - they are just accepted at once (if access list allows that). | Allow WEP Shared Key cilents to connect. Note that no authentication is done for these clients (WEP Shared keys are not compared to anything) - they are just accepted at once (if access list allows that).</p> | ||
<h5>station-bridge-clone-mac</h5> | <h5><var>station-bridge-clone-mac</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
MAC address | MAC address</p> | ||
< | <p><strong>Description: </strong> | ||
This property has effect only in the | This property has effect only in the <i>station-pseudobridge-clone</i> mode. | ||
<br>Use this MAC address when connection to AP. If this value is 00:00:00:00:00:00, station will initially use MAC address of the wireless interface. | <br>Use this MAC address when connection to AP. If this value is <i>00:00:00:00:00:00</i>, station will initially use MAC address of the wireless interface. | ||
As soon as packet with MAC address of another device needs to be transmitted, station will reconnect to AP using that address. | As soon as packet with MAC address of another device needs to be transmitted, station will reconnect to AP using that address.</p> | ||
<h5>hw-retries</h5> | <h5><var>hw-retries</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
number 0..15 | number 0..15</p> | ||
< | <p><strong>Default value: </strong> | ||
15 | <i>15</i></p> | ||
< | <p><strong>Description: </strong> | ||
<br>Number of times sending frame is retried without considering it a transmission failure. | <br>Number of times sending frame is retried without considering it a transmission failure. | ||
Data rate is decreased upon failure and frame is sent again. Three sequential failures on lowest supported rate suspend transmission to this destination for the duration of <var>on-fail-retry-time</var>. After that, frame is sent again. The frame is being retransmitted until transmission success, or until client is disconnected after <var>disconnect-timeout</var>. Frame can be discarded during this time if <var>frame-lifetime</var> is exceeded. | Data rate is decreased upon failure and frame is sent again. Three sequential failures on lowest supported rate suspend transmission to this destination for the duration of <var>on-fail-retry-time</var>. After that, frame is sent again. The frame is being retransmitted until transmission success, or until client is disconnected after <var>disconnect-timeout</var>. Frame can be discarded during this time if <var>frame-lifetime</var> is exceeded.</p> | ||
<h4>Proprietary extensions</h4> | <h4>Proprietary extensions</h4> | ||
<h5>radio-name</h5> | <h5><var>radio-name</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
Text | Text</p> | ||
< | <p><strong>Description: </strong> | ||
Descriptive name of the device, that is shown in registration table entries on the remote devices. | Descriptive name of the device, that is shown in registration table entries on the remote devices. | ||
<br>This is a proprietary extension. | <br>This is a proprietary extension.</p> | ||
<h5>area</h5> | <h5><var>area</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
Text | Text</p> | ||
< | <p><strong>Default value: </strong> | ||
empty | empty</p> | ||
< | <p><strong>Description: </strong> | ||
Identifies group of wireless networks. This value is announced by AP, and can be matched in [[connect-list]] by <var>area-prefix</var>. | Identifies group of wireless networks. This value is announced by AP, and can be matched in [[connect-list]] by <var>area-prefix</var>. | ||
This is a proprietary extension. | This is a proprietary extension.</p> | ||
<h5>update-stats-interval</h5> | <h5><var>update-stats-interval</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>disabled</i> or time interval in the 10s..5h range</p> | |||
< | <p><strong>Default value: </strong> | ||
disabled | <i>disabled</i></p> | ||
< | <p><strong>Description: </strong> | ||
How often to request update of signals strength and ccq values from clients. | How often to request update of signals strength and ccq values from clients. | ||
Access to [[registration-table]] also triggers update of these values. | Access to [[registration-table]] also triggers update of these values. | ||
This is proprietary extension. | This is proprietary extension.</p> | ||
<h5>proprietary-extensions</h5> | <h5><var>proprietary-extensions</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>pre-2.9.25</i> or <i>post-2.9.25</i></p> | |||
< | <p><strong>Default value: </strong> | ||
post-2.9.25 | <i>post-2.9.25</i></p> | ||
< | <p><strong>Description: </strong> | ||
RouterOS includes proprietary information in an information element of management frames. This parameter controls how this information is included.<ul> | RouterOS includes proprietary information in an information element of management frames. This parameter controls how this information is included.<ul> | ||
<li>pre-2.9.25 - This is older method. It can interoperate with newer versions of RouterOS. This method is incompatible with some clients, for example, Centrino based ones. | <li><i>pre-2.9.25</i> - This is older method. It can interoperate with newer versions of RouterOS. This method is incompatible with some clients, for example, Centrino based ones. | ||
<li>post-2.9.25 - This uses standardized way of including vendor specific information, that is compatible with newer wireless clients. | <li><i>post-2.9.25</i> - This uses standardized way of including vendor specific information, that is compatible with newer wireless clients. | ||
</ul> | </ul></p> | ||
<h4>Atheros specific</h4> | <h4>Atheros specific</h4> | ||
<h5>noise-floor-threshold</h5> | <h5><var>noise-floor-threshold</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>default</i> or value in the -128..127 range</p> | |||
< | <p><strong>Description: </strong> | ||
This property is only effective for cards based on AR5211 chipset. | This property is only effective for cards based on AR5211 chipset.</p> | ||
<h5>adaptive-noise-immunity</h5> | <h5><var>adaptive-noise-immunity</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>yes</i> or <i>no</i></p> | |||
< | <p><strong>Default value: </strong> | ||
yes | <i>yes</i></p> | ||
< | <p><strong>Description: </strong> | ||
This property is only effective for cards based on Atheros chipset. | This property is only effective for cards based on Atheros chipset.</p> | ||
<h5>periodic-calibration</h5> | <h5><var>periodic-calibration</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
one of | one of <i>default</i>, <i>enabled</i> or <i>disabled</i></p> | ||
< | <p><strong>Description: </strong> | ||
Setting | Setting <i>default</i> enables periodic calibration if [[info]] <var>default-periodic-calibration</var> property is <i>enabled</i>. Value of that property depends on the type of wireless card. | ||
This property is only effective for cards based on Atheros chipset. | This property is only effective for cards based on Atheros chipset.</p> | ||
<h5><var>periodic-calibration-interval</var></h5> | <h5><var>periodic-calibration-interval</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
value in range 1..10000 | value in range 1..10000</p> | ||
< | <p><strong>Default value: </strong> | ||
60 | <i>60</i></p> | ||
< | <p><strong>Description: </strong> | ||
This property is only effective for cards based on Atheros chipset. | This property is only effective for cards based on Atheros chipset.</p> | ||
<h4>Prism specific</h4> | <h4>Prism specific</h4> | ||
Line 422: | Line 422: | ||
<h5><var>prism-cardtype</var></h5> | <h5><var>prism-cardtype</var></h5> | ||
<p><strong>Syntax: </strong> | <p><strong>Syntax: </strong> | ||
<i>30mW</i>, <i>100mW</i>, <i>200mW</i></p> | |||
<p><strong>Description: </strong> | <p><strong>Description: </strong> | ||
Specify type of the installed wireless card.</p> | Specify type of the installed wireless card.</p> | ||
Line 446: | Line 446: | ||
<h4>Match properties</h4> | <h4>Match properties</h4> | ||
<h5>mac-address</h5> | <h5><var>mac-address</var></h5> | ||
< | <p><strong>Default value: </strong> | ||
00:00:00:00:00:00 | <i>00:00:00:00:00:00</i></p> | ||
< | <p><strong>Description: </strong> | ||
Rule matches client with the specified MAC address. | Rule matches client with the specified MAC address. | ||
Value 00:00:00:00:00:00 matches always. | Value <i>00:00:00:00:00:00</i> matches always.</p> | ||
<h5>interface</h5> | <h5><var>interface</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
Name of wireless interface, or | Name of wireless interface, or <i>all</i>.</p> | ||
< | <p><strong>Default value: </strong> | ||
all | <i>all</i></p> | ||
< | <p><strong>Description: </strong> | ||
Rules with <code>interface=all</code> are used for all wireless interfaces. To make rule that applies only to one wireless interface, specify that interface as a value of this property. | Rules with <code><var>interface</var>=<i>all</i></code> are used for all wireless interfaces. To make rule that applies only to one wireless interface, specify that interface as a value of this property.</p> | ||
<h4>Match properties that also set connection parameters</h4> | <h4>Match properties that also set connection parameters</h4> | ||
<h5>signal-range</h5> | <h5><var>signal-range</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
number..number (both numbers are in the range -120..120) | number..number (both numbers are in the range -120..120)</p> | ||
< | <p><strong>Default value: </strong> | ||
-120..120 | <i>-120..120</i></p> | ||
< | <p><strong>Description: </strong> | ||
Rule matches if signal strength of the station is within the range. | Rule matches if signal strength of the station is within the range. | ||
If signal strength of the station will go out of the range that is specified in the rule, access point will disconnect that station. | If signal strength of the station will go out of the range that is specified in the rule, access point will disconnect that station.</p> | ||
<h5>time</h5> | <h5><var>time</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
TIME-TIME,sun,mon,tue,wed,thu,fri,sat (TIME is time interval 0..86400 seconds; all day names are optional) | <i><em>TIME</em>-<em>TIME</em>,sun,mon,tue,wed,thu,fri,sat</i> (<i><em>TIME</em></i> is time interval 0..86400 seconds; all day names are optional) | ||
<br>Value can be unset. | <br>Value can be unset.</p> | ||
< | <p><strong>Default value: </strong> | ||
not set | not set</p> | ||
< | <p><strong>Description: </strong> | ||
Rule will match only during specified time. | Rule will match only during specified time. | ||
Station will be disconnected after specified time ends. | Station will be disconnected after specified time ends. | ||
Both start and end time is expressed as time since midnight, 00:00. | Both start and end time is expressed as time since midnight, 00:00. | ||
Rule will match only during specified days of the week. | Rule will match only during specified days of the week.</p> | ||
<h4>Connection properties</h4> | <h4>Connection properties</h4> | ||
<h5>authentication</h5> | <h5><var>authentication</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>yes</i> or <i>no</i>.</p> | |||
< | <p><strong>Description: </strong><ul> | ||
<li>no - Client association will always fail. | <li><i>no</i> - Client association will always fail. | ||
<li>yes - Use authentication procedure that is specified in the <code>security-profile</code> of the interface. | <li><i>yes</i> - Use authentication procedure that is specified in the <code>security-profile</code> of the interface. | ||
</ul> | </ul></p> | ||
<h5>forwarding</h5> | <h5><var>forwarding</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>yes</i> or <i>no</i>.</p> | |||
< | <p><strong>Description: </strong><ul> | ||
<li>no - Client cannot send frames to other station that are connected to same access point. | <li><i>no</i> - Client cannot send frames to other station that are connected to same access point. | ||
<li>yes - Client can send frames to other stations on the same access point. | <li><i>yes</i> - Client can send frames to other stations on the same access point. | ||
</ul> | </ul></p> | ||
<h5>ap-tx-limit</h5> | <h5><var>ap-tx-limit</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
Number, in bits per second. | Number, in bits per second.</p> | ||
< | <p><strong>Default value: </strong> | ||
0 | <i>0</i></p> | ||
< | <p><strong>Description: </strong> | ||
Limit rate of data transmission to this client. | Limit rate of data transmission to this client. | ||
Value 0 means no limit. | Value <i>0</i> means no limit.</p> | ||
<h5>client-tx-limit</h5> | <h5><var>client-tx-limit</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
Number, in bits per second. | Number, in bits per second.</p> | ||
< | <p><strong>Default value: </strong> | ||
0 | <i>0</i></p> | ||
< | <p><strong>Description: </strong> | ||
Ask client to limit rate of data transmission. | Ask client to limit rate of data transmission. | ||
This is a proprietary extension that is supported by RouterOS clients. | This is a proprietary extension that is supported by RouterOS clients. | ||
Value 0 means no limit. | Value <i>0</i> means no limit.</p> | ||
<h4>Security related connection properties</h4> | <h4>Security related connection properties</h4> | ||
<h5>private-algo</h5> | <h5><var>private-algo</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>none</i>, <i>40bit-wep</i>, <i>104bit-wep</i>, <i>aes-ccm</i> or <i>tkip</i></p> | |||
< | <p><strong>Description: </strong> | ||
Only for WEP modes. | Only for WEP modes.</p> | ||
<h5>private-key</h5> | <h5><var>private-key</var></h5> | ||
< | <p><strong>Description: </strong> | ||
Only for WEP modes. | Only for WEP modes.</p> | ||
<h5>private-pre-shared-key</h5> | <h5><var>private-pre-shared-key</var></h5> | ||
< | <p><strong>Description: </strong> | ||
Used in WPA PSK mode. | Used in WPA PSK mode.</p> | ||
</div> | </div> | ||
Line 602: | Line 602: | ||
<h4>Match properties</h4> | <h4>Match properties</h4> | ||
<h5>interface</h5> | <h5><var>interface</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
Name of wireless interface. | Name of wireless interface. | ||
Required. | Required.</p> | ||
< | <p><strong>Description: </strong> | ||
Each rule in connect list applies only to one wireless interface that is specified by this setting. | Each rule in connect list applies only to one wireless interface that is specified by this setting.</p> | ||
<h5>area-prefix</h5> | <h5><var>area-prefix</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
Text. | Text.</p> | ||
< | <p><strong>Description: </strong> | ||
Rule matches if area value of AP (a proprietary extension) begins with value of <code>area-prefix</code>. | Rule matches if area value of AP (a proprietary extension) begins with value of <code>area-prefix</code>. | ||
<code>area</code> value is a proprietary extension. | <code>area</code> value is a proprietary extension.</p> | ||
<h5>mac-address</h5> | <h5><var>mac-address</var></h5> | ||
< | <p><strong>Default value: </strong> | ||
00:00:00:00:00:00 | <i>00:00:00:00:00:00</i></p> | ||
< | <p><strong>Description: </strong> | ||
Rule matches only AP with the specified MAC address. | Rule matches only AP with the specified MAC address. | ||
Value 00:00:00:00:00:00 matches always. | Value <i>00:00:00:00:00:00</i> matches always.</p> | ||
<h5>ssid</h5> | <h5><var>ssid</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
String | String</p> | ||
< | <p><strong>Description: </strong> | ||
Rule matches access points that have this SSID. Empty value matches any SSID. | Rule matches access points that have this SSID. Empty value matches any SSID.</p> | ||
< | <p>This property has effect only when station mode interface <code>ssid</code> is empty, or when access point mode interface has <code><var>wds-ignore-ssid</var>=<i>yes</i></code>.</p> | ||
<h4>Match properties that also set connection parameters</h4> | <h4>Match properties that also set connection parameters</h4> | ||
<h5>signal-range</h5> | <h5><var>signal-range</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
number..number (both numbers are in the range -120..120) | number..number (both numbers are in the range -120..120)</p> | ||
< | <p><strong>Description: </strong> | ||
Rule matches if signal strength of the access point is within the range. | Rule matches if signal strength of the access point is within the range. | ||
If station establishes connection to access point that is matched by this rule, it will disconnect from that access point when signal strength goes out of the specified range. | If station establishes connection to access point that is matched by this rule, it will disconnect from that access point when signal strength goes out of the specified range.</p> | ||
<h5>security-profile</h5> | <h5><var>security-profile</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
name of [[security-profile]], or | name of [[security-profile]], or <i>none</i></p> | ||
< | <p><strong>Description: </strong> | ||
Name of security profile that is used when connecting to matching access points, If value of this property is | Name of security profile that is used when connecting to matching access points, If value of this property is <i>none</i>, then security profile specified in the interface configuration will be used. | ||
<br>In station mode, rule will match only access points that can support specified security profile. Value | <br>In station mode, rule will match only access points that can support specified security profile. Value <i>none</i> will match access point that support security profile that is specified in the interface configuration. In access point mode value of this property will not be used to match remote devices.</p> | ||
<h4>Connection properties</h4> | <h4>Connection properties</h4> | ||
<h5>connect</h5> | <h5><var>connect</var></h5> | ||
< | <p><strong>Syntax: </strong> | ||
<i>yes</i> or <i>no</i></p> | |||
< | <p><strong>Description: </strong><ul> | ||
<li>yes - Connect to access point that matches this rule. | <li><i>yes</i> - Connect to access point that matches this rule. | ||
<li>no - Do not connect to any access point that matches this rule. | <li><i>no</i> - Do not connect to any access point that matches this rule. | ||
</ul> | </ul></p> | ||
</div> | </div> | ||
Revision as of 10:12, 22 September 2008
Wireless interface configuration
Basic settings
master-interface
Syntax: interface name
Description:
Name of wireless interface that has virtual-ap capability.
Virtual AP interface will only work if master interface is in ap-bridge, bridge or wds-slave mode.
This property is only for virtual AP interfaces.
mode
Syntax: One of station, station-wds, ap-bridge, bridge, alignment-only, nstreme-dual-slave, wds-slave, station-pseudobridge or station-pseudobridge-clone
Default value: station
Description:
Station modes:
- station - Basic station mode. Find and connect to acceptable AP.
- station-wds - Same as station, but create WDS link with AP, using proprietary extension. AP configuration has to allow WDS links with this device. Note that this mode does not use entries in wds.
- station-pseudobridge - Same as station, but additionally perform MAC address translation of all traffic. Allows interface to be bridged.
- station-pseudobridge-clone - Same as station-pseudobridge, but use station-bridge-clone-mac address to connect to AP.
AP modes:
- ap-bridge - Basic access point mode.
- bridge - Same as ap-bridge, but limited to one associated client.
- wds-slave - Same as ap-bridge, but scan for AP with the same ssid and establishes WDS link. If this link is lost or cannot be established, then continue scanning. If dfs-mode is radar-detect, then APs with enabled hide-ssid will not be found during scanning.
Special modes:
- alignment-only - Put interface in a continuous transmit mode that is used for aiming remote antenna.
- nstreme-dual-slave - allow this interface to be used in nstreme-dual setup.
MAC address translation in pseudobridge modes works by inspecting packets and building table of corresponding IP and MAC addresses. All packets are sent to AP with the MAC address used by pseudobridge, and MAC addresses of received packets are restored from the address translation table. There is single entry in address translation table for all non-IP packets, hence more than one host in the bridged network cannot reliably use non-IP protocols.
Virtual AP interfaces do not have this property, they follow the mode of their master interface.
ssid
Syntax: text, up to 32 characters long
Default value: value of system/identity
Description: SSID (service set identifier) is a name that identifies wireless network.
frequency
Syntax: Frequency value in MHz.
Description:
Channel frequency on which AP will operate.
Allowed values depend on selected band, and are restricted by country setting and wireless card capabilities.
This setting has no effect if interface is in any of station modes, or in 'wds-slave' mode, or if DFS is active.
band
Syntax: one of 2.4ghz-b, 5ghz, 5ghz-turbo, 2.4ghz-b/g, 2.4ghz-g-turbo, 5ghz-10mhz, 5ghz-5mhz, 2ghz-10mhz, 2ghz-5mhz, 5ghz-11n, 2ghz-11n, 2.4ghz-onlyg
scan-list
Syntax: comma separated list of frequencies and frequency ranges, or default
Description:
The default value is all channels from selected band that are supported by card and allowed by the country and frequency-mode settings (this list can be seen in info). For default scan list in 5ghz band channels are taken with 20MHz step, in 5ghz-turbo band - with 40MHz step, for all other bands - with 5MHz step. If scan-list is specified manually, then all matching channels are taken.
Example:
scan-list=default,5200-5245,2412-2427
This will use the default value of scan list for current band, and add to it supported frequencies from 5200-5245 or 2412-2427 range.
antenna-mode
Syntax: one of these values:
- ant-a - use only 'a' antenna
- ant-b - use only 'b' antenna
- txa-rxb - use antenna 'a' for transmitting, antenna 'b' for receiving
- rxa-txb - use antenna 'b' for transmitting, antenna 'a' for receiving
wds-mode
Syntax: one of disabled, static, dynamic, static-mesh or dynamic-mesh
Description: Controls how WDS links with other devices (APs and clients in station-wds mode) are established.
- disabled does not allow WDS links.
- static only allows WDS links that are manually configured in wds
- dynamic also allows WDS links with devices that are not configured in wds, by creating required entries dynamically. Such dynamic WDS entries are removed automatically after the connection with the other AP is lost.
"-mesh" modes use different (better) method for establishing link between AP, that is not compatible with APs in non-mesh mode. This method avoids one-sided WDS links that are created only by one of the two APs. Such links cannot pass any data.
When AP or station is establishing WDS connection with another AP, it uses connect-list to check whether this connection is allowed. If station in station-wds mode is establishing connection with AP, AP uses access-list to check whether this connection is allowed.
If mode is station-wds, then this property has no effect.
wds-default-bridge
Syntax: none, or name of bridge interface
Description:
When WDS link is established and status of the wds interface becomes 'running', it will be added as a bridge port to the bridge interface specified by this property. When WDS link is lost, wds interface is removed from the bridge.
If wds interface is already included in a bridge setup when WDS link becomes active, it will not be added to bridge specified by , and will (needs editing)
wds-ignore-ssid
Syntax: yes or no
Default value: no
Description: By default, WDS link between two APs can be created only when they work on the same frequency and have the same SSID value. If this property is set to yes, then SSID of the remote AP will not be checked. This property has no effect on connections from clients in station-wds mode. It also does not work if wds-mode is static-mesh or dynamic-mesh.
default-authentication
Syntax: yes or no
Default value: yes
Description: For AP mode, this is the value of authentication for clients that do not match any entry in the access-list. For station mode, this is the value of connect for APs that do not match any entry in the connect-list.
default-forwarding
Syntax: yes or no
Default value: yes
Description: This is the value of forwarding for clients that do not match any entry in the access-list.
default-ap-tx-limit
Description: This is the value of ap-tx-limit for clients that do not match any entry in the access-list.
default-client-tx-limit
Description: This is the value of client-tx-limit for clients that do not match any entry in the access-list.
hide-ssid
Syntax: yes or no
Default value: no
Description:
- yes - AP does not include SSID the beacon frames, and does not reply to probe requests that have broadcast SSID.
- no - AP includes SSID in the beacon frames, and replies to probe requests that have broadcast SSID.
This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve security of the wireless network, because SSID is included in other frames sent by the AP.
security-profile
Syntax: name of profile from security-profiles
compression
Syntax: yes or no
Default value: no
Description: Setting this property to yes will allow use of the hardware compression. Wireless interface must have support for hardware compression. Connections with devices that do not use compression will still work.
interface-type
Syntax: virtual-AP, Prism, or Atheros model_name
Read-only property
Description: This specifies type of wireless interface. Some properties have meaning only for certain types of interfaces.
Advanced settings
frequency-mode
Syntax: one of these values:
- regulatory-domain - Limit available channels and maximum transmit power for each channel according to the value of country
- manual-txpower - Same as above, but do not limit maximum transmit power.
- superchannel - Allow all channels supported by the card.
Description: List of available channels for each band can be seen in info.
country
Syntax: either no_country_set, or name of regulatory domain
Description: Limits available bands, frequencies and maximum transmit power for each frequency. Also specifies default value of scan-list. Value no_country_set is an FCC compliant set of channels.
antenna-gain
Default value: 0
Description:
Antenna gain in dBi, used to calculate maximum transmit power according to country limitations.
band | basic rates | supported rates |
---|---|---|
2.4ghz-b | 1 | 1 .. 11 |
5ghz | 6 | 6 .. 54 |
2.4ghz-onlyg | 6 | 1 .. 11 and 6 .. 54 |
2.4ghz-b/g | 1 .. 11 | 1 .. 11 and 6 .. 54 |
2.4ghz-g-turbo | 6 | 6 .. 54 |
rate-set
Syntax: default or configured
Description:
- default - default basic and supported rate sets are used. Values from basic-rates and supported-rates parameters have no effect.
- configured - use values from basic-rates and supported-rates parameters. Note that g mode bands use rates from both "rates-b" and "rates-a/g" properties.
supported-rates-b
Description:
List of supported rates, used for 2.4ghz-b, 2.4ghz-b/g and 2.4ghz-onlyg bands. Two devices will communicate only using rates that are supported by both devices. This property has effect only when value of rate-set is configured.
supported-rates-a/g
Description:
Similar to the above property, but used for 5ghz, 5ghz-10mhz, 5ghz-5mhz, 5ghz-turbo, 2.4ghz-b/g, 2.4ghz-onlyg, 2ghz-10mhz, 2ghz-5mhz and 2.4ghz-g-turbo bands.
basic-rates-b
Description:
List of basic rates, used for 2.4ghz-b, 2.4ghz-b/g and 2.4ghz-onlyg bands.
Client will connect to AP only if it supports all basic rates announced by the AP.
AP will establish WDS link only if it supports all basic rates of the other AP.
This property has effect only in AP modes, and when value of rate-set is configured.
basic-rates-a/g
Description:
Similar to the above property, but used for 5ghz, 5ghz-10mhz, 5ghz-5mhz, 5ghz-turbo, 2.4ghz-b/g, 2.4ghz-onlyg, 2ghz-10mhz, 2ghz-5mhz and 2.4ghz-g-turbo bands.
max-station-count
Syntax: 1..2007
Default value: 2007
Description: Maximum number of associated clients. WDS links also count toward this limit.
ack-timeout
Syntax: indoors, dynamic, or value in microseconds
Description:
How long to wait for confirmation of unicast frames before considering transmission unsuccessful. Value 'dynamic' causes AP to detect and use smallest timeout that works with all connected clients.
Acknowledgements are not used in Nstreme protocol.
tx-power
Syntax: value in the -30..30 range
tx-power-mode
Syntax: one of these values:
- default -
- all-rates-fixed -
- card-rates -
- manual-table -
dfs-mode
Syntax: one of none, no-radar-detect and radar-detect
Default value: none
Description:
Controls DFS (Dynamic Frequency Selection).
- none - disables DFS.
- no-radar-detect - Select channel from scan-list with the lowest number of detected networks. In 'wds-slave' mode this setting has no effect.
- radar-detect - Select channel with the lowest number of detected networks and use it if no radar is detected on it for 60 seconds. Otherwise, select different channel. This setting may be required by the country regulations.
This property has effect only in AP mode.
wds-default-cost
Syntax: Number
Default value: 100
Description: Initial bridge port cost of the WDS links.
wds-cost-range
Syntax: Numeric range
Default value: 50-150
Description:
Bridge port cost of WDS links are automatically adjusted, depending on measured link throughput. Port cost is recalculated and adjusted every 5 seconds if it has changed by more than 10%, or if more than 20 seconds have passed since the last adjustment.
Setting this property to 0 disables automatic cost adjustment.
Automatic adjustment does not work for WDS links that are manually configured as a bridge port.
wmm-support
(needs editing)Syntax: disabled, enabled or required
disconnect-timeout
Syntax: time interval in the 0..15s range, in units of 10ms
Default value: 3s
Description:
This interval is measured from third sending failure on the lowest data rate. At this point 3 * (hw-retries + 1) frame transmits on the lowest data rate had failed.
During disconnect-timeout packet transmission will be retried with on-fail-retry-time interval. If no frame can be transmitted successfully during diconnect-timeout, connection is closed, and this event is logged as "extensive data loss". Successful frame transmission resets this timer.
on-fail-retry-time
Syntax: time interval in the 10ms..1s range, in 10ms units
Default value: 100ms
Description: After third sending failure on the lowest data rate, wait for this long before retrying.
frame-lifetime
Syntax: time in hundredths of a second
Default value: 0
Description:
Discard frames that have been queued for sending longer than frame-lifetime. By default, when value of this property is 0, frames are discarded only after connection is closed.
preamble-mode
Syntax: one of long, short or both
Default value: both
Description: Short preamble mode is an option of 802.11b standard that reduces per-frame overhead. On AP:
- long - Do not use short preamble.
- short - Announce short preamble capability. Do not accept connections from clients that do not have this capability.
- both - Announce short preamble capability.
On station:
- long - do not use short preamble.
- short - do not connect to AP if it does not support short preamble.
- both - Use short preamble if AP supports it.
Syntax: yes or no
Default value: no
Description: Allow WEP Shared Key cilents to connect. Note that no authentication is done for these clients (WEP Shared keys are not compared to anything) - they are just accepted at once (if access list allows that).
station-bridge-clone-mac
Syntax: MAC address
Description:
This property has effect only in the station-pseudobridge-clone mode.
Use this MAC address when connection to AP. If this value is 00:00:00:00:00:00, station will initially use MAC address of the wireless interface.
As soon as packet with MAC address of another device needs to be transmitted, station will reconnect to AP using that address.
hw-retries
Syntax: number 0..15
Default value: 15
Description:
Number of times sending frame is retried without considering it a transmission failure.
Data rate is decreased upon failure and frame is sent again. Three sequential failures on lowest supported rate suspend transmission to this destination for the duration of on-fail-retry-time. After that, frame is sent again. The frame is being retransmitted until transmission success, or until client is disconnected after disconnect-timeout. Frame can be discarded during this time if frame-lifetime is exceeded.
Proprietary extensions
radio-name
Syntax: Text
Description:
Descriptive name of the device, that is shown in registration table entries on the remote devices.
This is a proprietary extension.
area
Syntax: Text
Default value: empty
Description: Identifies group of wireless networks. This value is announced by AP, and can be matched in connect-list by area-prefix. This is a proprietary extension.
update-stats-interval
Syntax: disabled or time interval in the 10s..5h range
Default value: disabled
Description: How often to request update of signals strength and ccq values from clients. Access to registration-table also triggers update of these values. This is proprietary extension.
proprietary-extensions
Syntax: pre-2.9.25 or post-2.9.25
Default value: post-2.9.25
Description: RouterOS includes proprietary information in an information element of management frames. This parameter controls how this information is included.
- pre-2.9.25 - This is older method. It can interoperate with newer versions of RouterOS. This method is incompatible with some clients, for example, Centrino based ones.
- post-2.9.25 - This uses standardized way of including vendor specific information, that is compatible with newer wireless clients.
Atheros specific
noise-floor-threshold
Syntax: default or value in the -128..127 range
Description: This property is only effective for cards based on AR5211 chipset.
adaptive-noise-immunity
Syntax: yes or no
Default value: yes
Description: This property is only effective for cards based on Atheros chipset.
periodic-calibration
Syntax: one of default, enabled or disabled
Description: Setting default enables periodic calibration if info default-periodic-calibration property is enabled. Value of that property depends on the type of wireless card. This property is only effective for cards based on Atheros chipset.
periodic-calibration-interval
Syntax: value in range 1..10000
Default value: 60
Description: This property is only effective for cards based on Atheros chipset.
Prism specific
prism-cardtype
Syntax: 30mW, 100mW, 200mW
Description: Specify type of the installed wireless card.
Access lists
Access list is used by access point to restrict allowed connections from other devices, and to control connection parameters.
Operation
- Access list rules are checked sequentially.
- Disabled rules are always ignored.
- Only the first matching rule is applied.
- If there are no matching rules for the remote connection, then the default values from the wireless interface configuration are used.
- If remote device is matched by rule that has
authentication=no
value, the connection from that remote device is rejected.
Properties
Access list configuration is located in /interface wireless access-list
console path, and "Access List" tab in the WinBox "Wireless" window.
Match properties
mac-address
Default value: 00:00:00:00:00:00
Description: Rule matches client with the specified MAC address. Value 00:00:00:00:00:00 matches always.
interface
Syntax: Name of wireless interface, or all.
Default value: all
Description:
Rules with interface=all
are used for all wireless interfaces. To make rule that applies only to one wireless interface, specify that interface as a value of this property.
Match properties that also set connection parameters
signal-range
Syntax: number..number (both numbers are in the range -120..120)
Default value: -120..120
Description: Rule matches if signal strength of the station is within the range. If signal strength of the station will go out of the range that is specified in the rule, access point will disconnect that station.
time
Syntax:
TIME-TIME,sun,mon,tue,wed,thu,fri,sat (TIME is time interval 0..86400 seconds; all day names are optional)
Value can be unset.
Default value: not set
Description: Rule will match only during specified time. Station will be disconnected after specified time ends. Both start and end time is expressed as time since midnight, 00:00. Rule will match only during specified days of the week.
Connection properties
authentication
Syntax: yes or no.
Description:
- no - Client association will always fail.
- yes - Use authentication procedure that is specified in the
security-profile
of the interface.
forwarding
Syntax: yes or no.
Description:
- no - Client cannot send frames to other station that are connected to same access point.
- yes - Client can send frames to other stations on the same access point.
ap-tx-limit
Syntax: Number, in bits per second.
Default value: 0
Description: Limit rate of data transmission to this client. Value 0 means no limit.
client-tx-limit
Syntax: Number, in bits per second.
Default value: 0
Description: Ask client to limit rate of data transmission. This is a proprietary extension that is supported by RouterOS clients. Value 0 means no limit.
private-algo
Syntax: none, 40bit-wep, 104bit-wep, aes-ccm or tkip
Description: Only for WEP modes.
private-key
Description: Only for WEP modes.
Description: Used in WPA PSK mode.
Connect lists
connect-list is used to assign priority and security settings to connections with remote access points, and to restrict allowed connections.
connect-list is an ordered list of rules. Each rule in connect-list is attached to specific wireless interface, specified in the interface
property of that rule (this is unlike access-list, where rules can apply to all interfaces).
Rule can match MAC address of remote access point, it's signal strength and many other parameters.
Operation
- connect-list rules are always checked sequentially, starting from the first.
- disabled rules are always ignored.
- Only the first matching rule is applied.
- If connect-list does not have any rule that matches remote access point, then the default values from the wireless interface configuration are used.
- If access point is matched by rule that has
connect=no
value, connection with this access point will not be attempted. - If access point is matched by rule that has
connect=yes
value, connection with this access point will be attempted.- In station mode, if several remote access points are matched by connect list rules with
connect=yes
value, connection will be attempted with access point that is matched by rule higher in the connect-list. - If no remote access points are matched by connect-list rules with
connect=yes
value, then value ofdefault-authentication
interface property determines whether station will attempt to connect to any access point. Ifdefault-authentication=yes
, station will choose access point with best signal and compatible security.
- In station mode, if several remote access points are matched by connect list rules with
- In access point mode, connect-list is checked before establishing WDS link with remote device. If access point is not matched by any rule in the connect list, then the value of
default-authentication
determines whether WDS link will be established.
Usage
Restrict station connections only to specific access points
- Set value of
default-authentication
interface property to 'no'./interface wireless set station-wlan default-authentication=no
- Create rules that matches allowed access points. These rules must have
connect=yes
andinterface
equal to the name of station wireless interface./interface wireless connect-list add interface=station-wlan connect=yes mac-address=00:11:22:33:00:01 /interface wireless connect-list add interface=station-wlan connect=yes mac-address=00:11:22:33:00:02
Disallow connections to specific access points
- Set value of
default-authentication
interface property to 'yes'./interface wireless set station-wlan default-authentication=yes
- Create
connect=no
rules that match those access points that station should not connect to. These rules must haveconnect=no
andinterface
equal to the name of station wireless interface./interface wireless connect-list add interface=station-wlan connect=no mac-address=00:11:22:33:44:55
Select preferred access points
- Create rules that match preferred access points. These rules must have
connect=yes
andinterface
equal to the name of station wireless interface. - Put rules that match preferred access points higher in the connect-list, in the order of preference.
Restrict WDS link establishment
- Place rules that match allowed access points at the top.
- Add deny-all rule at the end of connect list.
Configuration Reference
Connect lists are configured under the /interface wireless connect-list
path in the console, or in the "Connect List" tab of the "Wireless" window in the WinBox.
Match properties
interface
Syntax: Name of wireless interface. Required.
Description: Each rule in connect list applies only to one wireless interface that is specified by this setting.
area-prefix
Syntax: Text.
Description:
Rule matches if area value of AP (a proprietary extension) begins with value of area-prefix
.
area
value is a proprietary extension.
mac-address
Default value: 00:00:00:00:00:00
Description: Rule matches only AP with the specified MAC address. Value 00:00:00:00:00:00 matches always.
ssid
Syntax: String
Description: Rule matches access points that have this SSID. Empty value matches any SSID.
This property has effect only when station mode interface ssid
is empty, or when access point mode interface has wds-ignore-ssid=yes
.
Match properties that also set connection parameters
signal-range
Syntax: number..number (both numbers are in the range -120..120)
Description: Rule matches if signal strength of the access point is within the range. If station establishes connection to access point that is matched by this rule, it will disconnect from that access point when signal strength goes out of the specified range.
security-profile
Syntax: name of security-profile, or none
Description:
Name of security profile that is used when connecting to matching access points, If value of this property is none, then security profile specified in the interface configuration will be used.
In station mode, rule will match only access points that can support specified security profile. Value none will match access point that support security profile that is specified in the interface configuration. In access point mode value of this property will not be used to match remote devices.
Connection properties
connect
Syntax: yes or no
Description:
- yes - Connect to access point that matches this rule.
- no - Do not connect to any access point that matches this rule.
Security profiles
Configuration Reference
Security profiles are configured under the /interface wireless security-profiles
path in the console, or in the "Security Profiles" tab of the "Wireless" window in the WinBox. Security profiles are referenced only by the wireless interface security-profile parameter.
Basic properties
mode
Syntax:
One of none, static-keys-optional, static-keys-required or dynamic-keys
Default value:
none
Description:
- none - Encryption is not used. Encrypted frames are not accepted.
- static-keys-required - WEP mode. Do not accept and do not send unencrypted frames.
Station in static-keys-required mode will not connect to an access point in static-keys-optional mode. - static-keys-optional - WEP mode. Support encryption and decryption, but allow also to receive and send unencrypted frames. Device will send unencrypted frames if encryption algorithm is specified as none.
Station in static-keys-optional mode will not connect to an access point in static-keys-required mode.
See also: static-sta-private-algo, static-transmit-key. - dynamic-keys - WPA mode.
name
See: generic properties
WPA properties
These properties have effect only when mode=dynamic-keys.
authentication-types
Syntax:
Multiple choice of wpa-psk, wpa2-psk, wpa-eap and wpa2-eap.
Default value:
empty
Description:
Set of supported authentication types. Access point will advertise supported authentication types, and client will connect to access point only if supports any of the advertised authentication types.
unicast-ciphers
Syntax:
Multiple choice of tkip, aes-ccm.
Default value:
empty
Description:
Access point advertises that it supports specified ciphers. Client attempts connection only to access points that supports at least one of the specified ciphers.
One of the ciphers will be used to encrypt unicast frames that are sent between access point and station.
group-ciphers
Syntax:
Multiple choice of tkip, aes-ccm.
Default value:
empty
Description:
Access point advertises one of these ciphers, and uses it to encrypt all broadcast and multicast frames. Client attempts connection only to access points that use one of the specified group ciphers.
group-key-update
Syntax:
Time interval in the 30s..1h range.
Default value:
5m
Description:
Controls how often access point updates group key. This key is used to encrypt all broadcast and multicast frames.
This property has no effect in station mode.
,
Syntax:
Text
Description:
WPA and WPA2 pre-shared key mode requires all devices in a BSS to have common secret key. Value of this key can be an arbitrary text.
RouterOS also allows to override pre-shared key value for specific clients, using either private-pre-shared-key property in the access-list, or the Mikrotik-Wireless-Psk attribute in the RADIUS MAC authentication response. This is an extension.
These properties have effect only when authentication-types contains either wpa-psk or wpa2-psk.
wpa-pre-shared-key is used for wpa-psk authentication type. wpa2-pre-shared-key is used for wpa2-psk.
WPA EAP properties
These properties has effect only when authentication-types contains wpa-eap or wpa2-eap, and mode=dynamic-keys.
eap-methods
Syntax:
Array of eap-tls, passthrough
Description:
- eap-tls - Use built-in EAP TLS authentication. Both client and server certificates are supported. See description of tls-mode and tls-certificate properties.
- passthrough - Access point will relay authentication process to the RADIUS server. This value is ignored in station mode.
Order of values is significant for access point configuration, it is used by access point when offering specified methods to clients.
Example: Access point uses security-profile where eap-methods=eap-tls,passthrough
- Access point offers EAP-TLS method to the client.
- Client refuses.
- Access point starts relaying EAP communication to the radius server.
supplicant-identity
Syntax:
Text
Default value:
Same as system/identity of router at the moment of profile creation.
Description:
EAP identity that is sent by client at the beginning of EAP authentication. This value is used as a value for User-Name attribute in RADIUS messages sent by RADIUS EAP accounting and RADIUS EAP pass-through authentication.
tls-mode
Syntax:
One of verify-certificate, dont-verify-certificate, no-certificates.
Default value:
no-certificates
Description:
- verify-certificate - Require remote device to have valid certificate. Check that it is signed by known certificate authority. No additional identity verification is done.
Note: Certificate may include information about time period during which it is valid. If router has incorrect time and date, it may reject valid certificate because router's clock is outside that period.
See also: certificate configuration. - dont-verify-certificate - Do not check certificate of the remote device. Access point will not require client to provide certificate.
- no-certificates - Do not use certificates. TLS session is established using 2048 bit anonymous Diffie-Hellman key exchange.
When using first two modes, remote device has to support one of the "RC4-MD5", "RC4-SHA" or "DES-CBC3-SHA" TLS cipher suites. In the last mode remote device must support "ADH-DES-CBC3-SHA" cipher suite.
This property has effect only when eap-methods contains eap-tls.
tls-certificate
Syntax:
none or name of certificate.
Default value:
none
Description:
Access point always needs certificate when configured with tls-mode=verify-certificate, or tls-mode=dont-verify-certificate. Client needs certificate only if access point is configured with tls-mode=verify-certificate. In this case client needs valid certificate that is signed by CA known to the access point.
This property has effect only if tls-mode≠no-certificates.
This property has effect only when eap-methods contains eap-tls.
RADIUS properties
radius-mac-authentication
Syntax:
yes or no.
Default value:
no
Description:
- no - allow or reject client authentication based on the value of default-authentication property of the wireless interface.
- yes - Query RADIUS server using MAC address of client as user name. With this setting the value of default-authentication has no effect.
radius-mac-accounting
Syntax:
yes or no
Default value:
no
Description:
radius-eap-accounting
Syntax:
yes or no
Default value:
no
Description:
interim-update
Syntax:
Time interval
Default value:
0
Description:
When RADIUS accounting is used, access point periodically sends accounting information updates to the RADIUS server. This property specifies default update interval that can be overridden by the RADIUS server using Acct-Interim-Interval attribute.
radius-mac-format
Syntax:
One of XX:XX:XX:XX:XX:XX, XXXX:XXXX:XXXX, XXXXXX:XXXXXX, XX-XX-XX-XX-XX-XX, XXXXXX-XXXXXX, XXXXXXXXXXXX, XX XX XX XX XX XX.
Default value:
XX:XX:XX:XX:XX:XX
Description:
Controls how MAC address of the client is encoded by access point in the User-Name attribute of the MAC authentication and MAC accounting RADIUS requests.
radius-mac-mode
Syntax:
One of as-username, as-username-and-password.
Default value:
as-username
Description:
By default access point uses empty password, when sending Access-Request during MAC authentication. When this property is set to as-username-and-password, access point will use the same value for User-Password attribute as for the User-Name attribute.
radius-mac-caching
Syntax:
Either disabled or time interval.
Default value:
disabled
Description:
If this value is set to time interval, the access point will cache RADIUS MAC authentication responses for specified time, and will not contact RADIUS server if matching cache entry already exists. Value disabled will disable cache, access point will always contact RADIUS server.
WEP properties
These properties have effect only when mode is static-keys-required or static-keys-optional. See section "Statically configured WEP keys".
static-key-0
,static-key-1
,static-key-2
,static-key-3
Syntax:
Hexadecimal representation of the key. Length of key must be appropriate for selected algorithm. See section "Statically configured WEP keys".
Default value:
empty
Description:
static-algo-0
,static-algo-1
,static-algo-2
,static-algo-3
Syntax:
One of none, 40bit-wep, 104bit-wep, tkip or aes-ccm.
Default value:
none
Description:
Encryption algorithm to use with the corresponding key.
static-transmit-key
Syntax:
One of key-0, key-1, key-2 or key-3.
Default value:
key-0
Description:
Access point will use the specified key to encrypt frames for clients that do not use private key. Access point will also use this key to encrypt broadcast and multicast frames.
Client will use the specified key to encrypt frames if static-sta-private-algo=none.
If corresponding static-algo- property has value none, frame will be sent unencrypted (when mode=static-keys-optional) or will not be sent at all (when mode=static-keys-required).
static-sta-private-key
Syntax:
Hexadecimal representation of the key. Length of key must be appropriate for selected algorithm. See section "Statically configured WEP keys".
Description:
This property is used only in station mode. Access point uses corresponding key either from private-key property of access-list, or from Mikrotik-Wireless-Enc-Key attribute in RADIUS Access-Accept MAC authentication response.
static-sta-private-algo
Syntax:
One of none, 40bit-wep, 104bit-wep, tkip or aes-ccm.
Description:
Encryption algorithm to use with station private key. Value none disables use of the private key.
This property is used only in station mode. Access point has to get corresponding value either from private-algo property of access-list, or from Mikrotik-Wireless-Enc-Algo attribute in RADIUS Access-Accept MAC authentication response.
Station private key replaces key 0 for unicast frames. Station will not use private key to decrypt broadcast frames.
Operation details
RADIUS MAC authentication
Note:
RAIDUS MAC authentication is used by access point for clients that are not found in the access-list, similarly to the default-authentication property of the wireless interface. It controls whether client is allowed to proceed with authentication, or is rejected immediately.
When radius-mac-authentication=yes, access point queries RADIUS server by sending Access-Request with the following attributes:
- User-Name - Client MAC address. This is encoded as specified by the radius-mac-format setting. Default encoding is "XX:XX:XX:XX:XX:XX".
- Nas-Port-Id - name of wireless interface.
- User-Password - When radius-mac-mode=as-username-and-password this is set to the same value as User-Name. Otherwise this attribute is empty.
- Calling-Station-Id - Client MAC address, encoded as "XX-XX-XX-XX-XX-XX".
- Called-Station-Id - MAC address and SSID of the access point, encoded as "XX-XX-XX-XX-XX-XX:SSID" (minus separated pairs of MAC address digits, followed by colon, followed by SSID value).
- Acct-Session-Id - Added when radius-mac-accounting=yes.
When access point receives Access-Accept or Access-Reject response from the RADIUS server, it stores the response and either allows or rejects client. Access point uses following RADIUS attributes from the Access-Accept response:
- Ascend-Data-Rate
- Ascend-Xmit-Rate
- Mikrotik-Wireless-Forward - Same as access-list forwarding.
- Mikrotik-Wireless-Enc-Algo - Same as access-list private-algo.
- Mikrotik-Wireless-Enc-Key - Same as access-list private-key.
- Mikrotik-Wireless-Psk - Same as access-list private-pre-shared-key.
- Session-Timeout - Time, after which client will be disconnected.
- Acct-Interim-Interval - Overrides value of interim-update.
- Class - If present, value of this attribute is saved and included in Accounting-Request messages.
Caching
Caching of RADIUS MAC authentication was added to support RADIUS authentication for clients that require from the access point very quick response to the association request. Such clients time out before response from RADIUS server is received. Access point caches authentication response for some time and can immediately reply to the repeated association request from the same client.
RADIUS EAP pass-through authentication
When using WPA EAP authentication type, clients that have passed MAC authentication are required to perform EAP authentication before being authorized to pass data on wireless network. With pass-through EAP method the access point will relay authentication to RADIUS server, and use following attributes in the Access-Request RADIUS message:
- User-Name - EAP supplicant identity. This value is configured in the supplicant-identity property of the client security profile.
- Nas-Port-Id - name of wireless interface.
- Calling-Station-Id - Client MAC address, encoded as "XX-XX-XX-XX-XX-XX".
- Called-Station-Id - MAC address and SSID of the access point, encoded as "XX-XX-XX-XX-XX-XX:SSID" (pairs of MAC address digits separated by minus sign, followed by colon, followed by SSID value).
- Acct-Session-Id - Added when radius-eap-accounting=yes.
- Acct-Multi-Session-Id - MAC address of access point and client, and unique 8 byte value, that is shared for all accounting sessions that share single EAP authentication. Encoded as AA-AA-AA-AA-AA-AA-CC-CC-CC-CC-CC-CC-XX-XX-XX-XX-XX-XX-XX-XX.
Added when radius-eap-accounting=yes.
Access point uses following RADIUS attributes from the Access-Accept server response:
- Class - If present, value of this attribute is saved and included in Accounting-Request messages.
- Session-Timeout - Time, after which client will be disconnected. Additionally, access point will remember authentication result, and if during this time client reconnects, it will be authorized immediately, without repeating EAP authentication.
- Acct-Interim-Interval - Overrides value of interim-update.
Statically configured WEP keys
Different algorithms require different length of keys:- 40bit-wep - 10 hexadecimal digits (40 bits). If key is longer, only first 40 bits are used.
- 104bit-wep - 26 hexadecimal digits (104 bits). If key is longer, only first 104 bits are used.
- tkip - At least 64 hexadecimal digits (256 bits).
- aes-ccm - At least 32 hexadecimal digits (128 bits).
Key must contain even number of hexadecimal digits.
WDS security configuration
WDS links can use all available security features. However, they require careful configuration of security parameters.
It is possible to use one security profile for all clients, and different security profiles for WDS links. Security profile for WDS link is specified in connect-list. Access point always checks connect list before establishing WDS link with another access point, and used security settings from matching connect list entry. WDS link will work when each access point will have connect list entry that matches the other device, has connect=yes and specifies compatible security-profile.
WDS and WPA/WPA2
If access point uses security profile with mode=dynamic-keys, then encryption will be used for all WDS links. Since WPA authentication and key exchange is not symmetrical, one of the access points will act as a client for the purpose of establishing secure connection. This is similar to how static-mesh and dynamic-mesh WDS modes work. Some problems, like single sided WDS link between two incorrectly configured access points that use non-mesh mode, is not possible if WPA encryption is enabled. However, non-mesh modes with WPA still have other issues (like constant reconnection attempts in case of configuration mismatch) that are solved by use of the -mesh WDS modes.
In general, WPA properties on both access points that establish WPA protected WDS link have to match. These properties are authentication-types, unicast-ciphers, group-ciphers. For non-mesh WDS mode these properties need to have the same values on both devices. In mesh WDS mode each access point has to support the other one as a client.
Theoretically it is possible to use RADIUS MAC authentication and other RADIUS services with WDS links. However, only one access point will interact with the RADIUS server, the other access point will behave as a client.
Implementation of eap-tls EAP method in RouterOS is particularly well suited for WDS link encryption. tls-mode=no-certificates requires no additional configuration, and provides very strong encryption.
WDS and WEP
mode, static-sta-private-key and static-sta-private-algo parameters in the security profile assigned to the WDS link need to have the same values on both access points that establish WDS link with WPA encryption.
Security profile and access point matching in the connect list
Client uses value of connect-list security-profile property to match only those access points that support necessary security.- mode=static-keys-required and mode=static-keys-optional matches only access points with the same mode in interface security-profile.
- If mode=dynamic-keys, then connect list entry matches if all of the authentication-types, unicast-ciphers and group-ciphers contain at least one value that is advertised by access point.