Browse Source

Fix interface discover on bridge only

pull/1/head
Julien Escario 5 years ago
parent
commit
414f608408
  1. 6
      routeros/powerbox-init.rsc
  2. 6
      routeros/rbmetal2-init.rsc
  3. 6
      routeros/rbmetal5-init.rsc
  4. 6
      routeros/sxt5ac-init.rsc

6
routeros/powerbox-init.rsc

@ -19,6 +19,12 @@ set api disabled=yes
set time-zone-name=Europe/Paris set time-zone-name=Europe/Paris
/system ntp client /system ntp client
set enabled=yes server-dns-names=fr.pool.ntp.org 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 enable ipv6
/system package update /system package update
set channel=long-term set channel=long-term

6
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] bridge wds-mode=disabled wps-mode=disabled radio-name=[/system identity get name]
/interface wireless security-profiles /interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik 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 :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"; /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";

6
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 ssid="Domaine Des Bans" wds-default-bridge=bridge wps-mode=disabled installation=outdoor
/interface wireless security-profiles /interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik 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 :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"; /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";

6
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] radio-name=[/system identity get name]
/interface wireless security-profiles /interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik 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 :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"; /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";
Loading…
Cancel
Save