🎉 VSEC Test v3.1.1 is now live! Release Notes ↗
Manual Configuration

Manual Configuration

Overview

The VSEC Test Bench uses a configuration file to set up networking, VPN connectivity, and device identity. This file is auto-generated and placed inside the Bench image and it’s parsed by the device on every startup. This can be also used to manually configure the device.

Note: You must first create a bench and allow it to come online before modifying this configuration file.

Accessing Config File

  1. Shut down the Bench
  2. Remove the SD card from the Bench and insert it into your computer.
  3. Open the FAT32 partition — it will appear as a removable drive in your file explorer.
  4. Open vsec_config.txt with a plain text editor (e.g. Notepad, Notepad++, VS Code). Do not use word processors like Microsoft Word.
  5. Fill in or verify each field using the values provided by your administrator.
  6. Save the file and safely eject the SD card.
  7. Insert the SD card back into the Bench.
  8. Power on the bench for it to appear online.

The Bench will read the configuration on boot and automatically connect to the specified Wi-Fi network.

Note: If you need to re-provision a Bench with a new pre-authentication key, re-flash the Bench with a newly generated image.

Configuration File

The configuration file is located on the root of the FAT32 (boot) partition of the Benches SD card e.g.:

D:\vsec_config.txt
Tip: When the SD card is inserted into a Windows PC, the FAT32 partition typically mounts as a removable drive (e.g. D:\, E:\, etc.). The exact drive letter may vary depending on your system.

File Format

The configuration file uses JSON format. Below is an example with explanations for each section.

{
  "version": "v1.0.2",
  "buildDate": "2026-02-20",
  "vpn": {
    "preAuthKey": "123456789ABCDEFDUMMY123456789ABCDEF",
    "loginURL": "https://vpn.1a2b3c.ed.vsec.blockharbor.io"
  },
  "bench": {
    "uid": "123456789ABCDEFDUMMY123456789ABCDEF123456789ABCDEFDUMMY123456789ABCDEF",
    "hostname": "aron-test-bw2",
    "description": "A nice description of the Bench",
    "SSHKey": "********"
  },
  "wifi": {
    "ssid": "LabNetwork",
    "password": "LabPassword",
    "countryCode": "US",
    "useDHCP": true,
    "IPAddress": "192.168.0.101",
    "NetworkMask": "255.255.255.0",
    "DefaultGateway": "192.168.0.1",
    "DNSServer": "192.168.0.1"
  }
}

Configuration Fields

Root

FieldRequiredDescription
versionYesDO NOT MODIFY.
Configuration file format version.
buildDateYesDO NOT MODIFY.
The date the base image was generated.

VPN (vpn)

These settings allow the Bench to establish a secure VPN tunnel to the backend infrastructure.

FieldRequiredDescription
preAuthKeyYesDO NOT SHARE. DO NOT MODIFY.
Pre-authentication key used to register the Bench with the VPN server. This key is unique and typically single-use.
loginURLYesDO NOT SHARE. DO NOT MODIFY.
The VPN server URL the Bench connects to.

Bench (bench)

Identifies the Bench within the system.

FieldRequiredDescription
uidYesDO NOT SHARE. DO NOT MODIFY.
A unique identifier assigned to this Bench.
hostnameYesThe network hostname of the Bench.
descriptionNoText field to define the Benches purpose or location.
SSHKeyYesSSH public key for remote access.

Wi-Fi (wifi)

Configures the Benches wireless network connection.

FieldRequiredDescription
ssidYesThe name of the Wi-Fi network to connect to.
passwordYesThe Wi-Fi network password.
countryCodeYesTwo-letter country code (ISO 3166-1 alpha-2) for Wi-Fi regulatory compliance (e.g. US for the United States).
useDHCPYesSet to true to obtain an IP address automatically. Set to false if static IP configuration is required (and fill in the fields below).
IPAddressNoStatic IP address for the Bench. Required when useDHCP is false.
NetworkMaskNoSubnet mask for the static IP configuration (e.g. 255.255.255.0). Required when useDHCP is false.
DefaultGatewayNoDefault gateway address for the static IP configuration. Required when useDHCP is false.
DNSServerNoDNS server address for the static IP configuration. Required when useDHCP is false.
Double-Check Your Wi-Fi Credentials
Most connectivity issues (approx. 90%) are caused by incorrect Wi-Fi SSIDs or passwords, please verify your network details.

Next

Last updated on