MikroTik routers: configuration of a WiFi hotspot with login page

If you have ever tried to configure a Mikrotik hotspot, you probably know that it can take long and it the Winbox interface is not very easy to use.