You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1019 B

  1. :delay 15s
  2. /interface bridge
  3. add name=bridge
  4. /interface bridge port
  5. add bridge=bridge interface=wlan1
  6. add bridge=bridge interface=ether1
  7. /ip dhcp-client
  8. add dhcp-options=hostname,clientid disabled=no interface=bridge
  9. /ip service
  10. set telnet disabled=yes
  11. set ftp disabled=yes
  12. set www disabled=yes
  13. set api disabled=yes
  14. /system clock
  15. set time-zone-name=Europe/Paris
  16. /system ntp client
  17. set enabled=yes server-dns-names=fr.pool.ntp.org
  18. /interface wireless
  19. set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
  20. country=no_country_set disabled=no frequency=auto installation=outdoor \
  21. mode=ap-bridge ssid="Domaine Des Bans" wds-default-bridge=\
  22. bridge wds-mode=dynamic-mesh wps-mode=disabled
  23. /interface wireless security-profiles
  24. set [ find default=yes ] supplicant-identity=MikroTik
  25. :delay 5s
  26. /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";