- Version number: 7.1beta6
- Router’s model: RB4011iGS+5HacQ2HnD
I decided to reset configuration and I found out that default configuration script fails. I ended up with a device without IP address. I was able to get the device working through serial console.
Steps to reproduce the issue:
[admin@router] > /system reset-configuration skip-backup=yes
Dangerous! Reset anyway? [y/N]:
y
system configuration will be reset
Rebooting...
[42031.635046] reboot: Restarting system
:00000050
AL31400X-140
RouterBOOT booter 7.1beta6
RB4011iGS+5HacQ2HnD
… (wait for login prompt) … After login with admin and no password I get:
SCRIPT ERROR: expected end of command (line 101 column 16)
and to show more details:
[admin@MikroTik] > /log/print without-paging
00:00:04 system,info crossfig will upgrade version 6 configuration
00:00:04 system,info router rebooted
00:00:17 system,error,critical error while running default configuration script: expected end of command (line 101 column 16)
00:00:17 system,error,critical
00:00:18 system,info,account user admin logged in via local
When I print default config:
[admin@MikroTik] > /system default-configuration print without-paging
I see:
…
/interface wireless {
…
set $ifcId channel-width=20/40/80mhz-XXXX;
set $ifcId secondary-channel=auto
set $ifcId frequency=auto
Syntax highlighting shows first “s” in “secondary-channel” with red and after that text is not highlighted. I believe it is because it doesn’t exist anymore:
[admin@MikroTik] > /interface/wireless/
access-list channels interworking-profiles nstreme-dual sniffer add edit find print reset-configuration setup-repeater wps-client
align connect-list manual-tx-power-table registration-table snooper comment enable frequency-monitor remove scan spectral-history wps-push-button
cap info nstreme security-profiles wds disable export monitor reset set spectral-scan
And just to add, device doesn’t have IP address set:
[admin@MikroTik] > /ip/address/print
[admin@MikroTik] >
Since I wanted to get default config, I followed First Time Configuration to set IP address, uploaded stable version of firmware, switched to it, reset again which worked and only then switch back to beta.
