Reference Manual

Table Of Contents
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
73
$. /hostapd hostapd_eap.conf -ddddt >log &
$ sh dhcp_server.sh wifi1 ,
where wifi1 is the interface name
7.2.2 Configuring hostapd as RADIUS server
The steps for configuring hostapd as RADIUS server are as follows:
Copy the certs folder in /etc location, which will contain the certificates, hostapd.radius_clients, hostapd.eap_user
and dh files.
Go to driver folder and copy the certs folder to the /etc location in your system
$ cp -rvf certs /etc/
Check whether the interface in hostapd_server.conf is same or not as the name of AP interface name.
Example
$ vim hostapd_server.conf
interface = wifi1 ,so that RADIUS server will listen on that interface name.
Start the RADIUS server after AP had started in a new terminal.
$./hostapd hostapd_server.conf -ddddd
All the Credentials will be in /etc/certs/hostapd.eap_user file. A sample hostapd.eap_user file is present in the
certs.tgz in the release folder.
The /etc/certs/hostapd.radius_clients file contains the IP required to communicate the shared secret between AP
and RADIUS server. Here it is co-located, hence it is the loop-back address.
7.2.3 Configuring Station to connect to an EAP enabled AP.
Go to Driver Folder and copy the certs folder to /etc/ in your system, as it contains all the certificates required.
$ cp -rvf certs /etc/
Go to the driver folder and compile it, ensuring that the below options are enabled in wpa_supplicant.conf file.
$ vim wlan/supplicant/linux/wpa_supplicant/.config