Browse Source

Add wifi interface config (once again)

pull/1/head
Julien Escario 5 years ago
parent
commit
b35eab1bc1
  1. 6
      routeros/rbmetal5-init.rsc
  2. 7
      routeros/sxt5ac-init.rsc

6
routeros/rbmetal-init.rsc → routeros/rbmetal5-init.rsc

@ -15,5 +15,11 @@ set api disabled=yes
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=5ghz-a/n/ac channel-width=20/40/80mhz-eCee country=france disabled=no \
frequency=5520 mode=ap-bridge 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";

7
routeros/sxt5ac-init.rsc

@ -15,5 +15,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 wireless
set [ find default-name=wlan1 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-eCee \
country=france disabled=no frequency=5520 mode=ap-bridge \
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";
Loading…
Cancel
Save