UMTS/HSPA Module Series
UC20 PPP Application Note
UC20_PPP_Application_Note Confidential / Released 25 / 29
6
PPP Dial-up in Linux
6.1. Prepare PPPD and CHAT
In Linux system, PPP dial-up is implemented by PPPD and CHAT, it’s necessary to install PPPD and
CHAT before establishing PPP connection.
6.2. Create Script Files
Create three script files, which are named as “wcdma”, “wcdma-chat-connect”, “wcdma-chat-disconnect”
in “/etc/ppp/peers” directory. The content of these three files are shown below:
The content of the file "wcdma" is shown as below:
nodetach
nolock
/dev/ttyUSB3
//Must be your own device descriptor for UC20 USB Modem Port.
115200
user ""
//Modify your user name here if necessary, it’s null in example.
password ""
//Modify your password here if necessary, it’s null in example.
nocrtscts
modem
hide-password
usepeerdns
noauth
noipdefault
novj
novjccomp
noccp
debug
defaultroute
ipcp-accept-local
ipcp-accept-remote
connect 'chat -s -v -f /etc/ppp/peers/wcdma-chat-connect'
disconnect 'chat -s -v -f /etc/ppp/peers/wcdma-chat-disconnect'
Quectel
Confidential