value of wds-cost-range out of range (1..200000000)
Regarding the wds-cost-range parameter I have to tell that I didn’t set this parameters manually, they were created automatically when adding the virtual wlan adapters.
In order to let run the import I have stripped the "wds-cost-range=0 wds-default-cost=0’ from the command and so the import succeeded.
Questions:
Is it a bug in ROS (I have v7.14.2) that it doesn’t accept this parameter by command line? (according the MT manual wds-cost-range=0 is a legal setting, meaning it is disabled)
Does it make any difference in the wifi operation that this settings are not imported?
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.
Those are two settings, for the first:
wds-cost-range
it can according to the docs be set to 0 (contradicting the stated range of 1-200000000), for the second:
wds-default-cost
where is seemingly not the “0 exception” and it only remains the 1..200000000 range, so it is possible that is the second setting that creates the issue.
But - whether this is a bug or simple (usual) mis-documentation, one could set both to their default values (respectively 50-150 and 100) to import the configuration, and then try to change them later, once the configuration has been imported successfully.
It is actually quite common that an exported config cannot be imported, especially on another device.
You can report it as a bug, but in general you are expected to solve this kind of problem yourself.
(as also indicated in previous reply)
When something is not accepted, read the error message and adjust the file accordingly… e.g. remove the parameter.
At the very least, make sure the units are running exactly the same RouterOS version!