I use the internal CAN from the revpi 5s and I did set the vorrect configuration via the commands:
sudo ip link set can0 up type can bitrate 250000
and:
sudo ip link set dev can0 type can termination 120
communication is working and everything is fine but after restarting the revpi everything is reset, how should I set these parameters permanently?