cangw

SocketCAN userspace utilities and tools

Install

All systems
curl cmd.cat/cangw.sh
Debian Debian
apt-get install can-utils
Ubuntu
apt-get install can-utils
image/svg+xml Kali Linux
apt-get install can-utils
Fedora
dnf install can-utils
Windows (WSL2)
sudo apt-get update sudo apt-get install can-utils
Raspbian
apt-get install can-utils

can-utils

SocketCAN userspace utilities and tools

CAN is a message-based network protocol designed for vehicles originally created by Robert Bosch GmbH. SocketCAN is a set of open source CAN drivers and a networking stack contributed by Volkswagen Research to the Linux kernel. This package contains some userspace utilities for Linux SocketCAN subsystem. Basic tools to display, record, generate and replay CAN traffic: candump, canplayer, cansend, cangen, cansniffer. CAN access via IP sockets: canlogserver, bcmserver, socketcand. CAN in-kernel gateway configuration: cangw. CAN bus measurement and testing: canbusload, can-calc-bit-timing, canfdtest. ISO-TP (ISO 15765-2 2016) tools: isotpsend, isotprecv, isotpsniffer, isotpdump, isotpserver, isotpperf, isotptun. CAN log file converters: asc2log, log2asc, log2long. CAN Serial Line Discipline configuration (for slcan driver): slcan_attach, slcand, slcanpty. SAE J1939 tools and demo: jacd, jspy, jsr, testj1939.