diff --git a/routeros/powerbox-init.rsc b/routeros/powerbox-init.rsc index 7dc3ae4..aa16d2f 100644 --- a/routeros/powerbox-init.rsc +++ b/routeros/powerbox-init.rsc @@ -19,6 +19,12 @@ set api disabled=yes set time-zone-name=Europe/Paris /system ntp client set enabled=yes server-dns-names=fr.pool.ntp.org +/interface list +add name=discover +/interface list member +add interface=bridge list=discover +/ip neighbor discovery-settings +set discover-interface-list=discover /system package enable ipv6 /system package update set channel=long-term diff --git a/routeros/rbmetal2-init.rsc b/routeros/rbmetal2-init.rsc index e431d56..d10cec3 100644 --- a/routeros/rbmetal2-init.rsc +++ b/routeros/rbmetal2-init.rsc @@ -23,5 +23,11 @@ set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \ bridge wds-mode=disabled wps-mode=disabled radio-name=[/system identity get name] /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik +/interface list +add name=discover +/interface list member +add interface=bridge list=discover +/ip neighbor discovery-settings +set discover-interface-list=discover :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"; diff --git a/routeros/rbmetal5-init.rsc b/routeros/rbmetal5-init.rsc index 5a93101..6b9df85 100644 --- a/routeros/rbmetal5-init.rsc +++ b/routeros/rbmetal5-init.rsc @@ -22,5 +22,11 @@ set [ find default-name=wlan1 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-eCee ssid="Domaine Des Bans" wds-default-bridge=bridge wps-mode=disabled installation=outdoor /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik +/interface list +add name=discover +/interface list member +add interface=bridge list=discover +/ip neighbor discovery-settings +set discover-interface-list=discover :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"; diff --git a/routeros/sxt5ac-init.rsc b/routeros/sxt5ac-init.rsc index ce1ab67..5fe5334 100644 --- a/routeros/sxt5ac-init.rsc +++ b/routeros/sxt5ac-init.rsc @@ -24,5 +24,11 @@ set [ find default-name=wlan1 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-eCee radio-name=[/system identity get name] /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik +/interface list +add name=discover +/interface list member +add interface=bridge list=discover +/ip neighbor discovery-settings +set discover-interface-list=discover :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";