On MikroTik routers, when you configure multiple HotSpots, each HotSpot has its own configuration and associated files, including login pages, error page templates, and other custom files.
However, in terms of file structure within the MikroTik RouterOS file system, separate “folders” are not necessarily created for each HotSpot in the traditional way you might expect on an operating system like Windows or macOS.
We explain how MikroTik handles multiple HotSpot configurations:
HotSpot Settings
When you configure multiple HotSpots on a MikroTik router, each configuration is stored in the HotSpot section of RouterOS. Each HotSpot can be configured individually via the command line interface (CLI) or via WinBox or WebFig. Each HotSpot has its own profile, which includes authentication settings, user settings, time and data limits, etc.
HotSpot Files
As for HotSpot-related files, such as login pages, MikroTik uses a file storage system that does not rely on “folders” for each HotSpot.
Instead, files are generally stored in the file repository (Files
) from RouterOS.
If you need to have custom login pages for each HotSpot, you must manually manage these files, ensuring that each HotSpot's configurations point to the corresponding file.
Page Customization
You can customize login pages and other html/css files for each HotSpot by assigning different files to each HotSpot configuration. This is done by specifying different file names in the configuration of each HotSpot. For example:
/ip hotspot profile
set [find name="profile1"] hotspot-address=192.168.10.1 html-directory=hotspot1
set [find name="profile2"] hotspot-address=192.168.20.1 html-directory=hotspot2
In this example, hotspot1
y hotspot2
These would be directories or file paths within the MikroTik file system where the specific files for each HotSpot are stored. You must upload the necessary files to these locations using tools such as WinBox or FTP.
Conclusion
So, in summary, although separate folders are not automatically created for each HotSpot in RouterOS, you can organize and manage separate files for each HotSpot by carefully managing file and directory names in each HotSpot's profile settings.
This allows you to maintain specific customization and configuration for multiple HotSpots within the same MikroTik device.
There are no tags for this post.