setup the usb 2 can interface

This commit is contained in:
Richard Koeppe 2024-07-01 18:49:37 +02:00
parent 19ca66a3b6
commit 35ef07635b
1 changed files with 6 additions and 0 deletions

6
usb2can.bash Executable file
View File

@ -0,0 +1,6 @@
#! /bin/bash
ip addr ls dev can0
ip link set can0 type can bitrate 500000
ip link set up can0