Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 22
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
User needs to make sure of the module detection w.r.t interface being used. If the module is not detected, user will
end up with errors displayed on the console !
After issuing the above command, a virtual interface with the name "wifi0" will be created. You can view the list of
interfaces by entering the following command:
ifconfig –a
You can check whether the connection to the Access Point is successful or not, by running the following command:
iwconfig wifi0
The sample output of this command is
wifi0 IEEE 802.11bgn ESSID:"Range" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: 38:A4:ED:DE:BB:06
Bit Rate:39 Mb/s Tx-Power=16 dBm Sensitivity=1/0
RTS thr:off Fragment thr:off
Encryption key:****-**** Security mode:restricted
Power Management:off
Link Quality=80/80 Signal level=-28 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
This command gives the status of the device. If the connection is successful, then the connected Access point SSID along
with the MAC address is displayed. If it is not connected to an Access point, a message "Not Associated" is displayed.
To view the list of Access Points scanned in each channel, you can run the following command in the "release" folder.
./wpa_cli –i wifi0 scan_results
To obtain an IP address using DHCP, start the DHCP client by entering below commands. (1st command to remove entry
for existing dhcp and 2nd to create a new entry).
$ dhclient -r wifi0
$ dhclient -v wifi0
The sample output of dhclient command is given below
Listening on LPF/wifi0/88:da:1a:1e:b2:58
Sending on LPF/wifi0/88:da:1a:1e:b2:58
Sending on Socket/fallback
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 4 (xid=0x133cec16)