root none dialup cat dialup dev usb tts 921600 debug asyncmap 20A0000

 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
[root@(none) dialup]$ cat dialup
/dev/usb/tts/0
921600
debug
asyncmap 20A0000
escape FF
defaultroute
nodetach
mtu 1400
crtscts
noipdefault
ipcp-accept-local
ipcp-accept-remote
nomppc
nomppe
novj
novjccomp
lock
noipdefault
lcp-echo-interval 60
lcp-echo-failure 5
usepeerdns
noauth
user "$username$"
connect "/usr/sbin/chat -s -S -V -t 60 -f /tmp/ppp/peers/dialup.chat 2>/tmp/chat.log"
[root@(none) dialup]$ cat dialup.chat
'' ''
'' 'ATZ'
'OK' 'ATS7=60'
'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0'
'OK' 'ATD $dialno$'
'CONNECT' ''