From 8f010e082ddd185fa3816af7bb3766f3fad6ae9b Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Sun, 17 May 2020 11:26:34 +0200 Subject: [PATCH] Added wifi interface configuration --- routeros/rbmetal-init.rsc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 routeros/rbmetal-init.rsc diff --git a/routeros/rbmetal-init.rsc b/routeros/rbmetal-init.rsc new file mode 100644 index 0000000..cb8a5e1 --- /dev/null +++ b/routeros/rbmetal-init.rsc @@ -0,0 +1,19 @@ +:delay 15s +/interface bridge +add name=bridge +/interface bridge port +add bridge=bridge interface=wlan1 +add bridge=bridge interface=ether1 +/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 +:delay 5s +/tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/add-music.rsc" dst-path=add-music.rsc; /import add-music.rsc; /system script run "Music: Thunderstruck";