From b445906b0ed878456265353706e568380348e8fa Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Thu, 14 May 2020 11:39:19 +0200 Subject: [PATCH] Reverted to script from no-config --- routeros/powerbox-init.rsc | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/routeros/powerbox-init.rsc b/routeros/powerbox-init.rsc index ca45fee..fe3a8bc 100644 --- a/routeros/powerbox-init.rsc +++ b/routeros/powerbox-init.rsc @@ -1,12 +1,20 @@ :delay 15s -/ip dhcp-server remove 0; -/interface bridge port add bridge=bridge interface=ether1 -/ip dhcp-client set 0 interface=bridge -/ip firewall filter disable 4 -/ip address remove 0 -/ip service disable www -/ip service disable www-ssl -/ip service disable ftp -/ip service disable api -/ip service disable api-ssl -/tool bandwidth-server set enabled=no +/interface bridge +add name=bridge +/interface bridge port +add bridge=bridge interface=ether1 +add bridge=bridge interface=ether2 +add bridge=bridge interface=ether3 +add bridge=bridge interface=ether4 +add bridge=bridge interface=ether5 +/ip dhcp-client +add dhcp-options=hostname,clientid disabled=no interface=bridge +/ip service +set telnet disabled=yes +set ftp disabled=yes +set www disabled=yes +set api disabled=yes +/system clock +set time-zone-name=Europe/Paris +/system ntp client +set enabled=yes server-dns-names=fr.pool.ntp.org