linux定时拨号脚本,,linux下拨号脚本有关问题。

当前位置:我的异常网» Linux/Unix » ,linux下拨号脚本有关问题。

,linux下拨号脚本有关问题。

www.myexceptions.net  网友分享于:2013-05-22  浏览:53次

求助,求助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 ]

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地址。。。。。

------解决方案--------------------

http://docs.kde.org/stable/en/kdenetwork/kppp/modem-hangup.html

文章评论

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值