I have a small question in ppp. My appication is access internet via GSM module.
iMX6 UltraLite EVK with Distro 4.9.88-2.0.0 (rocko) and
pppd version 2.4.7.
GSM module - Quectel UC15
And the problem is i dont know the exactly way to configure ppp package. The error is:
Connect script failed.
I configured the ppp package follow this steps:
$ nano /etc/ppp/peers/provider
provider file content:
# example configuration for a dialup connection authenticated with PAP or CHAP # This is the default configuration used by pon(1) and poff(1). # See the manual page pppd(8) for information on all the options.
# MUST CHANGE: replace myusername@realm with the PPP login name given to # your by your provider. # There should be a matching entry with the password in /etc/ppp/pap-secrets # and/or /etc/ppp/chap-secrets. user "myusername@realm"
# MUST CHANGE: replace ******** with the phone number of your provider. # The /etc/chatscripts/pap chat script may be modified to change the # modem initialization string. connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T********"
# Serial device to which the modem is connected. /dev/ttyS
# Speed of the serial line. 115200
# Assumes that your IP address is allocated dynamically by the ISP. noipdefault # Try to get the name server addresses from the ISP. usepeerdns # Use this connection as the default route. defaultroute
# Makes pppd "dial again" when the connection is lost. persist
# Do not ask the remote to authenticate. noauth
user "myusername@realm" --> I dont know how to get this
******** --> m-wap <this is an APN of mobile network- MOBIFONE SIM>