connman-usb-tethering manual

medium

Image Types:
basesdk-amd64 / hmi-armhf / hmi-amd64 / sdk-amd64
Image Deployment:
APT
Type:
functional

Description

Test ConnMan support for USB tethering (connection side).


Resources

  • Another device supporting USB tethering.
  • An USB cable.

Pre Conditions

  1. Ensure Rootfs is remounted as read/write.
  2. $ sudo mount -o remount,rw /
  3. Install dependencies
  4. $ sudo apt install apertis-tests
  5. Restart the system to restore the filesystem state to read-only before running the test.
  6. $ sudo reboot
  7. Connect the remote device to an Internet connection.

Execution Steps

  1. Enable USB tethering on the remote device.
  2. Connect the USB cable from the remote device to the system.
  3. Connect to the service:
  4. $ /usr/lib/apertis-tests/connman/connman-test-service.py

Expected

The service will show as a Ethernet device, and its hash will reflect the mac address of the Ethernet device created.

If connections succeeds and you are able to navigate on the internet then it works.

Notes

  • Make sure that you have disconnected the ethernet connection to the target before you start the tethering process.
  • If you are tethering to an android (4.1) device you need to enable USB mass storage mode for the tethering option to become available.