RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
22
iw dev
The sample output of this command is
phy
#3
Interface wlp0s26u1u2
ifindex 10
wdev 0x300000001
addr 00:23:a7:65:2a:
ac
type
managed
phy
#0
Interface wlo1
ifindex 3
wdev 0x1
addr a4:17:31:a7:82:a3
type
managed
In the above example "Phy3" is Redpine's interface.
Assuming the physical interface is detected as phy1, refer the below steps to create a virtual interface.
6. Add the wireless interface to the phy.
$service
NetworkManager stop
$iw
phy phy1 interface add wifi0
type
managed
Instead of following the above 2 steps i.e. step 5 and step 6, we can directly create vap by using "onebox_util"
binary present in the release folder.
cd
release
./onebox_util rpine0 create_vap wifi0 sta sw_bmiss
Run the supplicant after configuring sta_settings.conf with required AP settings as mentioned in the section
Installation in Wi-Fi Client Mode (with BSD interface support)
In the sta_settings.conf file, in addition to the above all configurations as mentioned for BSD case, NL80211 mode
required country input in the global fields which need to be set as specified below.
country=US
Now run supplicant as given below.
$ ./wpa_supplicant
-i
wifi0
-D
nl802ll
-c
sta_settings.conf
-ddddt
> log &
In case of multiple phy's to identify the appropriate phy on which to run the command, enter the following
command.