6 This method may be used to setup a Controller Area Network (CAN)
7 interface. It requires the the *ip* command from the *iproute* package.
10 bitrate bitrate -- bitrate (1..1000000) *required*
11 samplepoint samplepoint -- sample point (0.000..0.999)
12 loopback loopback -- loop back CAN Messages (on|off)
13 listenonly listenonly -- listen only mode (on|off)
14 triple triple -- activate triple sampling (on|off)
15 oneshot oneshot -- one shot mode (on|off)
16 berr berr -- activate berr reporting (on|off)
19 ip link set %iface% type can bitrate %bitrate%
20 [[ ip link set %iface% type can loopback %loopback% ]]
21 [[ ip link set %iface% type can listen-only %listenonly% ]]
22 [[ ip link set %iface% type can triple-sampling %triple% ]]
23 [[ ip link set %iface% type can one-shot %oneshot% ]]
24 [[ ip link set %iface% type can berr-reporting %berr% ]]
25 ip link set %iface% up
28 ip link set %iface% down