Browse Source

Added :

Powerbox update
Set identify from file
A little wireless tuning
pull/1/head
Julien Escario 5 years ago
parent
commit
c34f9e8571
  1. 8
      routeros/powerbox-init.rsc
  2. 3
      routeros/rbmetal2-init.rsc
  3. 7
      routeros/rbmetal5-init.rsc
  4. 4
      routeros/sxt5ac-init.rsc

8
routeros/powerbox-init.rsc

@ -7,6 +7,7 @@ add bridge=bridge interface=ether2
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
/system identity set name=[/file get flash/name.txt contents]
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge
/ip service
@ -18,3 +19,10 @@ set api disabled=yes
set time-zone-name=Europe/Paris
/system ntp client
set enabled=yes server-dns-names=fr.pool.ntp.org
/system package enable ipv6
/system package update
set channel=long-term
/system package update
check-for-updates once
:delay 5s;
:if ( [get status] = "New version is available") do={ install }

3
routeros/rbmetal2-init.rsc

@ -4,6 +4,7 @@ add name=bridge
/interface bridge port
add bridge=bridge interface=wlan1
add bridge=bridge interface=ether1
/system identity set name=[/file get flash/name.txt contents]
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge
/ip service
@ -19,7 +20,7 @@ set enabled=yes server-dns-names=fr.pool.ntp.org
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
country=no_country_set disabled=no frequency=auto installation=outdoor \
mode=ap-bridge ssid="Domaine Des Bans" wds-default-bridge=\
bridge wds-mode=dynamic-mesh wps-mode=disabled
bridge wds-mode=disabled wps-mode=disabled radio-name=[/system identity get name]
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
:delay 5s

7
routeros/rbmetal5-init.rsc

@ -4,6 +4,7 @@ add name=bridge
/interface bridge port
add bridge=bridge interface=wlan1
add bridge=bridge interface=ether1
/system identity set name=[/file get flash/name.txt contents]
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge
/ip service
@ -16,9 +17,9 @@ 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 frequency-mode=regulatory-domain
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 radio-name=[/system identity get name] \
ssid="Domaine Des Bans" wds-default-bridge=bridge wps-mode=disabled installation=outdoor
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
:delay 5s

4
routeros/sxt5ac-init.rsc

@ -4,6 +4,7 @@ add name=bridge
/interface bridge port
add bridge=bridge interface=wlan1
add bridge=bridge interface=ether1
/system identity set name=[/file get flash/name.txt contents]
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge
/ip service
@ -19,7 +20,8 @@ set enabled=yes server-dns-names=fr.pool.ntp.org
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 frequency-mode=regulatory-domain
wps-mode=disabled frequency-mode=regulatory-domain installation=outdoor \
radio-name=[/system identity get name]
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
:delay 5s

Loading…
Cancel
Save