Help Center> Huawei HiLens> FAQs> HiLens Kit Devices> Device System Operations> How Do I Use SSH Commands to Connect a HiLens Kit Device to a Wi-Fi Network?
Updated on 2022-12-01 GMT+08:00

How Do I Use SSH Commands to Connect a HiLens Kit Device to a Wi-Fi Network?

Symptom

How do I use SSH commands to connect a HiLens Kit device to a Wi-Fi network?

Solution

  1. Remotely log in to the HiLens Kit device using SSH. For details, see How Do I Log In to a Device Using SSH?
  2. Run the following command to view all Wi-Fi networks:
    wifi_work -i 4
  3. Run the following command to connect the device to the target Wi-Fi network:
    wifi_work -s ssid -p password

    id: ID of the target Wi-Fi network password: password of the target Wi-Fi network

Device System Operations FAQs

more