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.

  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, check the use SCRCPY option and click on Launch GUI. This will open a screen mirror of the mobile in the LANforge GUI and can be used to remotely control the phone if needed.

  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 Magr 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, and fill out the fields of IP address, SSID, encryption modes of the DUT. Click Apply when fields are entered.

  1. 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. 

  1. Below is an example of ports like wiphy0, wlan0, p2p0, which are the ports of the mobile. At this point, if you click on wlan0 port[station] and click on Display Scan, a pop-up in which all the nearby SSID’s Broadcasted near the phone are detected.


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