diff --git a/articles/misc/socket_can_linux/Readme.md b/articles/misc/socket_can_linux/Readme.md index 0ff727d..d441bcb 100644 --- a/articles/misc/socket_can_linux/Readme.md +++ b/articles/misc/socket_can_linux/Readme.md @@ -13,7 +13,7 @@ sudo ip link set can0 up type can bitrate 500000 Virtual CAN: ```console -sudo ip link add dev vcan0 type vcan +sudo ip link set vcan0 up type vcan ``` ## View and record dump @@ -36,5 +36,11 @@ Assume to replay a file recored on can0 on vcan0: canplayer vcan0=can0 -I candump-2024-06-13_150626.log ``` +To replay an infinite number of times: +```console +canplayer vcan0=can0 -I candump-2024-06-13_150626.log -l -i +``` + + ## References - [CAR Hacking 101](https://medium.com/@yogeshojha/car-hacking-101-practical-guide-to-exploiting-can-bus-using-instrument-cluster-simulator-part-ee998570758) \ No newline at end of file