-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathquectel
54 lines (52 loc) · 1.28 KB
/
quectel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# /etc/ppp/peers/quectel
# Usage:root>pppd call quectel
#Modem path, like /dev/ttyUSB3,/dev/ttyACM0, depend on your module, default path is /dev/ttyUSB3
/dev/ttyUSB3 115200
#Insert the username and password for authentication, default user and password are test
user "true" password "true"
# True Move H
# user "" password ""
# China Unicom
# The chat script, customize your APN in this file
connect 'chat -s -v -f /etc/ppp/peers/quectel-chat-connect'
#connect '/usr/bin/wvdial -c'
#connect 'stty -F /dev/ttyUSB3 1>&2'
# The close script
disconnect 'chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect'
#disconnect '/usr/bin/wvdial -c /etc/ppp/peers/quectel-chat-disconnect'
# Hide password in debug messages
hide-password
# The phone is not required to authenticate
noauth
# Debug info from pppd
debug
# If you want to use the HSDPA link as your gateway
defaultroute
# pppd must not propose any IP address to the peer
#noipdefault
# No ppp compression
#-chap
novj
#nobsdcomp
novjccomp
#nopcomp
#noaccomp
#asyncmap 0
noccp
ipcp-accept-local
ipcp-accept-remote
local
# For sanity, keep a lock on the serial line
#receive-all
lock
modem
dump
nodetach
# Hardware flow control
nocrtscts
remotename 3gppp
ipparam 3gppp
ipcp-max-failure 30
# Ask the peer for up to 2 DNS server addresses
usepeerdns
#mtu 1500