When the “get-custom-defconf” is interrupted for some reason, the “flag” get-custom-defconf runned successfully is not set, and everytime at reboot it try to run the script,
is why everytime, for every reboot, you get that error.
(The error is on the file “get-custom-defconf” on system package, not on wifiwave2 package)
MikroTik Staff, please, deliver to who manage the get-custom-defconf script this message:
# wait wlan3 it takes 7sec slower to load than wlan1/2 on Audience
$addCL (" :local count 0;")
$addCL (" :while ([/interface wireless find default-name=\"wlan3\"] = \"\") do={ ")
$addCL (" :if (\$count = 15) do={")
$addCL (" :log warning \"DefConf: Unable to find wlan3 interface\";")
$addCL (" /quit")
$addCL (" }")
$addCL (" :delay 1s; :set count (\$count +1);")
$addCL (" };")
# TODO: set band and ext, probably use setWlan function
$addCL (" /interface wireless {")
$addCL (" :local wl3 [find default-name=\"wlan3\"]")
$addCL (" :local wlanMac [get \$wl3 mac-address];")
$addCL (" :set ssid \"SYNC-\$[:pick \$wlanMac 9 11]\$[:pick \$wlanMac 12 14]\$[:pick \$wlanMac 15 17]\"")
$addCL (" set \$wl3 disabled=no mode=ap-bridge band=5ghz-a/n/ac ssid=\$ssid security-profile=wpsSync wps-mode=push-button")
# set channnel width 20/40/80mhz-XXXX (russia 20/40mhz-XX)
<<< LINE 983 >>> # wait wlan3 it takes 7sec slower to load than wlan1/2 on Audience
:local count 0;
<<< @mkx LINE 985 >>> :while ([/interface wireless find default-name="wlan3"] = "") do={
:if ($count = 30) do={
:log warning "DefConf: Unable to find wlan3 interface";
/quit
}
:delay 1s; :set count ($count +1);
};
<<< LINE 993 >>> :local hwInfo [/interface wireless info hw-info [.. find where default-name="wlan3"] as-value];
$addDL ("#| channel-width: 20/40mhz-XX;")
<<< LINE 995 >>> $addCL (" set \$wl3 channel-width=20/40mhz-XX")
$addCL (" };")
}
Accidentally the already converted block was not deleted, old code and unused chunks were left from line 983 to line 995.
[Also on line 993 is present a useless local variable (never used anywhere) that give error, becase call directly /int wireless for set his value]
Simply deleting the lines from 983 to 995 solve the Audience problem.
Thanks.