translator, wb_editors
4413
правок
Matveevrj (обсуждение | вклад) (Новая страница: «==== Using standard linux tools (automatically) ==== The '''Network Interfaces''' section of the web interface is a wrapper around the <code>/etc/network/interfaces</code> file, so CAN configuration can be done using the debian network management service. For this you need: # Add to <code>/etc/network/interfaces</code> an entry like this: #:<syntaxhighlight lang="bash"> allow-hotplug can0 iface can0 can static bitrate 125000 </syntaxhighlight> # Switch RS-48...») |
Matveevrj (обсуждение | вклад) (Новая страница: «==== Using standard linux tools (manually) ====») |
||
Строка 27: | Строка 27: | ||
We will get a result similar to setting through the web-interface. | We will get a result similar to setting through the web-interface. | ||
==== | ==== Using standard linux tools (manually) ==== | ||
After switching the port to CAN mode, you need to do: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
ip link set can0 up type can bitrate 125000 | ip link set can0 up type can bitrate 125000 |