Updated on 2022-08-19 GMT+08:00

Registering a HiLens Kit Device via SSH

Prerequisites

Procedure

  1. Run the following command to remotely register the HiLens Kit device with the Huawei HiLens console using SSH:

    hdactl register -uUsername -dAccountName -nDeviceName

    Press Enter. The Password prompt is displayed.

    Username is the IAM username, and Account name is your HUAWEI CLOUD account name. For more information, see Basic Concepts of IAM. If no IAM account is available, the Account name is the same as the Username.

    Change the Device name by yourself.

    The username, account name, and device name used for registering a HiLens Kit device can contain only letters, digits, and underscores (_). The names cannot start with a digit or contain digits only.

  2. Enter the password of your Huawei Cloud account at the password prompt and press Enter to complete the registration.

    If the IAM username and Huawei Cloud account name are different, enter the IAM user password following the Password prompt.

    If an error message indicating that the device cannot be registered, restore the device to factory settings and register it again.

    • IAM users are not allowed to register devices with sub-projects. For detailed concepts, see IAM Basic Concepts.
    • After the device is registered, you can log in to the Huawei HiLens console and choose Device Management > Devices to view the device status. Your device is offline for a short period of time.
  3. Log in to the Huawei HiLens console. In the navigation pane, choose Device Management > Devices to view the device status, as shown in Figure 1.
    Figure 1 Device status
    1. Wait 3 minutes. If the device is online, the device has restarted successfully.
    2. Wait for 3 minutes. If the device is still offline, check whether the device time is consistent with the current time. For details, see Device Is Offline.

Viewing the Registered Device on the Huawei HiLens Console

Log in to the Huawei HiLens console. Switch the region to Singapore in the upper left corner of the console. In the navigation pane, choose Device Management > Devices. All registered devices are displayed in the device list by default. If you can view the device you registered and its status is Online, the device registration is successful.

If the registration fails or the device is offline, rectify the fault by following the instructions provided in HiLens Kit Registration Failed.

Figure 2 Device registration status

When you check the device registration status: