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

Навигация

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

Новая страница: «If the controller is normally connected to the Internet via Ethernet or Wi-Fi, and GPRS is to be used only in case of a main channel failure, this mode of operati…»
(Новая страница: «For more complex cases where the physical connection on the eth0 interface is not lost, it is recommended to use scripts (based on the availability of any network…»)
(Новая страница: «If the controller is normally connected to the Internet via Ethernet or Wi-Fi, and GPRS is to be used only in case of a main channel failure, this mode of operati…»)
Строка 211: Строка 211:
For more complex cases where the physical connection on the eth0 interface is not lost, it is recommended to use scripts (based on the availability of any network bridging on the Internet through one of the interfaces) that switch the default route. The Internet offers many solutions to this kind of problem, you can choose one of them.  
For more complex cases where the physical connection on the eth0 interface is not lost, it is recommended to use scripts (based on the availability of any network bridging on the Internet through one of the interfaces) that switch the default route. The Internet offers many solutions to this kind of problem, you can choose one of them.  


Если контроллер обычно подключён к Интернету через Ethernet или Wi-Fi, а GPRS должен использоваться только при неполадках основного канала, такой режим работы называется ''failover''. Обычно он работает так:
If the controller is normally connected to the Internet via Ethernet or Wi-Fi, and GPRS is to be used only in case of a main channel failure, this mode of operation is called ''failover''. It usually works like this:
# Организуется работа через основной канал.
#Work is organized through the main channel.
# Постоянно проверяется наличие доступа в Интернет через основной канал.
#The availability of Internet access through the main channel is constantly checked.
# В случае неполадок запускается запасное соединение, меняются настройки ''default gateway''.
#In case of problems, a backup connection is started and the default gateway settings are changed.
# Основное соединение постоянно проверяется, и если доступ в Интернет через него восстанавливается, система возвращается к работе через него, изменяя ''default gateway''.
#The main connection is constantly checked, and if the internet access is restored through it, the system returns to work via it, changing the ''default gateway''.


В качестве примера укажем две инструкции по организации такого режима работы:
В качестве примера укажем две инструкции по организации такого режима работы:
12 063

правки