Hi,
I have 2 different sites that are set up with capsman (around 10 aps) and hotspot. Both setups were set up with RouterOS v6 and User Manager.
Fast forward today I have upgraded to RouterOS v7 and migrated to UserManager v7. Hotspot setup is untouched. Only thing changed is the migration to UserManager v7.
Now, the problem I face is that since 2-3 months ago, on both setup I am getting DHCP pool of wifi clients consumed and it results to no available IP for clients - followed with relevant error in log.
Currently when it happens, I have to reboot the router in order to empty the DHCP pool, because I can't find a relevant command to reclaim all unused IPs of the pool. It goes without saying that I know this is not solution. I have just been so busy that a quick reboot in order to "fix" it for 1-2 weeks was good enough to keep it going.
Could you please point me to the right direction of where to look to see why the pool is getting exhausted? I have reduced Lease time but nothing changed. I am suspecting it has something to do with hotspot.
I will be able to provide config tomorrow.
UPDATE:
Here is the config. Some parts are removed.
# 2025-08-12 11:57:59 by RouterOS 7.19.3
#
# model = RB4011iGS+
/caps-man channel
add band=2ghz-b/g/n control-channel-width=20mhz name=2GHz
add band=5ghz-a/n/ac control-channel-width=20mhz name=5GHz
/interface bridge
add fast-forward=no name=STAFF port-cost-mode=short
add fast-forward=no name=WLAN port-cost-mode=short
/interface ethernet
set [ find default-name=ether1 ] name=ether1-ISP1
set [ find default-name=ether3 ] name=ether3-Main-Switch
set [ find default-name=ether8 ] name=ether8-1810-Backup-Switc
set [ find default-name=ether9 ] name=ether9-FreePBX
/interface l2tp-server
add name=l2tp-XXXXXXXXXXXX user=XXXXXXXXXXXX
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1-ISP1 name=PPPoE-ISP1 \
use-peer-dns=yes user=ABCD
/interface vlan
add interface=ether3-Main-Switch name=vlan131-Clients vlan-id=131
/caps-man datapath
add bridge=WLAN name=Clients
add bridge=STAFF name=Staff
add bridge=WLAN name=Clients
add bridge=STAFF name=Staff
/caps-man configuration
add channel=2GHz country=greece datapath=Clients mode=ap name=client-2GHz \
ssid=THIS-IS-CLIENTS-SSID
add channel=2GHz country=greece datapath=Clients mode=ap name=client-2GHz \
ssid=THIS-IS-CLIENTS-SSID
add channel=5GHz country=greece datapath=Clients mode=ap name=client-5GHz \
ssid=THIS-IS-CLIENTS-SSID
/caps-man interface
add configuration=client-2GHz disabled=no mac-address=CC:2D:E0:17:9D:41 \
master-interface=none name=2GHz-ABCD-AP-1-1 radio-mac=CC:2D:E0:17:9D:41 \
radio-name=CC2DE0179D41
add configuration=client-2GHz disabled=no mac-address=D4:CA:6D:52:FA:91 \
master-interface=none name=2GHz-ABCD-AP-2-1 radio-mac=D4:CA:6D:52:FA:91 \
radio-name=D4CA6D52FA91
add configuration=client-2GHz disabled=no l2mtu=1600 mac-address=\
CC:2D:E0:76:67:D8 master-interface=none name=2GHz-ABCD-AP-4-1 radio-mac=\
CC:2D:E0:76:67:D8 radio-name=CC2DE07667D8
add configuration=client-2GHz disabled=no l2mtu=1600 mac-address=\
CC:2D:E0:53:FB:3D master-interface=none name=2GHz-ABCD-AP-6-1 radio-mac=\
CC:2D:E0:53:FB:3D radio-name=CC2DE053FB3D
add configuration=client-2GHz disabled=no l2mtu=1600 mac-address=\
CC:2D:E0:53:FA:74 master-interface=none name=2GHz-ABCD-AP-7-1 radio-mac=\
CC:2D:E0:53:FA:74 radio-name=CC2DE053FA74
add configuration=client-2GHz disabled=no l2mtu=1600 mac-address=\
CC:2D:E0:76:67:8D master-interface=none name=2GHz-ABCD-AP-8-1 radio-mac=\
CC:2D:E0:76:67:8D radio-name=CC2DE076678D
add configuration=client-5GHz disabled=no l2mtu=1600 mac-address=\
CC:2D:E0:76:67:D7 master-interface=none name=5GHz-ABCD-AP-4-1 radio-mac=\
CC:2D:E0:76:67:D7 radio-name=CC2DE07667D7
add configuration=client-5GHz disabled=no l2mtu=1600 mac-address=\
CC:2D:E0:53:FB:3C master-interface=none name=5GHz-ABCD-AP-6-1 radio-mac=\
CC:2D:E0:53:FB:3C radio-name=CC2DE053FB3C
add configuration=client-5GHz disabled=no l2mtu=1600 mac-address=\
CC:2D:E0:53:FA:73 master-interface=none name=5GHz-ABCD-AP-7-1 radio-mac=\
CC:2D:E0:53:FA:73 radio-name=CC2DE053FA73
add configuration=client-5GHz disabled=no l2mtu=1600 mac-address=\
CC:2D:E0:76:67:8C master-interface=none name=5GHz-ABCD-AP-8-1 radio-mac=\
CC:2D:E0:76:67:8C radio-name=CC2DE076678C
/caps-man security
add authentication-types=wpa-psk,wpa2-psk encryption=aes-ccm \
group-encryption=aes-ccm name=staff-sec
add authentication-types=wpa-psk,wpa2-psk encryption=aes-ccm \
group-encryption=aes-ccm name=client-sec
/caps-man configuration
add channel=2GHz country=greece datapath=Staff mode=ap name=staff-2GHz \
security=staff-sec ssid=STAFF
add channel=5GHz country=greece datapath=Staff mode=ap name=staff-5GHz \
security=staff-sec ssid=STAFF
/caps-man interface
add configuration=staff-2GHz disabled=no mac-address=CE:2D:E0:17:9D:41 \
master-interface=2GHz-ABCD-AP-1-1 name=2GHz-ABCD-AP-1-1-1 radio-mac=\
00:00:00:00:00:00 radio-name=CE2DE0179D41
add configuration=staff-2GHz disabled=no mac-address=D6:CA:6D:52:FA:91 \
master-interface=2GHz-ABCD-AP-2-1 name=2GHz-ABCD-AP-2-1-1 radio-mac=\
00:00:00:00:00:00 radio-name=D6CA6D52FA91
add configuration=staff-2GHz disabled=no l2mtu=1600 mac-address=\
CE:2D:E0:76:67:D8 master-interface=2GHz-ABCD-AP-4-1 name=\
2GHz-ABCD-AP-4-1-1 radio-mac=00:00:00:00:00:00 radio-name=CE2DE07667D8
add configuration=staff-2GHz disabled=no l2mtu=1600 mac-address=\
CE:2D:E0:53:FB:3D master-interface=2GHz-ABCD-AP-6-1 name=\
2GHz-ABCD-AP-6-1-1 radio-mac=00:00:00:00:00:00 radio-name=CE2DE053FB3D
add configuration=staff-2GHz disabled=no l2mtu=1600 mac-address=\
CE:2D:E0:53:FA:74 master-interface=2GHz-ABCD-AP-7-1 name=\
2GHz-ABCD-AP-7-1-1 radio-mac=00:00:00:00:00:00 radio-name=CE2DE053FA74
add configuration=staff-2GHz disabled=no l2mtu=1600 mac-address=\
CE:2D:E0:76:67:8D master-interface=2GHz-ABCD-AP-8-1 name=\
2GHz-ABCD-AP-8-1-1 radio-mac=00:00:00:00:00:00 radio-name=CE2DE076678D
add configuration=staff-5GHz disabled=no l2mtu=1600 mac-address=\
CE:2D:E0:76:67:D7 master-interface=5GHz-ABCD-AP-4-1 name=\
5GHz-ABCD-AP-4-1-1 radio-mac=00:00:00:00:00:00 radio-name=CE2DE07667D7
add configuration=staff-5GHz disabled=no l2mtu=1600 mac-address=\
CE:2D:E0:53:FB:3C master-interface=5GHz-ABCD-AP-6-1 name=\
5GHz-ABCD-AP-6-1-1 radio-mac=00:00:00:00:00:00 radio-name=CE2DE053FB3C
add configuration=staff-5GHz disabled=no l2mtu=1600 mac-address=\
CE:2D:E0:53:FA:73 master-interface=5GHz-ABCD-AP-7-1 name=\
5GHz-ABCD-AP-7-1-1 radio-mac=00:00:00:00:00:00 radio-name=CE2DE053FA73
add configuration=staff-5GHz disabled=no l2mtu=1600 mac-address=\
CE:2D:E0:76:67:8C master-interface=5GHz-ABCD-AP-8-1 name=\
5GHz-ABCD-AP-8-1-1 radio-mac=00:00:00:00:00:00 radio-name=CE2DE076678C
/interface list
add name=WANs
add name=ActiveAPs
/interface lte apn
set [ find default=yes ] ip-type=ipv4 use-network-apn=no
/interface wifi channel
add band=2ghz-ax disabled=no name=2GHz width=20/40mhz
add band=5ghz-ax disabled=no name=5GHz width=20/40mhz
add band=2ghz-n disabled=no name=2GHz_AC width=20/40mhz
add band=5ghz-ac disabled=no name=5GHz_AC width=20/40mhz
/interface wifi datapath
add bridge=WLAN disabled=no interface-list=ActiveAPs name=Clients vlan-id=131
add bridge=STAFF disabled=no interface-list=ActiveAPs name=Staff
/interface wifi configuration
add channel=2GHz country=Greece datapath=Clients disabled=no name=client-2GHz \
ssid=THIS-IS-CLIENTS-SSID
add channel=5GHz country=Greece datapath=Clients disabled=no name=client-5GHz \
ssid=THIS-IS-CLIENTS-SSID
add channel=2GHz_AC country=Greece datapath=Clients disabled=no name=\
client-2GHz_AC ssid=THIS-IS-CLIENTS-SSID
add channel=5GHz_AC country=Greece datapath=Clients disabled=no name=\
client-5GHz_AC ssid=THIS-IS-CLIENTS-SSID
/interface wifi
# operated by CAP F4:1E:57:DB:3F:76%STAFF, traffic processing on CAP
add configuration=client-2GHz disabled=no name=ABCD-AP-1-2GHz-1 radio-mac=\
F4:1E:57:DB:3F:7C
# operated by CAP F4:1E:57:DB:3F:76%STAFF, traffic processing on CAP
add configuration=client-5GHz disabled=no name=ABCD-AP-1-5GHz-1 radio-mac=\
F4:1E:57:DB:3F:7B
add configuration=client-2GHz disabled=no name=ABCD-AP-2-2GHz-1 radio-mac=\
F4:1E:57:DB:40:B0
add configuration=client-5GHz disabled=no name=ABCD-AP-2-5GHz-1 radio-mac=\
F4:1E:57:DB:40:AF
# operated by CAP 192.168.130.15, traffic processing on CAP
# client was disconnected because could not assign VLAN, maximum VLAN count for interface was reached
add configuration=client-2GHz_AC disabled=no name=ABCD-AP-5-2GHz-1 \
radio-mac=2C:C8:1B:44:78:6C
# operated by CAP 192.168.130.15, traffic processing on CAP
# client was disconnected because could not assign VLAN, maximum VLAN count for interface was reached
add configuration=client-5GHz_AC disabled=no name=ABCD-AP-5-5GHz-1 \
radio-mac=2C:C8:1B:44:78:6D
# operated by CAP F4:1E:57:31:1B:85%STAFF, traffic processing on CAP
add configuration=client-2GHz disabled=no name=ABCD-AP-9-2GHz-1 radio-mac=\
F4:1E:57:31:1B:86
# operated by CAP F4:1E:57:31:1B:85%STAFF, traffic processing on CAP
add configuration=client-5GHz disabled=no name=ABCD-AP-9-5GHz-1 radio-mac=\
F4:1E:57:31:1B:85
/interface wifi security
add authentication-types=wpa2-psk,wpa3-psk disabled=no group-encryption=ccmp \
name=client-sec
add authentication-types=wpa2-psk,wpa3-psk disabled=no group-encryption=ccmp \
name=staff-sec
/interface wifi configuration
add channel=2GHz country=Greece datapath=Staff disabled=no name=staff-2GHz \
security=staff-sec ssid=STAFF
add channel=5GHz country=Greece datapath=Staff disabled=no name=staff-5GHz \
security=staff-sec ssid=STAFF
add channel=2GHz_AC country=Greece datapath=Staff disabled=no name=\
staff-2GHz_AC security=staff-sec ssid=STAFF
add channel=5GHz_AC country=Greece datapath=Staff disabled=no name=\
staff-5GHz_AC security=staff-sec ssid=STAFF
/interface wifi
# operated by CAP F4:1E:57:DB:3F:76%STAFF, traffic processing on CAP
add configuration=staff-2GHz disabled=no mac-address=F6:1E:57:DB:3F:7C \
master-interface=ABCD-AP-1-2GHz-1 name=ABCD-AP-1-2GHz-2
# operated by CAP F4:1E:57:DB:3F:76%STAFF, traffic processing on CAP
add configuration=staff-5GHz disabled=no mac-address=F6:1E:57:DB:3F:7B \
master-interface=ABCD-AP-1-5GHz-1 name=ABCD-AP-1-5GHz-2
add configuration=staff-2GHz disabled=no mac-address=F6:1E:57:DB:40:B0 \
master-interface=ABCD-AP-2-2GHz-1 name=ABCD-AP-2-2GHz-2
add configuration=staff-5GHz disabled=no mac-address=F6:1E:57:DB:40:AF \
master-interface=ABCD-AP-2-5GHz-1 name=ABCD-AP-2-5GHz-2
# operated by CAP 192.168.130.15, traffic processing on CAP
add configuration=staff-2GHz_AC disabled=no mac-address=2E:C8:1B:44:78:6C \
master-interface=ABCD-AP-5-2GHz-1 name=ABCD-AP-5-2GHz-2
# operated by CAP 192.168.130.15, traffic processing on CAP
add configuration=staff-5GHz_AC disabled=no mac-address=2E:C8:1B:44:78:6D \
master-interface=ABCD-AP-5-5GHz-1 name=ABCD-AP-5-5GHz-2
# operated by CAP F4:1E:57:31:1B:85%STAFF, traffic processing on CAP
add configuration=staff-2GHz disabled=no mac-address=F6:1E:57:31:1B:86 \
master-interface=ABCD-AP-9-2GHz-1 name=ABCD-AP-9-2GHz-2
# operated by CAP F4:1E:57:31:1B:85%STAFF, traffic processing on CAP
add configuration=staff-5GHz disabled=no mac-address=F6:1E:57:31:1B:85 \
master-interface=ABCD-AP-9-5GHz-1 name=ABCD-AP-9-5GHz-2
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip dhcp-server option
add code=66 name=option66 value="s'A.B.C.D'"
/ip hotspot profile
set [ find default=yes ] dns-name=hotspot.muses hotspot-address=\
192.168.131.254 http-cookie-lifetime=3h login-by=\
cookie,http-chap,http-pap,mac-cookie use-radius=yes
add dns-name=hotspot.muses2 hotspot-address=192.168.134.254 \
http-cookie-lifetime=3h login-by=\
cookie,http-chap,https,http-pap,mac-cookie name=hsprof1 use-radius=yes
/ip hotspot user profile
set [ find default=yes ] keepalive-timeout=20m mac-cookie-timeout=3h \
shared-users=unlimited
add keepalive-timeout=20m mac-cookie-timeout=1d name=Customers shared-users=\
unlimited
/ip ipsec profile
set [ find default=yes ] dpd-interval=2m dpd-maximum-failures=5 \
enc-algorithm=aes-256,aes-128,3des
add dpd-interval=1m dpd-maximum-failures=5 enc-algorithm=aes-256 \
hash-algorithm=sha256 name=ut_prof nat-traversal=no
add dh-group=modp1024 dpd-interval=2m dpd-maximum-failures=5 enc-algorithm=\
aes-256 hash-algorithm=sha256 name=bts_prof
/ip ipsec peer
add address=PUBLIC.ADDR.OF.UT exchange-mode=ike2 name=ut_peer profile=\
ut_prof
/ip ipsec proposal
set [ find default=yes ] auth-algorithms=sha256,sha1 enc-algorithms=\
aes-256-cbc,3des,des
add auth-algorithms=sha256 enc-algorithms=aes-256-cbc name=ut pfs-group=\
none
add auth-algorithms=sha256 enc-algorithms=aes-256-cbc name=bts pfs-group=\
none
/ip pool
add name=staff-pool ranges=192.168.130.201-192.168.130.254
add name=client-pool ranges=192.168.131.1-192.168.131.100
/ip dhcp-server
add address-pool=staff-pool interface=STAFF lease-time=1d name=staff-dhcp
add address-pool=client-pool interface=WLAN lease-time=1h name=client-dhcp
/ip hotspot
add address-pool=client-pool disabled=no idle-timeout=none interface=WLAN \
name=hotspot-server
/user-manager limitation
add download-limit=4000000B name=Limits upload-limit=1000000B
add download-limit=25000000B name=limit1 upload-limit=2000000B
/user-manager profile
add name="Wifi client" name-for-users="Wifi client" override-shared-users=6 \
starts-when=first-auth validity=unlimited
add name=Teleworkers name-for-users=Teleworkers override-shared-users=2 \
starts-when=first-auth validity=unlimited
/user-manager user
add attributes=Framed-IP-Address:0.0.0.0 name=ms1 shared-users=6
add attributes=Framed-IP-Address:0.0.0.0 name=ms2 shared-users=6
add attributes=Framed-IP-Address:0.0.0.0 name=ms3 shared-users=6
add attributes=Framed-IP-Address:0.0.0.0 name=ms4 shared-users=6
add attributes=Framed-IP-Address:0.0.0.0 name=ms5 shared-users=6
add attributes=Framed-IP-Address:0.0.0.0 name=ms6 shared-users=6
add attributes=Framed-IP-Address:0.0.0.0 name=ms7 shared-users=6
add attributes=Framed-IP-Address:0.0.0.0 name=teleworker shared-users=2
add attributes=Framed-IP-Address:0.0.0.0 name=ms8 shared-users=6
/caps-man access-list
add action=accept allow-signal-out-of-range=10s disabled=no signal-range=\
-90..120 ssid-regexp=""
add action=reject allow-signal-out-of-range=10s disabled=no signal-range=\
-120..-90 ssid-regexp=""
/caps-man manager
set ca-certificate=auto certificate=auto enabled=yes
/caps-man provisioning
add action=create-enabled comment=2GHz hw-supported-modes=gn \
master-configuration=client-2GHz name-format=prefix-identity name-prefix=\
2GHz slave-configurations=staff-2GHz
add action=create-enabled comment=5GHz hw-supported-modes=ac \
master-configuration=client-5GHz name-format=prefix-identity name-prefix=\
5GHz slave-configurations=staff-5GHz
/interface bridge port
add bridge=STAFF ingress-filtering=no interface=ether3-Main-Switch \
internal-path-cost=10 path-cost=10
add bridge=STAFF ingress-filtering=no interface=ether4 internal-path-cost=10 \
path-cost=10
add bridge=STAFF ingress-filtering=no interface=ether5 internal-path-cost=10 \
path-cost=10
add bridge=STAFF ingress-filtering=no interface=ether8-1810-Backup-Switc \
internal-path-cost=10 path-cost=10
add bridge=STAFF ingress-filtering=no interface=ether9-FreePBX \
internal-path-cost=10 path-cost=10
add bridge=STAFF ingress-filtering=no interface=ether10 internal-path-cost=10 \
path-cost=10
add bridge=STAFF ingress-filtering=no interface=ether2 internal-path-cost=10 \
path-cost=10
add bridge=WLAN ingress-filtering=no interface=vlan131-Clients \
internal-path-cost=10 path-cost=10
add bridge=WLAN ingress-filtering=no interface=ether7 internal-path-cost=10 \
path-cost=10
/ip settings
set tcp-syncookies=yes
/interface l2tp-server server
set enabled=yes use-ipsec=yes
/interface list member
add interface=ether1-ISP1 list=WANs
add interface=PPPoE-ISP1 list=WANs
/interface ovpn-server server
add auth=sha1,md5 mac-address=FE:44:72:74:79:2C name=ovpn-server1
/interface wifi access-list
add action=accept allow-signal-out-of-range=10s disabled=no signal-range=\
-90..120
add action=reject allow-signal-out-of-range=10s disabled=no signal-range=\
-120..-90
/interface wifi capsman
set ca-certificate=auto certificate=auto enabled=yes interfaces=STAFF \
package-path="" require-peer-certificate=no upgrade-policy=none
/interface wifi provisioning
add action=create-enabled comment=5GHz disabled=no master-configuration=\
client-5GHz name-format=%I-5GHz-1 slave-configurations=staff-5GHz \
slave-name-format=%I-5GHz-2 supported-bands=5ghz-ax
add action=create-enabled comment=5GHz disabled=no master-configuration=\
client-5GHz_AC name-format=%I-5GHz-1 slave-configurations=staff-5GHz_AC \
slave-name-format=%I-5GHz-2 supported-bands=5ghz-ac
add action=create-enabled comment=2GHz disabled=no master-configuration=\
client-2GHz name-format=%I-2GHz-1 slave-configurations=staff-2GHz \
slave-name-format=%I-2GHz-2 supported-bands=2ghz-ax
add action=create-enabled comment=2GHz disabled=no master-configuration=\
client-2GHz_AC name-format=%I-2GHz-1 slave-configurations=staff-2GHz_AC \
slave-name-format=%I-2GHz-2 supported-bands=2ghz-n,2ghz-g
/ip address
add address=192.168.130.200/24 interface=STAFF network=192.168.130.0
add address=192.168.131.254/24 interface=WLAN network=192.168.131.0
add address=192.168.5.2/24 interface=ether1-ISP1 network=192.168.5.0
/ip cloud
set ddns-enabled=yes ddns-update-interval=5m
/ip dhcp-server lease
add address=192.168.130.247 mac-address=70:5A:0F:A4:04:E1 server=staff-dhcp
/ip dhcp-server network
add address=192.168.130.0/24 dhcp-option=option66 dns-server=1.1.1.1,1.0.0.1 \
gateway=192.168.130.200 netmask=24
add address=192.168.131.0/24 dhcp-option=option66 dns-server=\
192.168.131.254,1.1.1.1,8.8.8.8 gateway=192.168.131.254 netmask=24
/ip dns
set allow-remote-requests=yes servers=1.1.1.1,1.0.0.1
/ip firewall address-list
[REMOVED, irrelevant]
/ip firewall filter
[REMOVED, irrelevant]
/ip firewall raw
[REMOVED, irrelevant]
/ip firewall service-port
[REMOVED, irrelevant]
/ip hotspot ip-binding
add address=192.168.130.30 type=bypassed
/ip hotspot user
add name=hotel-manager server=hotspot-server
add name=user-test server=hotspot-server
/ip hotspot walled-garden
add comment="place hotspot rules here" disabled=yes
/ip hotspot walled-garden ip
add action=accept disabled=no !dst-address !dst-address-list dst-host=\
192.168.130.30 !dst-port !protocol !src-address !src-address-list
/ip ipsec identity
[REMOVED, irrelevant]
/ip ipsec policy
[REMOVED, irrelevant]
/ip route
add disabled=no distance=10 dst-address=0.0.0.0/0 gateway=192.168.5.1
/ip service
[REMOVED, irrelevant]
/ppp secret
[REMOVED, irrelevant]
/radius
add address=192.168.130.200 require-message-auth=no service=hotspot timeout=\
300ms
/radius incoming
set accept=yes
/routing bfd configuration
add disabled=no interfaces=all min-rx=200ms min-tx=200ms multiplier=5
/system clock
set time-zone-name=Europe/Athens
/system identity
set name=Ms
/system ntp client
set enabled=yes
/system ntp client servers
add address=194.177.210.54
add address=193.239.214.227
/system resource irq rps
set sfp-sfpplus1 disabled=no
/system scheduler
[REMOVED, irrelevant]
/system script
[REMOVED, irrelevant]
/tool netwatch
add disabled=no down-script=":local status \"DOWN\"\r\
\n:local previousMessage [/file get internetlog.txt contents]\r\
\n:local newMessage ([/system/clock/get date ].\" \".[/system/clock/get ti\
me ].\" \".\$status.\"\\r\\n\")\r\
\n\r\
\n:local contents (\$previousMessage.\$newMessage)\r\
\n/file set internetlog.txt contents=\$contents" host=8.8.8.8 http-codes=\
"" interval=20s name=check_ISP1 packet-count=10 packet-interval=1s \
test-script="" type=icmp up-script=":local status \"UP\"\r\
\n:local previousMessage [/file get internetlog.txt contents]\r\
\n:local newMessage ([/system/clock/get date ].\" \".[/system/clock/get ti\
me ].\" \".\$status.\"\\r\\n\")\r\
\n\r\
\n:local contents (\$previousMessage.\$newMessage)\r\
\n/file set internetlog.txt contents=\$contents"
/tool romon
set enabled=no
/user aaa
set use-radius=yes
/user-manager
set certificate=*0 enabled=yes require-message-auth=no use-profiles=yes
/user-manager router
add address=192.168.130.200 name=hotspot
/user-manager user-profile
add profile="Wifi client" user=ms1
add profile="Wifi client" user=ms2
add profile="Wifi client" user=ms3
add profile="Wifi client" user=ms4
add profile="Wifi client" user=ms5
add profile="Wifi client" user=ms6
add profile="Wifi client" user=ms7
add profile=Teleworkers user=teleworker
add profile="Wifi client" user=ms8