Все переводы

Введите имя сообщения для показа всех доступных переводов.

Сообщение

Найдено 2 перевода.

СообщениеТекущий текст
 ист. английский (en)==== 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-485-2 port to CAN mode
We will get a result similar to setting through the web-interface.
 ист. русский (ru)==== Стандартными средствами linux (автоматически) ====
Раздел '''Network Interfaces''' веб-интерфейса — это обёртка вокруг файла <code>/etc/network/interfaces</code>, поэтому настройку CAN можно произвести с помощью службы управления сетями ОС debian. Для этого нужно:
# Добавить в <code>/etc/network/interfaces</code> запись вида:
#:<syntaxhighlight lang="bash">
allow-hotplug can0
iface can0 can static
bitrate 125000
</syntaxhighlight>
# Переключить порт RS-485-2 в режим CAN
Получим результат, аналогичный настройке через веб-интерфейс.