summaryrefslogtreecommitdiff
path: root/candump.sh
blob: 1b3201d8a708b1a27ff1b73b62d6267429182286 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# https://www.kernel.org/doc/Documentation/networking/can.txt
# https://github.com/linux-can/can-utils

ip link set can0 up type can bitrate 250000
ifconfig can0 up
#ifconfig can0 txqueuelen 65536

#ip link set can1 up type can bitrate 250000
#ifconfig can1 txqueuelen 65536