simple router initial configuration
Posted: Sun Dec 26, 2021 5:13 am
Simple wAP router with 2 interfaces (wlan1, ether1)
I just want a minimal setup to start configuring it.
and named it minimal.rsc and upload to the router.
when /system reset-configuration no-defaults=yes skip-backup=yes run-after-reset=minimal.rsc
I loose the router (need to hard reset it)
What Am I doing wrong? regards,
I just want a minimal setup to start configuring it.
Code: Select all
:delay 15s;
:local rtname "router01";
:local pass "sup3rpa$$word";
/system clock set time-zone-name=America/Fortaleza
/system identity set name=$rtname
/user set admin password=$pass
## WAN addr via dhcp
/ip dhcp-client add disabled=no interface=ether1
when /system reset-configuration no-defaults=yes skip-backup=yes run-after-reset=minimal.rsc
I loose the router (need to hard reset it)
What Am I doing wrong? regards,