I suspect the problems are due to a conflict over IP addresses but who am I to have an idea. The fact that it starts working and then stops.
Anyway, here’s the full config file (note that I initially reserved some address ranges for wlan2 but this is useless – I suppose I would need to also change what’s in dhcp-server, but I don’t really care; I also later added ether3 and ether4 to bridge1, so only ether2-master is outside bridge1 --and wlan2):
# apr/13/2018 19:55:55 by RouterOS 6.41.4
# software id = QR8H-LU9F
#
# model = RouterBOARD 952Ui-5ac2nD
# serial number = 71AF0746BB61
/interface bridge
add admin-mac=64:D1:54:86:44:26 auto-mac=no comment=defconf name=bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether2 ] name=ether2-master
/interface list
add exclude=dynamic name=discover
add name=mactel
add name=mac-winbox
add name=WAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
dynamic-keys supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk management-protection=allowed mode=\
dynamic-keys name=hadesprof supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk management-protection=allowed mode=\
dynamic-keys name=hephaistosprof supplicant-identity=MikroTik
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
country=france disabled=no distance=indoors frequency=auto mode=ap-bridge \
security-profile=hadesprof ssid=Hades wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
20/40/80mhz-Ceee country=france disabled=no distance=indoors frequency=\
auto mode=ap-bridge security-profile=hephaistosprof ssid=Hephaistos \
wireless-protocol=802.11
/ip hotspot profile
set [ find default=yes ] dns-name=login.cerbere.net hotspot-address=10.5.50.1 \
html-directory=flash/hotspot login-by=http-chap name=hotprofile
/ip hotspot user profile
set [ find default=yes ] name=admin_profile
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
add name=hs-pool-9 ranges=10.5.50.2-10.5.50.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
add address-pool=hs-pool-9 disabled=no interface=bridge1 lease-time=1h name=\
dhcp1
/ip hotspot
add address-pool=hs-pool-9 addresses-per-mac=1 disabled=no idle-timeout=none \
interface=bridge1 name=kerberos
/ip hotspot user profile
add address-pool=hs-pool-9 !idle-timeout !keepalive-timeout name=userprofile \
shared-users=unlimited transparent-proxy=yes
/interface bridge port
add bridge=bridge comment=defconf interface=ether2-master
add bridge=bridge1 comment=defconf hw=no interface=wlan1
add bridge=bridge comment=defconf hw=no interface=wlan2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
/ip neighbor discovery-settings
set discover-interface-list=discover
/interface list member
add interface=ether2-master list=discover
add interface=ether3 list=discover
add interface=ether4 list=discover
add interface=ether5 list=discover
add interface=wlan1 list=discover
add interface=wlan2 list=discover
add interface=bridge list=discover
add interface=bridge1 list=discover
add interface=bridge list=mactel
add interface=bridge list=mac-winbox
add interface=ether1 list=WAN
/ip address
add address=192.168.88.1 comment=defconf interface=ether2-master network=\
192.168.88.0
add address=192.168.88.1/24 interface=wlan2 network=192.168.88.0
add address=10.5.50.1/24 comment="hotspot network" interface=bridge1 network=\
10.5.50.0
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=\
ether1
/ip dhcp-server network
add address=10.5.50.0/24 comment="hotspot network" gateway=10.5.50.1
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=10.1.101.1
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept established,related" \
connection-state=established,related
add action=drop chain=input comment="defconf: drop all from WAN" \
in-interface=ether1
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related" \
connection-state=established,related
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface=ether1
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="defconf: masquerade" \
out-interface=ether1
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=10.5.50.0/24
/ip hotspot user
add name=admin
add limit-bytes-total=1000000000 limit-uptime=4h name=jules profile=\
userprofile server=kerberos
/system clock
set time-zone-name=Europe/Paris
/system scheduler
add interval=1d name=sched_reset_counters on-event=resetcounters policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-date=apr/02/2018 start-time=00:00:00
add interval=1d name=sched_hades_on on-event=hades_on policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-date=apr/13/2018 start-time=07:00:00
add interval=1d name="sched_ hades_off" on-event=hades_off policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-date=apr/13/2018 start-time=21:00:00
/system script
add name=resetcounters owner=admin policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
"/tool user-manager user\
\nreset-counters"
add name=hades_on owner=admin policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
"interface wireless enable wlan1"
add name=hades_off owner=admin policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
"interface wireless disable wlan1"
/tool mac-server
set allowed-interface-list=mactel
/tool mac-server mac-winbox
set allowed-interface-list=mac-winbox