Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 60
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Creating a virtual Interface
$ iw dev $interface_name $ssid_name $bssid keyid:$key_index:$key
Example
$ iw dev wifi0 connect REDPINE_AP 00:23:a7:00:05:55
The above command connects to REDPINE_AP access point in open mode
$ iw dev wifi0 REDPINE_AP 00:23:a7:00:05:55 keys d:1:234567890
The above command instructs our device to connect to the REDPINE_AP in wep64 mode with the key
index 1 and key '234567890'.
Disconnect
Description
This command is used to disconnect our device from the connected network.
Default Value
-
Input Parameters
Interface name
Output Parameter
-
Reset Required
No
Usage
iw dev $interface_name disconnect
Example
$ iw dev wifi0 disconnect
The above command disconnects our device from the connected Access point.
Link Status
Description
This command is used to get the connection status of our device.
Default Value
-
Input Parameters
Interface name.
Output Parameter
Connection status.
Reset Required
No
Usage
iw dev $interface_name link
Example
iw dev wifi0 link
Interface Info
Description
This command is used to get information about the device .
Default Value
-
Input Parameters
Interface name.
Output Parameter
Interface mac address, type, operating mode etc.
Reset Required
No
Usage
iw dev $interface_name info
Example
iw dev wifi0 info
Station Dump
Description
This command is used to station statistic information such as the amount of tx/rx bytes, the last TX
bitrate (including MCS rate)
Default Value
-
Input Parameters
Interface name.
Output Parameter
Connected Stations/AP mac address,tx bytes, rx bytes, signal level etc,. will be displayed.
Reset Required
No
Usage
iw dev $interface_name station dump
Example
iw dev wifi0 station dump
Set Power save
mode