Embedded Linux Quick Install
Use this quick install to validate the Device Agent's performance on a Linux device before you prepare a production image.
Before You Start
Request the agent package, your authentication secret, and client string from your ThousandEyes contact.
Prepare the target device for connection to your computer. For example, use two Ethernet cables for separate LAN and WAN connections. Have an Ethernet adapter if your computer does not have an Ethernet port.
Ensure that the internet connection supports the target device's maximum WAN speed and has working DNS and outbound HTTPS.
1. Extract the Archive
Complete this step on the computer where you downloaded the package.
Extract the full agent package. Replace the example filename with the complete filename you downloaded:
tar -xzf MY_AGENT_PACKAGE.tar.gzThen extract the Agent Updater archive:
tar -xzf cdev_agent_updater-*.tar.gzConfirm that the extracted directory contains the Updater and configuration templates:
Updater:
opt/thousandeyes/cdev/router_agent_updater/bin/router_agent_updaterConfiguration templates:
opt/thousandeyes/cdev/router_agent_updater/etc/...
2. Prepare the Agent Config
Navigate to the parent folder on your computer that includes the extracted
opt/thousandeyes/cdev/router_agent_updater/package:In your preferred editor, replace the three
CHANGE MEvalues below with your organization'sclientstring, authenticationsecret, and devicebasemodel or SKU. Get theclientstring andsecretfrom your ThousandEyes contact.Paste the entire block into the terminal at once:
View the configuration file to confirm that it contains the updated values:
3. Copy the Agent Updater and Configuration
Connect the device as shown:
ConnectionPurposeLAN or serial connection to your computer
Agent file transfer and configuration
WAN internet connection matching the intended production speed tier and access technology
Activation and measurement
Copy the agent files and prepared configuration to the device.
On your computer, return to the extracted package folder:
Replace
192.168.3.1below with your device's LAN IP address to copy the agentcdevdirectory to the target device.Enter the device password if prompted.
The Agent Updater executable should now be in
/tmp/cdev/router_agent_updater/bin/router_agent_updater, and its configuration should be in/tmp/cdev/router_agent_updater/etc/skagent.cfg.Confirm that both files arrived by running the following:
Verify that the terminal displays both confirmation messages.
4. Test the Agent
Continue in the SSH session on the target device.
Confirm WAN connectivity:
DNS and outbound HTTPS must work. If any command returns an error, stop and fix the connection before continuing.
For Agent Updater v7.16 or later, run the Updater in self-test mode. Do not start it separately first:
If a test fails or you encounter an installation or activation issue, use the applicable troubleshooting guide:
For self-test failures, follow Validate with self-test mode.
For installation or activation failures, follow Installation and activation troubleshooting.
5. Confirm Speed Results Are Satisfactory
Your first self-test speed measurements should be close to, but slightly below, the theoretical maximum speeds.
By default, self-test mode targets servers outside your network to reflect the home broadband experience. Latency to those servers can reduce throughput.
TCP tests reach about 94% of line rate. On a 1 Gbps line, the theoretical maximum is 940 to 949 Mbps. Added latency might reduce throughput by up to 20%.
Verifying the Agent in ThousandEyes
Use the unit ID from the self-test output to verify that the agent appears in the expected organization under Connected Devices > Settings > Agent Settings > Agents.
Removing the Lab Installation
If the Updater is still running, stop it with Ctrl+C. Rebooting normally clears the Updater, configuration, and downloaded agent because they are under /tmp.
Next Steps
After the target passes, continue to Plan, deploy and update the Agent.
Last updated