12 063
правки
(Новая страница: «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…») |
(Новая страница: «The usage of the ppp0 interface configuration in ''/etc/network/interfaces'' file gives the most comprehensive ability to control establishing the connection to t…») |
||
Строка 158: | Строка 158: | ||
if they're not written. In the latest versions of controllers, these settings are configured by default. | if they're not written. In the latest versions of controllers, these settings are configured by default. | ||
The usage of the ppp0 interface configuration in ''/etc/network/interfaces'' file gives the most comprehensive ability to control establishing the connection to the Internet. The most popular option is the ability to execute commands before installing and after enabling/disabling the ppp0 interface. | |||
В файле /etc/network/interfaces для настройки ppp можно использовать стандартные iface-опции pre-up, up, post-up, down, pre-down, post-down. Они задают команды, которые будут выполняться на различных фазах инициализации/деинициализации интерфейса. Подробно особенности их функционирования описаны в [http://manpages.ubuntu.com/manpages/trusty/man5/interfaces.5.html man interfaces] в разделе IFACE OPTIONS. | В файле /etc/network/interfaces для настройки ppp можно использовать стандартные iface-опции pre-up, up, post-up, down, pre-down, post-down. Они задают команды, которые будут выполняться на различных фазах инициализации/деинициализации интерфейса. Подробно особенности их функционирования описаны в [http://manpages.ubuntu.com/manpages/trusty/man5/interfaces.5.html man interfaces] в разделе IFACE OPTIONS. |
правки