|
楼主 |
发表于 2005-3-8 12:32:32
|
显示全部楼层
现在在option加入ipcp-accept-local
ipcp-accept-remote,提示如下:
[root@localhost ~]# pppd file /etc/ppp/peers/gprs
Press CTRL-C to close the connection at any stage!
defining PDP context...
rAT
OK
ATE1
OK
AT+CMEE=2
OK
AT+CGDCONT=1
OK
AT+CGDCO,0,0
OK
waiting for connect...
ATD*99#
CONNECT
Connected.
If the following ppp negotiations fail,
try restarting the phone.
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ircomm0
sent [LCP ConfReq id=0x1 <mru 500> <asyncmap 0x20a0000>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap>]
sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <auth pap>]
rcvd [LCP ConfRej id=0x1 <mru 500>]
sent [LCP ConfReq id=0x2 <asyncmap 0x20a0000>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x20a0000>]
sent [PAP AuthReq id=0x1 user="isp" password=<hidden>]
sent [PAP AuthReq id=0x2 user="isp" password=<hidden>]
sent [PAP AuthReq id=0x3 user="isp" password=<hidden>]
rcvd [PAP AuthAck id=0x3 "Login OK"]
Remote message: Login OK
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
rcvd [IPCP ConfNak id=0x1 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
sent [IPCP ConfReq id=0x2 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
rcvd [IPCP ConfAck id=0x2 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
local IP address 10.16.174.189
remote IP address 192.200.1.21
primary DNS address 211.136.17.107
secondary DNS address 211.136.18.171
Script /etc/ppp/ip-up started (pid 3631)
Script /etc/ppp/ip-up finished (pid 3631), status = 0x0
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
Script /etc/ppp/ip-down started (pid 363
sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
rcvd [IPCP ConfNak id=0x3 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
sent [IPCP ConfReq id=0x4 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
rcvd [IPCP ConfAck id=0x4 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
local IP address 10.16.174.189
remote IP address 192.200.1.21
primary DNS address 211.136.17.107
secondary DNS address 211.136.18.171
Script /etc/ppp/ip-down finished (pid 363, status = 0x0
Script /etc/ppp/ip-up started (pid 3651)
Script /etc/ppp/ip-up finished (pid 3651), status = 0x0
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
Script /etc/ppp/ip-down started (pid 365
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
Script /etc/ppp/ip-down finished (pid 365, status = 0x0
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfNak id=0x5 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
sent [IPCP ConfReq id=0x6 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfReq id=0x6 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
rcvd [IPCP ConfAck id=0x6 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
local IP address 10.16.174.189
remote IP address 192.200.1.21
primary DNS address 211.136.17.107
secondary DNS address 211.136.18.171
Script /etc/ppp/ip-up started (pid 3671)
Script /etc/ppp/ip-up finished (pid 3671), status = 0x0
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
Script /etc/ppp/ip-down started (pid 367
sent [IPCP ConfReq id=0x7 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
rcvd [IPCP ConfNak id=0x7 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
sent [IPCP ConfReq id=0x8 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
rcvd [IPCP ConfAck id=0x8 <addr 10.16.174.189> <ms-dns1 211.136.17.107> <ms-dns3 211.136.18.171>]
local IP address 10.16.174.189
remote IP address 192.200.1.21
primary DNS address 211.136.17.107
secondary DNS address 211.136.18.171
Script /etc/ppp/ip-down finished (pid 367, status = 0x0
Script /etc/ppp/ip-up started (pid 3691)
Script /etc/ppp/ip-up finished (pid 3691), status = 0x0
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
Script /etc/ppp/ip-down started (pid 369
sent [IPCP ConfReq id=0x9 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
Script /etc/ppp/ip-down finished (pid 369, status = 0x0
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfReq id=0x9 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfReq id=0x9 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfAck id=0x1 <addr 192.200.1.21>]
sent [IPCP ConfReq id=0x9 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP TermReq id=0x2 "No network protocols running"]
LCP terminated by peer (No network protocols running)
sent [LCP TermAck id=0x2]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Connect time 0.7 minutes.
Sent 548 bytes, received 266 bytes.
Sending break to the modem
+++ATHFailed
disconnect script failed
Connect time 0.7 minutes.
Sent 548 bytes, received 266 bytes.
[root@localhost ~]# |
|