Created
June 24, 2022 21:15
-
-
Save lexfrei/030e6fe2a49dd617613055f31ed71f6b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :local mySSID; | |
| :set mySSID "my ssid"; | |
| :local myPass; | |
| :set myPass "my value"; | |
| /ipv6 settings | |
| set disable-ipv6=yes | |
| /interface bridge | |
| add name=LAN | |
| /interface bridge port | |
| add bridge=LAN interface=all | |
| /ip dhcp-client | |
| add interface=LAN | |
| /interface wireless security-profiles | |
| set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \ | |
| supplicant-identity=MikroTik wpa2-pre-shared-key=$myPass | |
| /interface wireless | |
| set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \ | |
| disabled=no frequency=auto mode=ap-bridge ssid=$mySSID \ | |
| wds-default-bridge=LAN wds-mode=dynamic-mesh | |
| set [ find default-name=wlan2 ] band=5ghz-n/ac channel-width=20/40/80mhz-XXXX \ | |
| disabled=no frequency=auto mode=ap-bridge ssid=$mySSID \ | |
| wds-default-bridge=LAN wds-mode=dynamic-mesh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment