- 论坛徽章:
- 0
|
使用3G连上10分钟之后,就会断掉连接,返回 LCP terminated by peer,
是不是调用脚本需要个什么选项参数?
下面是我的3G的call script(CDMA2000),- /dev/ttyUSB0
- 115200
- connect "/bin/chat -s -S -V -t 30 -f /etc_ro/usb/peers/3g.chat"
- noipdefault
- lock
- crtscts
- modem
- ipcp-accept-local
- defaultroute
- usepeerdns
- default-asyncmap
- nopcomp
- noaccomp
- novj
- nobsdcomp
- nodeflate
- noauth
- refuse-eap
- maxfail 1
- lcp-echo-interval 30
- lcp-echo-failure 5
- chap-interval 60
- usepeerdns
- nodetach
- user 'ctnet@mycdma.cn'
- password 'vnet.mobi'
- mtu 1492
- persist
复制代码 下面是两次掉线的打印信息:
# LCP terminated by peer
(ipdown_main:177)=> enter.
(wan_down:1992)=> done
(ipdown_main:18 => done
Connection terminated.
Connect time 10.1 minutes.
Sent 64 bytes, received 194 bytes.
# LCP terminated by peer
(ipdown_main:177)=> enter.
(wan_down:1992)=> done
(ipdown_main:18 => done
Connection terminated.
Connect time 13.7 minutes.
Sent 152 bytes, received 714 bytes. |
|