Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Radius Authentication of Wireless 802.1x implemented by FreeRadius + Daloradius + Ubuntu Server

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Introduction

FreeRadius is the most widely used software in open source applications. It supports various authentication protocols that are commonly used at present. The server runs on the PHP-based web platform to provide a user management tool called dialupadmin. It provides a free solution to AAA access requirements for nearly 500 enterprises.

DaloRADIUS is an advanced RADIUS page management application designed to manage the deployment of hotspots and ISP. It also provides user management, graphical reporting, report engine and integration with google Maps.

Background knowledge:

-basic Linux named line

-basic network knowledge

Implemented software environment:

OS: Ubuntu Server 14.04.1 LTS

Daloradius 0.9.9

LAMP

Wireless physical devices:

Zebar AP7522, as long as it is a wireless device supporting 802.1x authentication

Install LAMP

-Ubuntu server installation, run the following command:

Sudo apt-get update # install updates

Sudo apt-get upgrade # installation and upgrade

-Apache2: sudo apt-get install apache2

-PHP5: sudo apt-get install php5

Sudo service apache2 restart

-Mysql server: sudo apt-get install mysql-server

You may be required to provide the password for root during all installation. The next step is to install the connection module between php and mysql.

Sudo apt-get install php5-mysql

Sudo service apache2 restart

Obs! An error message appears that a line must be added to / etc/apache2/apache2.conf according to the web search. The command is as follows:

Sudo vim / etc/apache2/apache2.conf

Then add ServerName localhost

Sudo / etc/init.d/apache2 stop

Sudo / etc/init.d/apache2start

Then the error disappears and the system is fine.

Install and configure FreeRadius

Now start to focus on the installation and configuration of freeradius software.

Sudoapt-get install freeradius-mysql freeradius-utils

The next step is to open / etc/freeradius/eap.conf and make some configuration changes.

Sudo nano / etc/freeradius/eap.conf

Default_eap_type = peap

Now make some changes to this file / etc/freeradius/modules/mschap

Sudo nano / etc/freeradius/modules/mschap

Remove the annotation symbol # from the following configuration script:

Use_mppe = yes

Require_encryption = yes

Require_strong = yes

With_ntdomain_hack = yes

Save the file and use this command to detect: sudoldconfig

Create a validation database

$: mysql-u root-p

Mysql > create database radius

Mysql > create user'freeradius'@'localhost' identified by 'radius123'

Mysql > grant all on radius.* to'freeradius'@'localhost' identified by 'radius123'

Mysql > flush privileges

Mysql > exit

Import the database path / etc/freeradius/sql/mysql/ using the standard library provided by freeradius

Mysql-u freeradius-p radius

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report