we use an better config for the canbus:
/etc/network/interfaces.d/can0:
#physical can interfaces
allow-hotplug can0
iface can0 can static
bitrate 250000
pre-up ip link set can0 type can restart-ms 100
down /sbin/ip link set $IFACE down
up /sbin/ifconfig $IFACE txqueuelen 10000
This has an automatical restart timer for the bus included.
try it out, before we found this somewhere in the finnisch HatLABs Documentation (thanks matti)
we had many quirks in high traffic CAN installations.
lg holger
PS: why is your quelengh so big?
/etc/network/interfaces.d/can0:
#physical can interfaces
allow-hotplug can0
iface can0 can static
bitrate 250000
pre-up ip link set can0 type can restart-ms 100
down /sbin/ip link set $IFACE down
up /sbin/ifconfig $IFACE txqueuelen 10000
This has an automatical restart timer for the bus included.
try it out, before we found this somewhere in the finnisch HatLABs Documentation (thanks matti)
we had many quirks in high traffic CAN installations.
lg holger
PS: why is your quelengh so big?