diff options
Diffstat (limited to 'candump.sh')
| -rw-r--r-- | candump.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/candump.sh b/candump.sh new file mode 100644 index 0000000..1b3201d --- /dev/null +++ b/candump.sh @@ -0,0 +1,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 |
