当前位置: 技术问答>linux和unix
求助,求助linux下拨号脚本问题。。。
来源: 互联网 发布时间:2017-01-23
本文导语: chat脚本: ABORT "DELAYED" ABORT "BUSY" ABORT "ERROR" ABORT "NO DIALTONE" ABORT "NO CARRIER" TIMEOUT 30 '' rAT OK ATE1 OK AT+CGDCONT=1,"IP","3gnet" OK ATDT*98# CONNECT options脚本: /dev/ttyUSB_utps_modem 115200 lock crtscts debug nodetach usepeerdns noipdefault def...
chat脚本:
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
ABORT "NO CARRIER"
TIMEOUT 30
'' rAT
OK ATE1
OK AT+CGDCONT=1,"IP","3gnet"
OK ATDT*98#
CONNECT
options脚本:
/dev/ttyUSB_utps_modem
115200
lock
crtscts
debug
nodetach
usepeerdns
noipdefault
defaultroute
user "3gnet"
ipcp-accept-local
ipcp-accept-remote
connect '/usr/sbinat -s -v -f /etcp/gprs-connect-chat'
拨号后出现的信息:
Serial connection established.
using channel 16
Using interface ppp1
Connect: ppp1 /dev/ttyUSB_utps_modem
sent [LCP ConfReq id=0x1 ]
rcvd [LCP ConfReq id=0x17 ]
sent [LCP ConfAck id=0x17 ]
rcvd [LCP ConfAck id=0x1 ]
rcvd [LCP DiscReq id=0x18 magic=0x1176291]
rcvd [CHAP Challenge id=0x1 name="UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 , name = "3gnet"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 ]
sent [IPCP ConfReq id=0x1 ]
rcvd [LCP ProtRej id=0x19 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfNak id=0x1 ]
sent [IPCP ConfReq id=0x2 ]
rcvd [IPCP ConfNak id=0x2 ]
sent [IPCP ConfReq id=0x3 ]
rcvd [IPCP ConfNak id=0x3 ]
sent [IPCP ConfReq id=0x4
]
Modem hangup
Connection terminated.
请问为什么会中段连接啊?还有为什么没IP地址。。。。。
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
ABORT "NO CARRIER"
TIMEOUT 30
'' rAT
OK ATE1
OK AT+CGDCONT=1,"IP","3gnet"
OK ATDT*98#
CONNECT
options脚本:
/dev/ttyUSB_utps_modem
115200
lock
crtscts
debug
nodetach
usepeerdns
noipdefault
defaultroute
user "3gnet"
ipcp-accept-local
ipcp-accept-remote
connect '/usr/sbinat -s -v -f /etcp/gprs-connect-chat'
拨号后出现的信息:
Serial connection established.
using channel 16
Using interface ppp1
Connect: ppp1 /dev/ttyUSB_utps_modem
sent [LCP ConfReq id=0x1 ]
rcvd [LCP ConfReq id=0x17 ]
sent [LCP ConfAck id=0x17 ]
rcvd [LCP ConfAck id=0x1 ]
rcvd [LCP DiscReq id=0x18 magic=0x1176291]
rcvd [CHAP Challenge id=0x1 name="UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 , name = "3gnet"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 ]
sent [IPCP ConfReq id=0x1 ]
rcvd [LCP ProtRej id=0x19 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfNak id=0x1 ]
sent [IPCP ConfReq id=0x2 ]
rcvd [IPCP ConfNak id=0x2 ]
sent [IPCP ConfReq id=0x3 ]
rcvd [IPCP ConfNak id=0x3 ]
sent [IPCP ConfReq id=0x4
]
Modem hangup
Connection terminated.
请问为什么会中段连接啊?还有为什么没IP地址。。。。。
|