summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/files/immunity/readme.txt
blob: 5dfcfded5f3ce85a3b0ca6035dc00a4f2d4fe97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
For wifi initialization to find the best BSSID's for testing:
 /opt/immunity/tworadio.sh wifisetup

Expect this in the output:
 udhcpc (v1.22.1) started
 Sending discover...
 Sending discover...
 Sending discover...
 No lease, failing

After doing wifisetup, it is possible to do a scan.

 iwlist wifi0 scanning
 
This produces a list:
 wifi0     Scan completed :
          Cell 01 - Address: 00:27:0D:8C:57:28
                    ESSID:"MTS-IT"
                    Mode:Master
                    Frequency:2.412 GHz
                    Quality:19/80  Signal level=-81 dBm  Noise level:0 dBm
                    Encryption key:on
                    Bit Rates:5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s; 12 Mb/s
                              18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported

Find the ESSID desired, which may have multiple Addresses (BSSID).  Also
observe the frequency.  Select the BSSID (address) with the highest
"signal level" at the desired "frequency".

Operation with no parameters:
 
Environmental variables:
 BTADDR     Bluetooth MAC address of remote
 BTCHAN     Bluetooth Channel of service
 WIFIURL    WiFi URL of file to retrieve.
 WIFIFILE   WiFi File name of retrieved file to delete.
 WPA_CONFIG Config file for wpa_supplicant.

None of the parameters above are required.

 BTADDR and BTCHAN are searched, but specifying parameters is faster.
 WIFIURL defaults to http://www.multitech.net/mlinux/feeds/3.2/arm926ejste/nodejs-dbg_0.10.44-r1.3.0_arm926ejste.ipk
 WIFIFILE defaults to nodejs-dbg_0.10.44-r1.3.0_arm926ejste.ipk
 WPA_CONFIG defaults to /etc/wpa_supplicant/wifitest.conf

 Two get a specific frequency at Multitech, since the same SID is used at
 multiple frequencies, the BSSID must be provided in the WPA configuration
 file.