My MikroTik Hotspot Login Page Web Browser Did Not Send a Challenge Response (Try Again, Enable JavaScript) – Here How I Do Solve This Problem

It has been a long time since I last worked with MikroTik.

Ever since I became a security camera technician, I have hardly touched MikroTik at all. However, I recently took on the task of configuring a MikroTik device to set up a hotspot network at a local hotel. I usually serve as an on-call technician for the hotel’s security camera system, but one day, the manager asked me to set up a hotspot network for the property. I agreed to give it a try.

This is the story of how I configured that hotspot network using MikroTik. Additionally, the MikroTik device will also be used to provide internet connectivity for the hotel’s security camera system.

Error Message Appears, Unable to Connect to Hotspot Network

At first, I configured the MikroTik Hotspot the same way I had done it before, about three years ago. After enabling the Hotspot, I tried to access the login page, but an error appeared:

“Hotspot Web Browser did not Send a Challenge Response (Try Again, Enable JavaScript).”

I searched online for a solution and found one suggested fix:

  • Change the Login By setting from HTTP CHAP to PAP.

However, after trying this setting, the same error still appeared when I entered my Hotspot username and password. I searched online again for other ways to fix the problem, but I couldn’t find anything different. Every article I came across suggested the same solution: changing the Login By setting from HTTP CHAP to PAP.

Since I couldn’t find a solution online, I decided to ask a friend who is quite experienced with MikroTik configuration. He told me that I needed to upgrade the MikroTik operating system because RouterOS version 6.40.5 no longer supports the Hotspot feature.

How I Upgraded MikroTik RouterOS from Version 6.40.5 to 6.49.23

After talking with my friend, I decided to give the RouterOS upgrade a try. For this guide, I’m using a MikroTik RB951Ui-2nD running RouterOS 6.40.5.

Here’s how I upgraded it to RouterOS 6.49.23:

How to Upgrade MikroTik OS

Before accessing the MikroTik configuration page, I first reset the device to its factory default settings. This removed the previous configuration and restored the default IP address, 192.168.88.1. I then opened a web browser, entered 192.168.88.1 in the address bar, and pressed Enter. The MikroTik configuration page appeared, allowing me to start the setup.

There are two ways to reset a MikroTik router:

  1. Using the Reset Button: Press and hold the Reset button on the MikroTik for a few seconds until the USR LED starts flashing.
  2. 2. Through the Configuration Menu: If you’re already logged in to the MikroTik configuration page, go to System > Reset Configuration and follow the on-screen instructions.

Since the device has just been reset, I can access the built-in configuration page without needing to enter a password by opening its default IP address, 192.168.88.1, in a web browser.

Next, I went to System > Packages and clicked the Check For Updates button.

On the Updates page, MikroTik showed that the latest available RouterOS version for my device was 6.49.23. I then clicked Download & Install to start downloading and installing the update. Wait for the process to finish.

Once the installation is complete, the MikroTik device will automatically reboot.

Note: Besides fixing bugs, updating MikroTik RouterOS also allowed me to access the configuration page using Winbox. Before the update, I couldn’t get past the login screen. Winbox would get stuck while displaying an authentication message.

Reconfiguring MikroTik Hotspot: I Can Finally Log In Successfully!

Previously, I configured the MikroTik Hotspot through a web browser, but I found the process quite difficult. The menu layout looks very different compared to Winbox, so I decided to use Winbox for the new configuration.

After opening the MikroTik configuration page in Winbox, I went straight to the Hotspot settings and started the setup process from scratch.

How to Set Up a Hotspot on MikroTik

First, go to IP > Hotspot in the configuration menu.

Click the Hotspot Setup button to start the setup wizard. Here are the settings I used during the Hotspot Setup process:

  • Hotspot Interface: Ether3 – I chose Ether3 (port 3) as the interface for distributing the Hotspot network.
  • Local Address of Network: This field was automatically filled with the IP address assigned to Ether3.
  • Masquerade Network: Check this option.
  • Address Pool Network: MikroTik automatically generated an IP address range based on the Ether3 network, from 192.168.20.2 to 192.168.20.254. You can adjust this range to suit your needs.
  • Select Certificate: None.
  • IP Address of SMTP Server: 0.0.0.0.
  • DNS Name: hotspot.cctvmanuals.com – You can enter any DNS name you prefer.
  • Name of Local Hotspot User: cctvmanual.
  • Password for the User: cctvmanuals.

Once you’ve entered all the settings, click Next until the setup process is complete.

Mikrotik Hotspot Settings

Adjusting the Hotspot Login Settings

To prevent the “Hotspot Web Browser Did Not Send a Challenge Response (Try Again, Enable JavaScript)” error from appearing again, I also adjusted the Hotspot login settings.

Go to the Server Profiles tab and select the profile used by your Hotspot.

Next, open the Login tab.

For my configuration, I enabled these three login methods:

  • HTTP CHAP
  • HTTP PAP
  • HTTPS
Configuring Mikrotik Hotspot Login By

I Tested the MikroTik Hotspot Login Page After Reconfiguring It

Before deploying the Hotspot at the hotel, I wanted to test it first to make sure my MikroTik configuration was working properly.

I connected port 3 on the MikroTik router to one of the hotel’s available access points (AP). Next, I picked up my phone and connected to the hotel’s Wi-Fi network. The Hotspot login page appeared automatically. I entered my Hotspot username and password, and this time, I was able to log in without any problems. My phone also successfully received internet access through the MikroTik Hotspot.

With these settings, I was able to set up a simple Wi-Fi Hotspot network for the hotel using MikroTik.

The “Hotspot Web Browser Did Not Send a Challenge Response (Try Again, Enable JavaScript)” error no longer appeared either.

After successfully setting up the Hotspot, I also configured the remaining MikroTik ports to provide internet access to the hotel’s security camera system. The hotel uses a Hikvision analog CCTV system with around 32 cameras.

Conclusion

So, are you interested in setting up a Wi-Fi Hotspot for your hotel?

You can follow the steps in this guide, which are based on my own experience. After running into problems during my first attempt, I learned that configuring a MikroTik Hotspot requires careful attention to detail. Even a small configuration mistake can prevent users from logging in to the Hotspot network.

Before getting started, make sure your MikroTik device is running the latest available RouterOS version for your model. Keeping RouterOS up to date can help prevent bugs and issues, such as being unable to log in through Winbox.

I hope this guide helps you set up your own MikroTik Hotspot. Good luck, and happy configuring!

Leave a Comment