Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 65
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Run the following command to start the device in the AP mode:
$. /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/
Now go to wlan/hostapd-2.4/hostapd folder in the driver folder.
$ cd wlan/hostapd-2.4/hostapd
Compile it
$ make clean
$ make
Check whether the interface in hostapd.conf is same or not as the name of AP interface name.
Example
$ vim hostapd.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.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.