Registering a HiLens Kit Device via SSH
Prerequisites
- Use a network cable to connect the PC and the device. For details, see Connecting a HiLens Kit Device to a PC.
- Upgrade the HiLens Kit system firmware version. For details, see Upgrading the HiLens Kit System Firmware Version.
- Select either of the following network configuration modes:
A router cannot be connected to a wired network and a wireless network at the same time. If you connect the router to a wireless network, the default gateway will be automatically deleted. If you connect the router to a wired network again, you need to configure the default gateway. You are advised to connect the router to a wireless network, in case you forget the device IP address after updating it.
Procedure
- 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.
- 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 a HUAWEI ID, 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.
- When registering a device in Singapore, use the account name and username of your HUAWEI CLOUD (International) account. For details, see Differences Between HUAWEI CLOUD Websites (Chinese Mainland and International). If you do not have an account on HUAWEI CLOUD (International), create one first. For details, see Registering a HUAWEI ID and Enabling HUAWEI CLOUD Services.
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.
- The account you use to register a HiLens Kit device must be a HUAWEI CLOUD account, rather than a HUAWEI ID.
- 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.
- 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.
- Wait 3 minutes. If the device is online, the device has restarted successfully.
- 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.
When you check the device registration status:
- After registering the device, upgrade the HiLens_Device_Agent firmware to version 1.0.7 or later. For details, see Upgrading HiLens_Device_Agent Firmware.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot