Help Center> Huawei HiLens> FAQs> Device Registration> How Do I Handle Device Registration Failures with Different Causes Returned?
Updated on 2022-12-01 GMT+08:00

How Do I Handle Device Registration Failures with Different Causes Returned?

Possible Causes

  • Identity authentication failed. Check whether the user name or password is correct.

    The account you use to register a HiLens Kit device must be a HUAWEI CLOUD account, rather than a HUAWEI ID.

    HUAWEI ID and HUAWEI CLOUD account are different. If you do not have an account, you are advised to register one and enable HUAWEI CLOUD services. For details, see Registering a HUAWEI ID and Enabling HUAWEI CLOUD Services.

    If your account is a HUAWEI ID, use this account to create a sub-account. For details, see Creating an IAM User, and add the admin permissions to the sub-account.

    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.

  • If the message The account is locked or Password: Authenticating the account is displayed:

    Check whether the HUAWEI CLOUD account and password are correct. If you enter incorrect passwords for five consecutive times, the account will be locked. The account will be automatically unlocked 15 minutes later.

  • If the message Role is op_restricted is displayed:
    • Check whether the Huawei Cloud account is in arrears.
    • Contact the IAM customer service to check whether IAM is disabled.
    • Check whether the account has been granted the HiLens permission. Log in to the HiLens console, select Huawei HiLens Service Disclaimer, and click Approve.
      Figure 1 Applying for Huawei HiLens permissions
  • If the message Network is unreachable is displayed:

    Check whether the network configuration is correct. For details, see section "Configuring the Wireless Network" in the User Guide.

  • If the message Your device has been registered is displayed:

    If the previous user did not deregister the device, you will not be able to register it. Log in using the account that previously used the device and deregister the device. For details, see Deregistering Devices.

  • If the message hdactl: command not found is displayed when you use SSH to register a HiLens Kit device:

    Log in to the HiLens Kit device using SSH and run the following commands:

    cd /home/hilens 
    systemctl restart hdad 
    systemctl status hdad 

    If the message hdad.service not found is displayed during the restart, open the /home/hilens/package_new/skillframework file and run the following command:

    ./install.sh
  • If the user account is in arrears, the registration cannot succeed.
  • The device time is inconsistent with the current time. To synchronize time, see Checking the Device Time.
  • DNS configuration is incorrect. For details, see Configuring DNS.
  • System busy. Please try again later.
  • If the fault persists, perform the steps in Restoring Factory Settings to restore the HiLens Kit device to its factory settings.

Checking the Device Time

  • Connecting to the device using SSH

    The procedure is as follows:

    1. Use a network cable to connect the device to a PC, and use PuTTY to log in to the device over SSH. For details, see Registering a Device Using SSH.
    2. Run the date command on PuTTY to view the current device time.
      • The time displayed on PuTTY is Coordinated Universal Time (UTC), which is eight hours earlier than Beijing time.
      • Add 8 hours to the UTC time to convert the UTC time to the Beijing time, and check whether it is the same as the current time.
  • Restarting the device
    If the device time is the same as the current time, perform the following operations to restart the device:
    1. Use a network cable to connect the HiLens Kit device to a PC, and use PuTTY to log in to the device over SSH. For details, see Registering a Device Using SSH.
    2. Enter the reboot command on PuTTY and press Enter to restart the device.
  • Changing the device time

    If the device time is different from the current time, perform the following operations to change the device time:

    1. Use a network cable to connect the HiLens Kit device to a PC, and use PuTTY to log in to the device over SSH. For details, see Registering a Device Using SSH.
    2. Enter the following command on PuTTY:

      timedatectl set-timezone Asia/Shanghai

      Press Enter.

    3. Enter the following command on PuTTY:

      hwclock –w

      Press Enter.

    4. Enter https://192.168.2.111 (example device IP address) in the address box of a browser, and enter the username and password to log in to the Huawei HiLens IES.
    5. Click Management on the top of the page.
    6. Click Time. On the Time page, select Manually adjust the time and click to reconfigure the time.
    7. Click Maintenance on the top of the page.
    8. Click System Restart. On the System Restart page, click Restart to change the device time. See Figure 2.
    Figure 2 Restarting the system

Configuring DNS

  1. Log in to the HiLens Kit device using SSH. For details, see Registering a Device Using SSH.
  2. Remotely configure DNS using SSH.
    1. Run the following command on PuTTY to open the DNS file:

      vi /etc/resolv.conf

    2. Delete the original content and change the content to the following:

      nameserver 8.8.8.8

      Save the settings and exit. See Figure 3. Perform the previous step again.
      Figure 3 Configuring DNS

Device Registration FAQs

more