sql accounting database sample

Most Relevant Content

  • MikroTik Radius Configuration with FreeRADIUS and MySQL

    FreeRADIUS is a modular RADIUS suite. A lot of modules such as Perl, python, MySQL etc. can be integrated with freeRADIUS to enrich freeRADIUS features. MySQL is one of the best user and client sources in freeRADIUS server. One of the important advantages of MySQL with freeRADIUS server is that MySQL can easily be controlled with a lot of programming languages including PHP. So, freeRADIUS users and their authentication, authorization and accounting can easily be controlled graphically using MySQL database and PHP language. In my previous article, I discussed how to install and configure freeRADIUS on CentOS 7 Linux distribution and how to configure MikroTik Radius to use freeRADIUS as a MikroTik RADIUS server. In this article, I will discuss how to configure freeRADIUS MySQL (freeradius-mysql package) module with MariaDB database. FreeRADIUS with MySQL (MariaDB) Database To work with MySQL database, freeRADIUS provides freeradius-mysql package that contains necessary configuration file and SQL queries. So, we have to install freeradius-mysql package with our freeradius server package. To check whether freeradius-mysql package is installed or not, login to your CentOS server with root user and issue the following command from your command prompt. [root@freeradius ~]# rpm -qa | grep freeradius   freeradius-utils-3.0.13-9.el7_5.x86_64 [...]

    READ MORE »

  • You May Also Like

  • »

    MikroTik WiFi MAC Authentication with UserMan RADIUS Server |   December 23, 2019

    MikroTik Wireless Router is popularly used as WiFi AP. MikroTik WiFi AP has a lot of features to tune WiFi network as your requirements. MAC authentication is one the amazing and useful features in MikroTik WiFi. MAC authentication enables filtering MAC address that means no MAC can be able to connect to WiFi AP without authentication.  MAC authentication can be done either local database or RADIUS Server. MAC authentication with RADIUS Server provides facility to manage multiple APs from centralized [...]

    READ MORE »

  • »

    MikroTik VRRP Configuration with Load Sharing |   November 19, 2018

    MikroTik VRRP (Virtual Router Redundancy Protocol) ensures high availability internet network. If any organization requires uninterrupted internet connection, MikroTik VRRP implementation will be a vital solution for them. MikroTik VRRP creates a virtual router accumulating two or more physical routers and ensures uninterrupted internet connection keeping activate one physical router always. That means, if any physical router fails to operate due to any hardware failure, MikroTik VRRP uses another backup router for internet gateway until the running router comes back [...]

    READ MORE »

  • »

    CentOS 7 Network Configuration Using nmtui Tool |   August 27, 2018

    After completing CentOS 7 fresh installation, the first task to a system administrator is to configure its network so that it can communicate to other network devices. In my previous article, I discussed how to install CentOS 7.5 GUI (GNOME Desktop) step by step. If you are a new CentOS 7 user and yet you have not installed CentOS 7.5 on your server machine, feel free to study my previous article and install CentOS 7.5 GNOME Desktop according to that [...]

    READ MORE »

  • »

    MikroTik Hotspot Configuration with ECMP Load Balancing |   September 4, 2021

    MikroTik Hotspot is one of the most popular services in MikroTik RouterOS and day be day the demand of Hotspot service is increasing. MikroTik Hotspot can be used in any Airport, Hotel, Restaurant, Campus, Camp, Office or any ISP network. It is also possible to establish a WiFi Broadband Network with the MikroTik Hotspot service. How to configure MikroTik Hotspot was discussed in one of my previous articles. Although MikroTik Hotspot configuration is not so difficult but sometimes we face [...]

    READ MORE »

  • »

    MikroTik Hotspot Login by HTTP CHAP, HTTP PAP and HTTPS |   July 25, 2020

    MikroTik Hotspot uses various types of login methods. Among these login methods HTTP CHAP, HTTP PAP and HTTPS are basic and important login methods. So, a MikroTik system administrator should have proper understanding on Hotspot HTTP CHAP, HTTP PAP and HTTPS login methods. In my previous article I discussed how to configure MikroTik Hotspot using Winbox. In this article I will discuss how to use HTTP CHAP, HTTP PAP and HTTPS login methods properly in MikroTik Hotspot Server. MikroTik Hotspot [...]

    READ MORE »

  • »

    How to Install MikroTik CHR on VMware Workstation |   September 9, 2019

    MikroTik is found both RouterBoard where RouterOS and License are prebuilt and RouterOS Application that can be installed on a Physical Machine or Virtual Machine. RouterOS installation on Physical or Virtual Machine has license limitations. Full RouterOS packages cannot be used more than 24 hours without license. So, RouterOS application is not suitable for the Trainee or not suitable to RND purpose. From RouterOS v6.34, MikroTik introduces Cloud Hosted Router (CHR, a new RouterOS version) which has different licensing scheme. [...]

    READ MORE »

  • »

    MikroTik Hotspot Free Trial Internet Setup |   August 14, 2020

    MikroTik Hotspot is an awesome Hotspot internet solution. It has a lot of features to customize any Hotspot service. Sometimes we may require providing free trial internet in a Hotspot service. MikroTik Hotspot provides easy solution to provide free trial internet to the new user before going to paid version. In my previous article I discussed how to configure MikroTik Hotspot using Winbox. In this article I will discuss how to configure free trial internet in MikroTik Hotspot Server. Free [...]

    READ MORE »

  • »

    MikroTik Hotspot Login by MAC Cookie Configuration |   July 10, 2020

    MAC Cookie is a newly introduced Hotspot feature in MikroTik Router. MAC Cookie is specially designed to improve accessibility for smartphones, laptop and other mobile devices. MAC Cookie is not a basic login method rather it is an extension of basic Hotspot login method such as HTTP CHAP, HTTP PAP and HTTPS. So, when MAC Cookie is used with these basic Hotspot login methods, it improves the Hotspot user accessibility. In my previous article, I discussed MikroTik Hotspot basic configuration [...]

    READ MORE »

  • »

    MikroTik Site to Site GRE Tunnel Configuration with IPsec |   March 26, 2018

    VPN (Virtual Private Network) is a technology that provides a secure tunnel across a public network. A private network user can send and receive data to any remote private network using VPN Tunnel as if his/her network device was directly connected to that private network. MikroTik provides GRE (Generic Routing Encapsulation) tunnel that is used to create a site to site VPN tunnel. GRE tunneling protocol which can encapsulate a wide variety of protocols creating a virtual point-to-point link was [...]

    READ MORE »