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 composea 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 of installation is having a powe…

How to Format a Large Hard Drive With FAT or FAT32

32 GB is the file size limit for partitions when formatting with the FAT or FAT32 file system on Windows.What A File System Is & How You Can Find Out What Runs On Your DrivesWhat A File System Is & How You Can Find Out What Runs On Your DrivesREAD MORE Well, as some of you will know, FAT/FAT32 can actually handle up to 16 TB hard drives and up to 2 TB are supported in most operating systems. Microsoft has set a 32 GB partition size limit for the FAT/FAT32 file system to promote NTFS, which is generally more efficient when working with large partitions. In truth, this limitation only exists in recent versions of Windows. Moreover, Windows does recognize large hard drives formatted with FAT/FAT32. Finally, you can circumvent the 32 GB limit. In this article, I will show you how to format a large hard drive with FAT/FAT32 or create a 32+ GB partition with that file system. The Manual Way You don’t need a tool to circumvent the 32 GB partition limit, you can manually format your …

How to Remove Windows Genuine Advantage Notifications

Windows Genuine Advantage (WGA) notifications occur when your computer hasn't passed the validation test. The validation test can be failed due to being sold a pirated (non-genuine) copy of XP, or because you have changed your XP product key to a software-generated key, or sometimes it just happens for no reason at all. The failed validation installs three types of notifications on your computer: one on the log in screen, one log in timer, and one balloon. It also stops updates from Microsoft and disables your ability to install IE7 and Windows Media Player 11. This solution can get rid of all three notifications, even though you will still not be able to update through Windows Update. You will not be able to download things from Microsoft that requires a valid license either. EditSteps
Delete Method 1 If you have only just installed Windows Genuine Advantage notifications, simply using the system restore function will remove the program. Then refuse to accept the WGA update next tim…