Moved this topic to the forum from the how to article "Reading CAN bus data into ctrlX CORE". @Sgilk for your information.
Currently there is no way to set up the CAN interface via the ctrlX OS web interface.
When an own snap is created it has to have access to the "network-control" interface via a corresponding slot. This is not auto connected because of security reasons. So three possible ways are available:
Settings are made available in the ctrX OS web ui. We created a feature for this that needs to be planned for implementation.
Go through the process of letting your app being signed by Rexroth, so our system will connect the interface. This would be necessary for productive machines.
For testing purposes request a system user assertion by Rexroth to get SSH access with a root user and connect the interface by hand. Then set up the interface by commands: $ sudo ip link set can0 type can bitrate 125000
$ sudo ip link set up can This was tested by our side in some test cases already.
... View more