simulating Internet for Hotspot

Hi all,

On and off I take a spare RB300 from work with me home to work on it for a hotspot. As I have no Internet connection at home I can only connect to the SSID. However if I open a webpage I see nothing, not even the alogin.html

Is there a way I could “simulate” the Internet that the alogin is shwon when connecting?

Thanks
Chris

The reason is that DNS resolution is not working.

In RouterOS 3.x you can fake that using static DNS entries with regex-based names, so e.g. resolve everything to localhost with a dns static entry for “.*” pointing to “127.0.0.1”.

This will bring up your hotspot login screen.
But don’t expect to create a portable version of the internet that way :smiley:

Hi Christian,

Can you give me a clue qhich command I have to enter in CLI to make a static DNS?

ip dns static> add name http://www.example.com address=127.0.0.1

But how can I perform that “.*” is routed to 127.0.0.1 afterwards, or is this done automaticlly?

Thanks,
Chris

Hi Chris,

it’s simple:

/ip dns static add name=.* address=127.0.0.1

That’s all to do…