串行口cdma 无线MODEN在DOS下如何拨号上网 点击:1431 | 回复:1



catted

    
  • 精华:0帖
  • 求助:0帖
  • 帖子:3帖 | 3回
  • 年度积分:0
  • 历史总积分:14
  • 注册:2004年11月02日
发表于:2004-11-15 10:40:00
楼主
我安装了一个CDMA 串口无线MODEN 要在DOS6.22下实现拨#777上网,用的pctcp,串口和驱动都没问题可以AT指令和MODEN交互,但脚本执行到CONNECT阶段时就过不去了请教高手什么原因?以下是部分脚本请参考: ; DIALUP.SCR ; ; Use this template with the COMSCRPT command and Hayes compatible modems. ; You must change the phone number, username, and password. ; If you change a modem command prefix, be sure to use uppercase characters. ;send AT+CGDCONT=1,"IP","cmnet"\r ;send ATE0\r send at+csq?\r send ATZ&F\r ; ; Leave this first pause time at 1 second (the minimum time possible). ; pause 1 ; ; "ATDT" is the Hayes touch-tone dialing prefix. Replace "5551212" ; (and "230") with the phone number (and extension) of the remote site. ; (The commas indicate a four-second pause before dialing the extension; ; add more commas for a longer pause.) ;send ATD13339519868\r ; send ATDt#777\r ;send ATD*99***1#\r ; ; Pause to confirm that the physical layer is open ; poll physical open ; ; For most situations, a 8 second pause should suffice for the remote ; system to respond with a login prompt. Change if necessary. ; pause 3 ; ; Replace "username" with your SLIP or PPP login name (which may be ; different from your username on the remote system). ; send card\r ;send wap\r ; ; For mosr situations, a 4 second pause should suffice for the remote ; system to respond with a password prompt. Change if necwssary. ; pause 1 ; ; Replace "password" with your SLIP or PPP password (which may be ; different from your password on the remote system). ; send card\r ;send wap/r ; ; For mosr situations, a 2 second pause should suffice for the remote ; system to respond with a password. Change if necwssary. ; pause 1 ; ; Switch the packet driver from character mode to packet mode. ; changemode packet ; pause 1 ; ; Send a request to open the LCP layer ; ; Note: Comscrpt ignores the following 3 commands if the SLIP kernel ; (SLPDRV) is being used because SLIP does not have lcp and ipcp ; layers. If using SLIP the presence or absence of these commands ; will not have an adverse effect. ; signal lcp open ; ; Pause to confirm that the lcp and ipcp layers are open. ; poll lcp open poll ipcp open ; ; To set DTR off, add the following line to your script: ; dtr 0 ; ; To set DTR on, add the following line to your script: ; dtr 1



catted

  • 精华:0帖
  • 求助:0帖
  • 帖子:3帖 | 3回
  • 年度积分:0
  • 历史总积分:14
  • 注册:2004年11月02日
发表于:2004-11-24 14:45:00
1楼
为什么只有人看没人回啊?有高人吗

热门招聘
相关主题

官方公众号

智造工程师