Configuring CAN interface during boot

This is an easy way to configure a CAN bus interface during boot. Just create a new config file:

$ sudo nano /etc/network/interfaces.d/can0

...and add the following:

allow-hotplug can0
iface can0 can static
    bitrate 125000

Supported bitrates are 125000, 250000, 500000, 1000000 for standard CAN (non-FD).

Recent posts:

  1. 12 August 2015: A closer look at GStreamer pipelines

  2. 04 May 2015: Building Yocto 1.8 "Fido" for i.MX6

  3. 03 April 2015: Securing the SSH server

  4. 26 March 2015: Mainline Buildroot for RIoTboard

  5. 21 February 2015: Building Yocto 1.7 "Dizzy" for i.MX6

  6. 28 January 2015: Linux audio support for RIoTboard

  7. 19 October 2014: debconf: warning: possible database corruption

  8. 10 October 2014: Mainline Linux for RIoTBoard

  9. 11 September 2014: Building Yocto 1.6 "Daisy" for i.MX6

  10. 10 September 2014: Getting my UPS to work with Linux

See Archives for a complete list of articles