Skip to main content

How to Overcome the "No More Sessions are allowed for User Hotspot Mikrotik"

Login Error Message Hotspot Mikrotik there are many. In his prior articles we have reviewed about the Explanation of Error Message in Mikrotik Hotspot Login page. This time we will discuss one of Message Error during log Hotspot Mikrotik, namely No More Sessions are allowed for User $ (username).




Why does the error message no more sessions are allowed for user $ (username) should be discussed?
Because of this error message is quite often appear at hotspot user login, especially if you use the same username and password for many people.

Why no more sessions are allowed for user $ (username) can arise?
From the translation into Indonesian we already know that: there is no more sessions are allowed for this username. So here username to be used by a user had no sessions will be allowed to be used by the Server Hotspot user login. This is caused by the configuration of the proxy hotspot on the shared user is limited, while users who want to log more than shared user specified by mikrotik hotspot settings.

How to cope with no more sessions are allowed for user $ (username)?

Basically hotspot user management on mikrotik twofold user default hotspot management that we can access the IP menu -> Hotspot -> Tab Users and User Profiles tab. Please Read How to Make Mikrotik Hotspot: Hotspot Mikrotik basic settings .


It also can use User Manager at the RADIUS server. Please Read here: How to Install and Settings User Manager Mikrotik .

Well, both user management features that have constraints no more sessions are allowed for user $ (username) is similar, but how to handle it differently.

How to Solve Error Message no more sessions are allowed for user $ (username) in the User Management Hotspot Mikrotik

1. If you find this error message before it can log into the hotspot, please connect to WiFi Hotspot without login. Then open Winbox and login via the Mac Address.

Mengatasi Pesan error no more sessions are allowed

2. Keep diperhatiakan, if you are not logged Hotspot Mikrotik then would config using Winbox via IP Address will not be able to. Because there are dynamic firewall rules that block access. So please login via MAC Address Mikrotik.

3. Once logged in, please enter the IP manu -> Hotspot -> User Profiles -> Select User Profile is used.

Cara Mengatasi "No More Sessions are Allowed for User Hotspot Mikrotik"
4. Examine the option of Shared Users Mikrotik . Make sure the number of its users shared more than the number of users logged diperblehkan. Because if his number is limited, other users will find an error message no more session and can not login.

How to Solve Error Message no more sessions are allowed for user $ (username) in the User Manager RADIUS Server

In contrast to the previous way, to address no more sessions are allowed for user $ (username) in the User Manager RADIUS servers can not only be done by adding the Shared User Settings User Manager only. Still, Shared option Users must be filled according to usage.

Mengatasi No more sessions are allowed User Manager

In the picture above, Shared User to user profile I set into unimited guests. So regardless of guests who want access SHOULD be served well with no problem login (Except IP Address allocation is exhausted). But in fact not the case.

Although Shared Users in the User Manager in the set Unlimited, Active session (sessions) a user is logged remain stored for a long time and considered actively. In fact, the user had not connect hotspot (inactive). This will lead to the user is considered active and when the user is disconnected and want to connect again or a new user is going to log so you can not, and the error message no more sessions are allowed for user $ (username).
The problem can be resolved by removing Active user session manager via the Sessions menu. But the yes every time there is an error that we have to clear inactive user sessions, tired right? Moreover, if the user of his many, his work every day can only clear inactive session aja: D
Remove Sessions pada User Manager Mikrotik
So, to overcome this we can take advantage of scripts that run on a scheduled basis (automatic). We will use the tool to Mikrotik Script & Scheduler.
Menambahkan Script Auto Remove Session User Manager Mikrotik
Please copy and paste the following script on Manu System -> Scripts
  # Script Source: Mikrotik Forums
 # Script Starts Here.
 # Setting Timeout in Seconds
 # Timeout in Seconds, when the session update is older -> closed session
 : Local Timeout 60
 
 # ------------------------------------------
 : Local LastSessionUpdate;
 : Local SessionTimeout;
 : Foreach i in = [/ tool user-manager session find where active = yes] do = {
 
 # When was the last update of the session-informations
 : Set LastSessionUpdate [/ tool user-manager session till i get $-time]
 
 # SessionTimeout is a value that Tells me how many seconds ago the last update of this session was
 : Set SessionTimeout ([system clock get time] - [: $ LastSessionUpdate pick ([: find $ LastSessionUpdate ""] + 1) [: len $ LastSessionUpdate]] - [/ system clock get gmt-offset])
 
 # If last update is more then Timeout seconds ago then close the session and log it
 : If ($ SessionTimeout> $ Timeout) do = {
 / Tool user-manager session remove numbers = $ i
 : Warning log ( "Removed false Username is active session". [/ Tool user-manager user session get $ i]);
 }
 } 
Then run the script automatically using the Scheduler.
Please set the interval how long his script will be executed automatically. Set the interval in accordance with the load of your router. For example at a load of about 150+ users on the low end routers, scheduled for every 5 minutes. Because this script may take some time to do the calculation of each user. So stay just adjust your Mikrotik Router spec.

By doing these two issues Mikrotik Tutorial No More Sessions are allowed for Users on Mikrotik Hotspot can be overcome. I myself have tried to the User Manager and 100% Work, will no longer appear no more error messages when the user login session.

Comments

Popular posts from this blog

Advantages and Disadvantages of Wireless CCTV Camera

Advantages and Disadvantages of Wireless CCTV Camera Before choosing what CCTV Camera system to get, sometimes the customers stumble upon the following question: should I choose wired or wireless CCTV camera? What are the pros and cons of wired and wireless CCTV cameras? As you might have guessed, none of the options available are perfect, so it mostly comes down to your personal preferences. But to make your buying decision easier, Have compose   a comprehensive list of what you can expect from each type of device, both positives, and negatives. Note that a wireless CCTV camera has to be a digital IP Camera, as only digital signal can be transmitted wireless. Advantages of Wireless CCTV Camera. 1. Easier installation Wireless IP Camera. This is especially important if you want to do it yourself. That way, you will save time and also ensure that you’re going to be capable of doing it in the first place. In a typical scenario, all you have to worry about in terms o

How to Disable Windows 10 Update

Windows 10 Forces Me to Update "Every time I try to shut down my computer, I was forced to update my Windows 10. But I really don't want to update my operating system because the automatic update might take up the system and network resources. Is there anybody can help me solve this problem and disable Windows 10 update? Thanks in advance." Whenever you are faced with Windows 10's automatic update notification like: Install updates automatically  Download Updates but choose when to install them Check for updates but let me choose whether to download and install them What would you do? Here, we have the following solutions. All solutions to disable Windows 10 update: Solution 1. Disable Windows Update Service Solution 2. Change the Setting of the Group Policy Editor Solution 3. Meter Your Network Connection Solution 4. Change the Way of Windows 10 Updates Using Registry Tips Before proceeding with the four solutions to fully stop Windows 10 upd