I am trying to setup canbus on a fleet of vehicles using the beaglebone green. I have working can bus on a beaglebone green without docker or balena. My trouble is trying to turn on can0 and can1. I have edited the /etc/network/interfaces document on my beaglebone but don’t know how to do that. Additionally I am used to setting up the pin configuration using a pin config shell script. This requires a service to be established in systemd. I found this complex with balena and docker so I instead tried to simply RUN “config-pin p9.19” unfortunately this does not work. What should I do to get this working. I have tried installing the bb-cape-overlays but this does not work.
I am using FROM balenalib/beaglebone-green-golang:latest-build AS build