Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 64
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
7.2.1 Configuration of the AP
Go to driver source folder and compile it with the following options enabled:
[*] NL80211 support
[*] HOSTAPD support
$ make
To start the device in AP mode, go to the release folder and run the following commands:
$ cd release
$ sh wlan_enable.sh or wlan_bt_insert.sh or wlan_zigb_insert.sh or onebox_insert.sh
script present in the “release” folder as per the instructions mentioned in Section
4.1.
$ iw phy phyX interface add wifi1 type __ap
where 'X' represents phy number.
It can be obtained by the following command:
$ iw list | grep phy
Before starting the device in AP mode, ensure that in hostapd_eap.conf the following entities are enabled:
ieee8021x=1
own_ip_addr=192.168.2.1 /* IP address of AP */
/* RADIUS authentication server */
auth_server_addr=127.0.0.1
auth_server_port=1812
auth_server_shared_secret=testing123 /* shared secret must be the same as in
/etc/hostapd.radius_clients file */