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

Новая страница: «For connection to restart itself when it breaks, and to execute it an unlimited number of times, add the following lines to the connection settings (the settings…»
(Новая страница: «After creating the configuration file, start the connection by running <syntaxhighlight lang="bash"> pon connection name </syntaxhighlight> or by editing ''/etc/n…»)
(Новая страница: «For connection to restart itself when it breaks, and to execute it an unlimited number of times, add the following lines to the connection settings (the settings…»)
Строка 151: Строка 151:
or by editing ''/etc/network/interfaces'', as written above.
or by editing ''/etc/network/interfaces'', as written above.


Чтобы подключение само перезапускалось при обрыве, и делало это неограниченное число раз, добавьте в настройки подключения (файл настроек выбранного оператора в директории /etc/ppp/peers) строки:
For connection to restart itself when it breaks, and  to execute it an unlimited number of times, add the following lines to the connection settings (the settings file of the selected operator is in the /etc/ppp/peers directory) :
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
persist
persist
maxfail 0
maxfail 0
</syntaxhighlight>
</syntaxhighlight>
если их там нет. В последних версиях контроллеров эти параметры сконфигурированы по умолчанию.
if they're not written. In the latest versions of controllers, these settings are configured by default.


Наиболее полные возможности по контролю за установлением подключения к интернету дает использование настройки интерфейса ppp0 в файле ''/etc/network/interfaces''.
Наиболее полные возможности по контролю за установлением подключения к интернету дает использование настройки интерфейса ppp0 в файле ''/etc/network/interfaces''.
12 063

правки