allow-hotplug can0
iface can0 can static
bitrate 1000000
# up ifconfig $IFACE txqueuelen 128 # It will not wor>
up ip link set $IFACE txqueuelen 128
#up ip link set $IFACE txqueuelen 1024 restart-ms 200 # Bit more aggres>
but i found that after re-installing everything, it was working but after changing the /etc/network/interfaces file to set a static adresse it caused the issue…
auto end1
iface end1 inet static
address 192.168.2.49
netmask 255.255.255.0
gateway 192.168.2.1 # Modify this if needed
dns-nameservers 8.8.8.8 8.8.4.4 # Modify DNS servers if needed