DMA Softlab Radius Manager: Different Bandwidth for Day & Night
Problem:-
We have created a 512k service for the users, In late-night, our bandwidth is usually not much used because only a limited number of users use the internet in late timings. Therefore we want to increase users bandwidth from 512k to 1MB automatically at night 12:00 am till 12:00 pm
we will divide this article into three sections.
1) Mikrotik Section (For Adding API):
2) Radius Manager Section (For Adding API):
3) Adding Service & Plan in Radius Manager:
Mikrotik Section (For Adding API):
We have to first configure API both in Mikrotik & DMASOFTLAB RM Panel.
Goto IP > Services & enable API service.
As showed in the image below . . .
Now create API user so it can be used by RM to connect to MT.
Goto SYSTEM > USERS and add new user by click on + icon.
User name = api
Password = api (or anything else)
As showed in the image below . . .
Radius Manager Section (For Adding API):
Open Radius Manager Admin Panel,
Goto NAS > LIST NAS
Select your Mikrotik NAS
Click on ENABLE MIKROTIK API
Define API user name & Password that we added in mikrotik section.
As showed in the image below . . .
Adding Service & Plan in Radius Manager:
First Create a normal service profile (512k) using Radius Manager Admin Panel.
As showed in the image below . . .
Now Click on EDIT button on Special Bandwidth Periods section at the bottom of the page . . .
As showed in the image below . . .
.
Now click on NEW PERIOD
As showed in the image below . . .
Enter your desired timings (in this example I used night 12 till day 12) in which you want to allow excess/reduced bandwidth. After done, click on ADD PERIOD
As showed in the image below . . .
After You see the new Special Bandwidth Periods close this popup window.
As showed in the image below . . .
.
Click on the UPDATE SERVICE on main service window.
Now create any user and test it by modifying timings (for test or quick results)
As showed in the image below . . .
.
Important Note: [updated as of Year 2016]
DMA 4.1.x change on the fly
may not work with ver 6.30 or above. so try this with 6.29 first.
Thanks to Syed Jahanzaib -> https://aacable.wordpress.com/