ecu-simulator/setup_can.sh

7 lines
128 B
Bash

modprobe can
dmesg | grep -i can
/sbin/ip link set $1 up type can bitrate $2
ifconfig | grep $1
insmod $3
dmesg | grep -i isotp