求助,求助linux下拨号脚本问题。。。
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 <asyncmap 0x0> <magic 0x6934b4a5> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x17 <asyncmap 0x0> <auth chap MD5> <magic 0x1176291> <pcomp> <accomp>]
sent [LCP ConfAck id=0x17 <asyncmap 0x0> <auth chap MD5> <magic 0x1176291> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6934b4a5> <pcomp> <accomp>]
rcvd [LCP DiscReq id=0x18 magic=0x1176291]
rcvd [CHAP Challenge id=0x1 <ec9485f5e28ff4142c4912c4444c828c>name="UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 <df1930db81cdcbff39b07ff949b91163>, name = "3gnet"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
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 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>
]
Modem hangup
Connection terminated.
请问为什么会中段连接啊?还有为什么没IP地址。。。。。
------解决方案--------------------
http://docs.kde.org/stable/en/kdenetwork/kppp/modem-hangup.html