;
Candela Technologies Logo
Network Testing and Emulation Solutions

LANforge InterOp Setup for Android

Goal: Cable an android mobile phone to a LANforge and have the LANforge recognize the android phone as a resource.

This cookbook requires LANforge GUI version 5.4.6 and above.

Background

Our LANforge InterOp solution is used to support real clients for testing access points. InterOp gives the ease of handling real clients with complete automation and detailed, customizable test reporting.

We have support for various kinds of real clients:

-      Android clients.
-      iOS clients.
-      Windows Machines.
-      Linux Machines.
-      MacOS Machines.

Network Topology:

Before getting started:

Steps to create Mi account:

Steps to setup & connect your android phone to LANforge

  1. Open the Settings on the Android phone and click on About Phone.

  1. In About Phone, click on Build number 7 times to enable developer options.

  1. Now there will be a new option available in settings tab called “Developer Options”. Click on it and enable the following options:

·      Stay Awake.

·      USB-Debugging.

  1. Connect the device to the LANforge as per the testbed topology. Plug the phone via the port (usb-c or microusb) at the bottom of the phone to one of the usb-A slots on the LANforge.

  2. Open the LANforge GUI window. The Interop tab should appear now. Click on the tab to see your phone detected as a port.

  1. in the InterOp tab, double-click on the port to open the Modify ADB Device window. Enter your device user name. This window can also be used to configure the android device's settings. Fill out the boxes with the appropriate settings and click 'Apply' to apply the settings. Click 'OK' to apply settings AND close window.

  1. Close the Modify ADB Device window. Back in the InterOp tab there is a button called Batch-Modify. Click on Batch-Modify to see options to configure the Wi-Fi profiles of the client.

  1. In the Batch-Modify window, click on the Advanced Settings tab, check the use SCRCPY option and click on Launch GUI. This will open a screen mirror of the phone in the LANforge GUI which will allow remote control of the device.

  1. Now click on Install in the Batch-Modify window to install the InterOp app (apk).

  2. Close the Batch-Modify window. Click on the Port Mgr tab, double click on eth1, and check the DHCP-IPv4 checkbox or assign a static IP address from the DHCP pool of the AP, which is our Manager IP address.

  1. Click on the InterOp tab again, double-click on your phone in the interOp tab (or highlight the row(s) to modify and click on Batch-Modify), and fill out the fields of IP address, SSID, encryption mode of SSID to associate to, etc (circled below). Click Apply when fields are entered. Hover over any fields for more information on how to fill them out and best usage fit for you.

  2. After clicking Apply, the InterOp app will open in the mobile and the Network stats will be visible. The phone can also be detected in the Resource Mgr and Port Mgr tabs in the GUI now. 

  3. Below is an example of ports like wiphy0, wlan0, rmnet0, which are the ports of the mobile. At this point, clicking on the wlan0 port[station] and Display Scan should open a pop-up in which all the nearby SSIDs broadcasted and seen by the phone are displayed.


Candela  Technologies, 2417 Main Street, Suite 201, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1.360.380.1618
Facebook | LinkedIn | Blog