12 063
правки
(Новая страница: «String <code>provider</code> makes <code>pppd</code> find the settings file for a specific provider in the directory <code>/etc/ppp/peers</code>, in this example…») |
(Новая страница: «To ensure that the controller does not stop trying to communicate when the connection is lost, the options in the provider settings file <code>/etc/ppp/peers/</co…») |
||
Строка 143: | Строка 143: | ||
String <code>provider</code> makes <code>pppd</code> find the settings file for a specific provider in the directory <code>/etc/ppp/peers</code>, in this example it is the file <code>/etc/ppp/peers/mts</code>. For compatibility reasons, this file specifies that the modem device <code>/dev/ttyGSM</code>should be used as the modem device in the factory setting. If you have a 3G modem installed on your controller, replace it with a faster one <code>/dev/ttyACM0</code>. | String <code>provider</code> makes <code>pppd</code> find the settings file for a specific provider in the directory <code>/etc/ppp/peers</code>, in this example it is the file <code>/etc/ppp/peers/mts</code>. For compatibility reasons, this file specifies that the modem device <code>/dev/ttyGSM</code>should be used as the modem device in the factory setting. If you have a 3G modem installed on your controller, replace it with a faster one <code>/dev/ttyACM0</code>. | ||
To ensure that the controller does not stop trying to communicate when the connection is lost, the options in the provider settings file <code>/etc/ppp/peers/</code> must be uncommented | |||
<pre> | <pre> | ||
persist | persist | ||
maxfail 0 | maxfail 0 | ||
</pre> | </pre> | ||
The packet data Protocol parameters and connection numbers for each provider are stored in the /etc/chatscripts directory. In most cases, you do not have to change anything in these files. | |||
правки