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

Новая страница: «In the standard software set of the Wiren Board controller connection settings in ppp protocol for MTS, MegaFon and Beeline mobile operators are included. If yo…»
(Новая страница: «==== Quick setup of automatic Internet access ====»)
(Новая страница: «In the standard software set of the Wiren Board controller connection settings in ppp protocol for MTS, MegaFon and Beeline mobile operators are included. If yo…»)
Строка 98: Строка 98:
==== Quick setup of automatic Internet access ====
==== Quick setup of automatic Internet access ====


В стандартное ПО Wiren Board входят настройки подключения для операторов МТС, Мегафон и Билайн по протоколу ppp. Если вы пользуетесь одним из них, для запуска подключения выполните команду
In the standard software  set of the Wiren Board controller connection settings in ppp protocol for MTS, MegaFon and Beeline mobile operators  are included. If you are using one of them, run the following command to start the connection
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
pon mts # можно заменить mts на megafon или beeline
pon mts # you can replace mts with megafon or beeline
</syntaxhighlight>
</syntaxhighlight>
Чтобы отключить подключение, выполните
To disable the connection, run
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
poff mts # можно заменить mts на megafon или beeline
poff mts # you can replace mts with megafon or beeline
</syntaxhighlight>
</syntaxhighlight>
[[File:Etc-network-interfaces.png|300px|thumb|right|Файл ''/etc/network/interfaces'', автоматически запускающий подключение к МТС]]
[[File:Etc-network-interfaces.png|300px|thumb|right|File ''/etc/network/interfaces'', starts connection to MTS automatically]]
Чтобы подключение запускалось автоматически, откройте файл ''/etc/network/interfaces'' и раскомментируйте/отредактируйте следующие строки:
To start the connection automatically, open the ''/etc/network/interfaces'' file and uncomment/edit the following lines:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
auto ppp0
auto ppp0
iface ppp0 inet ppp
iface ppp0 inet ppp
   provider mts # можно заменить mts на megafon или beeline
   provider mts # you can replace mts with megafon or beeline
</syntaxhighlight>
</syntaxhighlight>
Но если вы хотите, чтобы подключение само восстанавливалось при обрыве, смотрите полную инструкцию ниже.
But if you want the connection to restore itself when it breaks, see the full instructions below.




12 063

правки