RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
74
CONFIG_DRIVER_NL80211=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_TLS=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_FAST=y
CONFIG_EAP_LEAP=y
CONFIG_PKCS12=y
CONFIG_TLS=internal
Ensure that in menuconfig, NL80211 support is enabled.
Compile the driver.
$ make
Go to the release folder and start the device in station mode.
$
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 in Section 4.1
$ service NetworkManager stop
$ iw phy phyX interface add wifi0
type
managed
Run the supplicant after configuring sta_settings.conf according to the required EAP method. The network blocks
listed below can be used as a reference.
$ ./wpa_supplicant
-i
wifi0
-D
nl802ll
-c
sta_settings.conf
-ddddt
> log &
To connect using EAP-PEAP method, sta_settings.conf should be described as below:
network={
ssid=
"Redpine_Signals"
key_mgmt=WPA
-EAP
eap=PEAP
anonymous_identity=
"peapuser"
identity=
"test"
password=
"password"
}
X is the phy number it will vary to get it type $ iw list |grep phy.