- 論壇徽章:
- 0
|
使用3G連上10分鐘之后,就會(huì)斷掉連接,返回 LCP terminated by peer,
是不是調(diào)用腳本需要個(gè)什么選項(xiàng)參數(shù)?
下面是我的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
復(fù)制代碼 下面是兩次掉線的打印信息:
# 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. |
|