Skip to content

Installation on GL.iNet (Asset Mode)

Mode: Asset. Supported: GL.iNet devices running the Rockchip-based (RK) firmware, arm64. Tested devices: Comet (GL-RM1), Comet POE (GL-RM1PE).

Asset Mode means that services (like SSH, HTTPS, remote desktop, etc) can be remotely accessed from an XplicitTrust client, or from another system running in Asset Mode.

TL;DR

Connect to the device as root over SSH, then:

wget https://dl.xplicittrust.com/xtna-agent_arm64.tar.gz
mkdir xtna-agent_arm64; cd xtna-agent_arm64
tar -xf ../xtna-agent_arm64.tar.gz
sh install.sh
xtna-util -domain <tenant domain> -token <token>

Before you start

  • SSH is enabled on the device and you can connect as root. See Requirements.
  • Outgoing TCP 443 is allowed, and UDP 51820-60000 for direct connections.
  • You have an administrator account of your tenant, or an Asset Creation Token.

Install

  1. Enable SSH on the device and connect to it as root.
  2. Run the following commands in the shell:

    wget https://dl.xplicittrust.com/xtna-agent_arm64.tar.gz
    mkdir xtna-agent_arm64; cd xtna-agent_arm64
    tar -xf ../xtna-agent_arm64.tar.gz
    sh install.sh
    

Register

Use one of the methods on Registration methods, with xtna-util as root. The xtna-util reference lists all flags.

Verify

Run xtna-util -status and look for the device as Online in the Admin Console. See Verify your installation.

Next

Create a policy to give clients access to the device: Policies.

Firmware updates

The agent binaries and runtime state are stored under /etc/kvmd/user/xtna/, which is preserved across GL.iNet firmware updates. After a firmware update, re-run the installer to recreate the /usr/bin symlinks and the inittab entries:

sh /etc/kvmd/user/xtna/install.sh

The existing enrollment, certificates and configuration are retained: no re-registration is required.

Troubleshooting

Service logs are written to /var/log/xtna-service/. If the registration fails or the agent does not get Online, see the network requirements.

See also