I have a beaglebone black running lastet official debian. I've added a custom cape to /etc/default/capemgr:
CAPE=BB-DCAN1
I also added these lines to /etc/network/interfaces:
auto can0
iface can0 can static
bitrate 1000000
and executing ifup -a after booting works just fine. Can anyone explain how to bring can0 up at startup?