Перейти к содержанию

Навигация

CAN/en: различия между версиями

Новая страница: «==== Using standard linux tools (manually) ====»
(Новая страница: «==== 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...»)
(Новая страница: «==== 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.


==== Стандартными средствами linux (вручную) ====
==== Using standard linux tools (manually) ====


После переключения порта в режим CAN, нужно выполнить:
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
translator, wb_editors
4295

правок