12 063
правки
(Новая страница: «==== 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 ==== | ||
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 # | 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 # | poff mts # you can replace mts with megafon or beeline | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[File:Etc-network-interfaces.png|300px|thumb|right| | [[File:Etc-network-interfaces.png|300px|thumb|right|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: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
auto ppp0 | auto ppp0 | ||
iface ppp0 inet ppp | iface ppp0 inet ppp | ||
provider mts # | 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. | |||
правки