diff --git a/routeros/rbmetal2-init.rsc b/routeros/rbmetal2-init.rsc new file mode 100644 index 0000000..09e1fdd --- /dev/null +++ b/routeros/rbmetal2-init.rsc @@ -0,0 +1,26 @@ +: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 +/interface wireless +set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \ + country=no_country_set disabled=no frequency=auto installation=outdoor \ + mode=ap-bridge radio-name=P1-O5 ssid="Domaine Des Bans" wds-default-bridge=\ + bridge wds-mode=dynamic-mesh wps-mode=disabled +/interface wireless security-profiles +set [ find default=yes ] supplicant-identity=MikroTik +: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";