---
title: "LIN example"
description: "Example interfaces.json for running LIN with RemotiveBroker through LIN transceivers connected over a USB-to-Ethernet adapter."
source: https://developer.remotivelabs.com/docs/remotive-broker/configuration/lin
last_updated: 2026-10-19
deprecated: true
---

# LIN example

Connect a secondary USB to ethernet adapter to the host. Here you can connect a single `LIN transceiver` box alternatively a switch with a number of `LIN transceivers`. Each LIN transceiver is identified and configured according to its unique `device_identifier`.

This ID needs to reflect and be present in `interfaces.json`. The following configuration shows two `LIN` devices, `8` and `7`. Note that `8` has been configured to operate as master, whereas `7` operates as a slave.

Each LIN transceiver needs a unique set of `target_port` and `server port`, which can be selected freely. Once the transceivers get powered, their configurations is fetched from the RemotiveBroker.

```json
{
  "chains": [
    {
      "namespace": "ecu_A",
      "type": "lin",
      "config": {
        "device_identifier": 8,
        "server_port": 2014,
        "target_port": 2013
      },
      "node_mode": "master",
      "database": "ldf/test.ldf",
      "schedule_file": "ldf/test.ldf",
      "schedule_table_name": "DEVMLIN01Schedule01"
    },
    {
      "namespace": "ecu_B",
      "type": "lin",
      "config": {
        "device_identifier": 7,
        "server_port": 2015,
        "target_port": 2016
      },
      "node_mode": "slave",
      "database": "ldf/test.ldf"
    }
  ]
}
```

> **Info**
>
> The prebuilt image hosts a DHCP server on the added adapter. LIN transceivers and the RemotiveBroker need to reside
> on the same subnet. Other custom topologies are supported and sometimes preferred.
