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.

27 lines
1.1 KiB

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