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

Материал из Wiren Board
(Новая страница: «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…»)
 
м (FuzzyBot переименовал страницу Translations:GSM/GPRS/24/en в Translations:Modem-stretch/24/en без оставления перенаправления: Часть переводимой страницы GSM/GPRS.)
 
(нет различий)

Текущая версия на 09:42, 31 марта 2023

Определение сообщения (Modem-stretch)
В стандартное ПО Wiren Board входят настройки подключения для операторов МТС, Мегафон и Билайн по протоколу ppp. Если вы пользуетесь одним из них, для запуска подключения выполните команду 
<syntaxhighlight lang="bash">
pon mts # можно заменить mts на megafon или beeline
</syntaxhighlight>
Чтобы отключить подключение, выполните
<syntaxhighlight lang="bash">
poff mts # можно заменить mts на megafon или beeline
</syntaxhighlight>
[[File:Etc-network-interfaces.png|300px|thumb|right|Файл ''/etc/network/interfaces'', автоматически запускающий подключение к МТС]]
Чтобы подключение запускалось автоматически, откройте файл ''/etc/network/interfaces'' и раскомментируйте/отредактируйте следующие строки:
<syntaxhighlight lang="bash">
auto ppp0
iface ppp0 inet ppp
  provider mts # можно заменить mts на megafon или beeline
</syntaxhighlight>
Но если вы хотите, чтобы подключение само восстанавливалось при обрыве, смотрите полную инструкцию ниже.

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

pon mts # you can replace mts with megafon or beeline

To disable the connection, run

poff mts # you can replace mts with megafon or beeline
File /etc/network/interfaces, starts connection to MTS automatically

To start the connection automatically, open the /etc/network/interfaces file and uncomment/edit the following lines:

auto ppp0
iface ppp0 inet ppp
  provider mts #  you can replace mts with megafon or beeline

But if you want the connection to restore itself when it breaks, see the full instructions below.