Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

[Linux] How to fix TCP disconnection detection #131

@jmaralo

Description

@jmaralo

To have a faster disconnection detection time in the GUI the following changes should be applied:

  • In the config.toml:
    Change the [vehicle.network] table and add the following changes:
[vehicle.network]
# ...
keepalive = "1s"

This sets the keepalive interval to the min amount in linux (1s), a keepalive probe will be sent each second

  • In a terminal:
    Run the following command:
sudo sysctl -w net.ipv4.tcp_keepalive_probe=1

This sets the max number of lost probes before the connection is terminated, in this case one probe.

This configuration is able to detect a disconnection in around 1s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions