Hi everyone,
I am using a Jetson Orin Nano Development Kit with JetPack 5.1 and need to set up CAN communication. I have successfully installed and configured the necessary CAN modules, but after every reboot, I need to manually load the CAN kernel drivers again.
Currently, I am running the following commands after every reboot to get can0
working:
sudo modprobe mttcan
sudo ip link set can0 up type can bitrate 1000000
sudo ifconfig can0 up
Is there a way to automatically load the CAN kernel drivers (mttcan
) and set up can0
every time the Jetson boots?
Any help or guidance would be greatly appreciated!
Thanks in advance. 😊