Wirenboard6:InstallingOnTheRemoteSite/en: различия между версиями

Новая страница: «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…»
(Новая страница: «The pppd daemon is pre-installed on the controller, which is used to create a connection to the provider's network via 3G/2G modem. The PPP daemon creates when yo…»)
(Новая страница: «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…»)
Строка 141: Строка 141:
Even if the modem is in a hung or disconnected state, the <code>pre-up wb-gsm restart_if_broken</code> command will reboot the modem and make sure it is available before starting the connection. A ten-second delay (<code>pre-up sleep 10</code>) before connection is usually enough to establish a network connection from the first time.  
Even if the modem is in a hung or disconnected state, the <code>pre-up wb-gsm restart_if_broken</code> command will reboot the modem and make sure it is available before starting the connection. A ten-second delay (<code>pre-up sleep 10</code>) before connection is usually enough to establish a network connection from the first time.  


Строка <code>provider</code> заставляет <code>pppd</code> искать файл настроек для конкретного провайдера в директории <code>/etc/ppp/peers</code>, в нашем случае это файл <code>/etc/ppp/peers/mts</code>. В целях совместимости в качестве устройства модема в заводской настройке в этом файле указано использовать устройство <code>/dev/ttyGSM</code>. Если на вашем контроллере установлен 3G-модем, замените это устройство его на более быстрое <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>.


Чтобы при обрыве соединения контроллер не прекращал бы попытки установить связь, в файле настроек провайдера <code>/etc/ppp/peers/</code> должны быть раскомментированы опции
Чтобы при обрыве соединения контроллер не прекращал бы попытки установить связь, в файле настроек провайдера <code>/etc/ppp/peers/</code> должны быть раскомментированы опции
12 063

правки