12 063
правки
(Новая страница: «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. | ||
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. | ||
# | #In case of problems, a backup connection is started and the default gateway settings are changed. | ||
# | #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''. | ||
В качестве примера укажем две инструкции по организации такого режима работы: | В качестве примера укажем две инструкции по организации такого режима работы: |
правки