Difference between revisions of "Transclusion: Debian: CAN Bus: CAN Iface"

From Compulab Mediawiki
Jump to: navigation, search
imported>Ilya
(Created page with "===== CAN interface configuration ===== It is recommended configure the CAN interface, with the {{filename|iproute2}} utilities. * To make sure the right {{filename|ip}} util...")
 
(No difference)

Latest revision as of 08:35, 21 April 2020

CAN interface configuration

It is recommended configure the CAN interface, with the iproute2 utilities.

  • To make sure the right ip utility is used, run:
root@cl-rootfs:~# ip -V
ip utility, iproute2-ss151103
  • Configure the CAN interface bit-rate to 125 Kbits/sec (values of up to 1Mbit/sec are supported):
root@cl-rootfs:~# ip link set can0 type can bitrate 125000
  • Enable the CAN interface:
root@cl-rootfs:~# ip link set can0 up