Please be informed that you can get better installation instructions in details from DMASOFTLAB official manual. This guide is a extracted version of original manual with my custo modifications. Please consult with the original manual and DMA helpdesk for official support. I have no affiliation with the DMA, its just my personnel experience you are reading in this guide. It can be wrong, or might not be working as per your requirements. Just drop me an message or email for any correction or modification if required.

▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲

If you have 64bit OS, then you have to download compatible 64bits packages from the dmasoftlab download section, just note down the 32bit files in this guide, and download 64bit version of same package from the DMA page.

After you have installed Ubuntu, configure IP address and enable internet access on it.

Now open Terminal Window and issue the below command to install required Modules. but make sure you do update ubuntu before doing any further process.

↓

↓

Start RADIUS MANAGERInstallation script

Execute the installation Script . . .

(If you are new to radius manager installation, use default password scheme, it will save you from few headaches, BUT later on as you will get familiar with the system, CHANGE the default passwords as its risk to use default password)

./install.sh

Now the install script will ask few questions . . . Select answers as per your local design.

For example:Select the Operating System2
(For Ubuntu)

Select Installation type:1(New Installation)

WWW root path:
Press Enter to select the Default , which is /var/www

Radius Database host:
Press Enter to select the Default , which is localhost

Radius Database username:
Press Enter to select the Default , which is radius

Radius Database password:
Press Enter to select the Default , which is radius123

CTS Database host:
Press Enter to select the Default , which is localhost

CTS database username:
Press Enter to select the Default , which is conntrack

CTS database password:
Press Enter to select the Default , which is conn123

Freeradius UNIX User:
Press Enter to select the Default , which is root

Httpd Unix User:
Press Enter to select the Default , which is www-data

▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲

Part-3 # RESTORE FROM BACKUP

▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲

If somehow your server crashes, and you got to re-built it from scratch , you can restore the database using below procedure. (To simplify things, use the same OS)

1) Install OS (Same as previous one, in this example Ubuntu)
2) Install RM with the same same config you used for previous installation, e.g: radius db passwords and folders locations
3) Restore all the folders from the backup to there original locations.(backup that taken in part-2 backup part)
by using command in / folder (main root folder)

tar zxvf full_data.tgz (or file name)

4) Now its time to restore mysql radius DB, use the below command to restore DB in mysql.

While generating prepaid cards, it gets stuck

The OP reported that while generating prepaid cards, the browser stucks, and the card does not generate. After enabling the mysql.log I observed that it was looping through the rm_cards table. The system had 11000 Cards users and 7000 users were expired and remained there from long time. I used following script to clean them up.

Thank you for your wonderful guide brother. I have installed Radius Manager, but can’t see to get MAC authentication to work. Specifically, when enter the MAC address as the username, it keep insisting I enter a password. Obviously, I should not have to for MAC authentication. Any help is much appreciated. Jazak Allah Kheir.

It is stored under RADIUS database of mysql. I recommend you to install phpMyadmin on RM box, and use its GUI to access DB and modify it carefully as per your requirements. Just make sure you do full backup of DB before any modification 🙂 I had some bad experience by accidentally corruption.

‘yourpass‘ means type any password you like to use. it will be your security, so choose wisely. or just go plain for test purposes. like
testing123
😉
but make sure not to use simple password on production environment.

Dear Viktor, Thank you for pointing errors in the guide.
I will re check it. Actually I said earlier that Its a working guide and I have install few RM installation by using this tutorial. Possibly it may have errors, I will surely check it in free timings and will update it soon.

I will re check it again. Actually I said earlier that Its a working guide and I have installed few RM installation by using this tutorial. Possibly it may have errors, I will surely check it in free timings and will update it soon.

salam alaekom ,, i can’t access http://serverip/radiusmanager/admin.php ,,, and i can’t connect with any user from radiusmanager but i can access with user from MT , when i try to connect to my ACP radius .. squid block me ?? plz help

Very nice Guide , However the link to install the freeradius patch doesnt exist on the dmasoftlab download section, One more thing , the lic.txt file must be at 775 permission to run the admin.php, else a blank page, Thanks

I am trying to install on Ubuntu 14.04 LST and I am getting below error.

Can you please help me to resolve that.

Below are my system specification

Ubuntu Server 14,04
PHP 5.5.9
ionCube : 5.5
FreeRadius 2.2.0

When I am trying to access admin page of radiusmanager I am getting below error

[Sun Feb 01 17:07:03.910138 2015] [:error] [pid 5427] [client ::1:53580] PHP Fatal error: The file /var/www/radiusmanager/admin.php was encoded by the ionCube Encoder for PHP 4 and cannot run under PHP 5.5 or PHP 5.6.\\n Please ask the provider of the script to provide a version encoded with the ionCube Encoder for either PHP 5.3 or PHP 5.4 or PHP 5.5. in Unknown on line 0

root@LocalRadius:/temp# apt-get install mc wget rcconf make gcc mysql-server mysql-client libmysqlclient15-dev libperl-dev curl php5 php5-mysql php5-cli php5-curl php5-mcrypt php5-gd php5-snmp
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package make is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Everything is working. Radius Manager is installed, License File updated, NAS are configured in both mikrotik & RM… but when i make a new user in RM and after authenticating the user form a Client End, No IP is assigning 0.0.0.0 … however when I make a user from mikrotik… Its get the IP Address from DHCP Pool.

Hello,
Thank you for your info here, it was very very helpful for me. I installed radius manager v 4.1.6 but I have 1 big and 1 small issue and maybe someone can help me.
The big issue is that i have to migrate manually a lot of customers with user/pass, ip,e-mail, phone, addresses etc etc.
The billing software that i was using had a username generator and all the usernames are in capital both in Mikrotik and in customers routers. Ex. HS7NMILZ.

Radius manager does not support capital characters by default in the username section so i tried to change the system_cfg.php:
define(‘regexp_username’, ‘/^[a-z0-9._!@#$%&*]+$/’);
to define(‘regexp_username’, ‘/^[AZa-z0-9._!@#$%&*]+$/’);

but with no results. It was saving the clients with small characters like no change was made.

I also tried:
define(‘regexp_username’, ‘/^[A-Z0-9._!@#$%&*]+$/’); and then it was saying Invalid Username.

Has anyone any idea how i can solve this?
I’m having a big trouble bcz changing all usernames is a real mess right now.

The other “small” problem is that the password after saving a customer is not shown in the edit customer section, it is full of asterix ******* so the only option is to change the password.
How can i make the password visible at this point?

Hello. I used radius manager dma softlab. My network card died so I can’t access the admin page anymore. Changing card is not an option. I don’t plan to use radius manager anymore but i need information that i have input about users. Is there some way to access this data on the existing computer (centos)? If not, can i somehow open database of the radius in a different way? Someone else installed radiusmanager. That person is not available for assistance and I don’t know any expert I could contact for help.

if you ahve mysql backup, then its easier to see the data in .sql file.
if you dont have backup, then you have to take the LONG route, by installing mysql again, and import the files from the old data.

Hello good day.
I have a problem within radiusmanager , every time I try to change a system configuration , the following message appears me : Incorrect integer value: ‘ ‘ for column ‘ unixacc ‘ at row 1

I also different error messages appear when configuring anything that is by adding a service or user.

My Radius Manager is working fine, I need to make the Mikrotik WAN to be static because it picks new ip address anytime it come up and this disconnects with the Radius Manager. Please help me with a mikrotik script to make static WAN. I have tried some examples online but none seems to work. Please help

Hi,
My radius installation has been completed successfully and i have been able to add Mikrotik NAS. Each time i try to login to hotspot using user created from radius manager it shows radius server can not be reached. Please how can i resolve this problem

Hello,
My radius manager is installed okay.. how ever after a login to the admin portal i have an error message that my RADIUS server is not running, also when i try adding a new NAS i have an error saying that my /usr/local/etc/raddb is not accessible…

hi Syed
many thanks for your help
i found some one did it by creating a separate file on /var/www to change radiusmanager/admin.php
I’m trying it now, once i did it i will be happy to share it with you
but i may ask about another issue
i need to activate COA to change authorization on the flay with CISCO router
i configured CISCO side with dynamic authorization and i add NAS IP as COA server in originate-coa file but still not working
i have read the document but still didn’t succeed
any idea if there is any special configuration to do

Alsalam Alukoom
@Syed Jahanzaib
============
i’m going with backup script …
step by step … i think 70% Okay applied …
but not sure yet if the backup copied to USB and sent to my Gmail
===== when im test backup by line====
/temp/fullbackup.sh
have this
======================
======================
Checking if USB Is mounted or not…
USB is not mounted !!
Mounting USB now…
mount: mount point /usb does not exist
/temp/fullbackup.sh: line 35: with: command not found
Welcome ! This is Radius Manager Backup Script, It will take backup of RADIUS

It is 4 months since I installed the unlimited radius manager in a dedicated server. Today it shows me an error message when I try to open it. Can you help me find a solution to this problem? Look the massage i see when i try too open ma radius manager:

hello and thanks for the info. please my admin account suddenly shows Superuser privileges needed.i have been using it for some time now.i don’t know if it is that some on tempered with my system.please how can i resptore these privildges.i have already changes all my passwords

radius backup is Generally big in size and its not suitable to send via Email.
you should do following
1) attach external usb into radius server, and in your daily backup file, add command to copy the backup file in the USB too, this way you will have 2 backups, one in local system, 2nd in USB
2) you can create a local FTP server using filezilla ftp server, and then in your backup file in RM, add the FTP syntax so that all backup will be copied to the FTP server too.

you need to either a) set interim updates to 5 mnts, set radius timeout value to higher value like 2000 ms, (b) fine tune the mysql on your radius server, it is more important to tune radacct as well. and mysql memory tuning