Quectel UC20 User Manual page 17

Embedded linux usb driver
Hide thumbs Also See for UC20:
Table of Contents

Advertisement

UMTS/HSPA Module
UC20 Embedded Linux USB Driver User Guide
# pppd call Module-UC20
The parameter Module-UC20 is a script file of PPP dial. In general, the PPP dial script files include three
files: "Module-UC20","Chat-Module-UC20-connect" and "Chat-Module-UC20-disconnect".
The content of the file "Module-UC20" is shown as below:
#/etc/ppp/peers/Module-UC20
# Usage: root>pppd call Module-UC20
# Keep pppd attached to the terminal
# Comment this to get daemon mode pppd
nodetach
# For sanity,keep a lock on the serial line
lock
# Serial Device to which the HSPDA phone is connected
/dev/ttyUSB3
# Serial port line speed
115200
user<insert here the correct username for authentication>
password <insert here the correct password for authentication>
# No hardware flow control
nocrtscts
# Ask the peer for up to 2 DNS server addresses
usepeerdns
# The phone is not required to authenticate
noauth
# pppd must not propose any IP address to the peer
noipdefault
# No ppp compression
novj
novjccomp
noccp
# If you want to use the HSDPA link as your gateway
defaultroute
ipcp-accept-local
ipcp-accept-remote
# The chat script(be sure to edit that file,too!)
connect 'chat -s -v -f /etc/ppp/peers/Chat-Module-UC20-connect'
# The close script(be sure to edit that file,too!)
disconnect 'chat -s -v -f /etc/ppp/peers/Chat-Module-UC20-disconnect'
The content of the file "Chat-Module-UC20-connect" is shown as below:
ABORT 'NO CARRIER'
UC20_Embedded_Linux_USB_Driver_User_Guide
Confidential / Released
16 / 18

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UC20 and is the answer not in the manual?

Questions and answers

Table of Contents