Hi everyone,
I have a small question in ppp. My appication is access internet via GSM module.
My configuration:
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
I changed:
user "myusername@realm" --> I dont know how to get this
******** --> m-wap <this is an APN of mobile network- MOBIFONE SIM>
/dev/ttyS --> /dev/ttyUSB3
Should I edit another file ?
解決済! 解決策の投稿を見る。
Hi Dao,
Refer to the document to port your 4G LTE to your embedded linux system, please!
Embedded Linux Systems - GSM/3G/4G
Have a nice day!
BR,
Weidong
Hi Dao,
Refer to the document to port your 4G LTE to your embedded linux system, please!
Embedded Linux Systems - GSM/3G/4G
Have a nice day!
BR,
Weidong
Thank you weidong.sun