This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
N2k/CAN stops listening after 25mins
#2
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?
Reply


Messages In This Thread
RE: N2k/CAN stops listening after 25mins - by holgerw - 2023-03-30, 06:26 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)