Translations:Wirenboard6:InstallingOnTheRemoteSite/39/en

Материал из Wiren Board

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 you connect the network interface ppp (ppp0 is the default). In the factory configuration settings for the ppp0 port is commented out, and there is no connection with the mobile provider. In our Wiki we recommend using the following settings for the ppp0 interface in the /etc/network/interfacesfile:

 auto ppp0
 iface ppp0 inet ppp
 provider mts
 #Restart modem if it's frozen
 pre-up wb-gsm restart_if_broken  
 #Then wait for it to load and find the network.
 pre-up sleep 10

Even if the modem is in a hung or disconnected state, the pre-up wb-gsm restart_if_broken command will reboot the modem and make sure it is available before starting the connection. A ten-second delay (pre-up sleep 10) before connection is usually enough to establish a network connection from the first time.