Files
CanRtDriver/scripts/can_link_up.sh
2025-12-12 18:50:18 +01:00

12 lines
210 B
Bash
Executable File

#!/bin/bash
ip link set can0 up type can bitrate 250000
ip link set can1 up type can bitrate 250000
sleep 5
ifconfig can0 txqueuelen 65536
ifconfig can1 txqueuelen 65536
sleep 10
systemctl start CanRtDriver