RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
70
7 Enterprise security using CFG80211
7.1 Installation and configuration of FREERADIUS Server
The following packages are required to install the freeradius server 3.09:
•
libtalloc-devel
•
openssl-devel
The steps for downloading as well as installing the freeradius tar ball are as follows:
$ tar zxvf freeradius
-server
-3.0.9.tar.gz
$
cd
freeradius_3.09
$ ./configure
$ make
$ make install
Configure the freeradius server as per the given steps below:
Edit users file, which will contain the
“identity”
and
“password”
.
$ vim /usr/local/etc/raddb/users
•
Add the following line at the starting in the users file
test Cleartext-Password := "password"
2. As an example, “user1” is an identity and “test123” is the password that has to be entered at client side i.e. in the
sta_settings.conf file.
3. Now we need to edit “eap” file which contains the paths consisting of certificates and information about the EAP-
Methods supported
$ vim /usr/local/etc/raddb/mods
-enabled
/eap
In tls-config tls-common section, changes are made to point to our certificates which are placed in /etc/certs folder
If Free-radius version is below 3.x “eap”, it will be located in raddb folder and will be named as
“eap.conf”
.