与 GSM/GPRS 调制解调器的 pppd 连接,几次后重新拨号
我目前正在将 GSM/GPRS 调制解调器 HUAWEI e1550 连接到 ISP 的网络。我能够连接它,但是在断开连接和连接几次后我无法再连接,并且我的调制解调器开始不应答,我不知道为什么!
我通过 pppd 调用 tmn-3g <- 我的 ISP conf ppp 文件进行连接 这是我的 /etc/ppp/chat 文件:
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 10
"" "ATZ"
OK "AT&F"
OK 'AT+CGDCONT=1,"IP","internet"'
SAY "Calling...\n"
TIMEOUT 120
OK "ATD*99***1#"
CONNECT \c
这是我的 /etc/ppp/peers/tmn-3g
/dev/ttyUSB0
460800
lock
crtscts
modem
noauth
defaultroute
user tmn
password tmn
connect "/usr/sbin/chat -V -f /etc/ppp/chat-tmn-3g"
noipdefault
usepeerdns
nobsdcomp
novj
你能帮我吗?
是否可以重新启动我的 USB 端口,以便我可以重新启动所有进程?我认为这可能是一个解决方案..
或者还有其他方法吗?
提前谢谢..
I'm currently connecting my GSM/GPRS modem HUAWEI e1550 to my ISP's network. I'm able to get it connected, but after disconnecting and connecting a few times I'm not able to do it anymore, and my modem starts not to answer, and I don't no why!
I connect through pppd call tmn-3g <- my ISP conf ppp file
This is my /etc/ppp/chat file:
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 10
"" "ATZ"
OK "AT&F"
OK 'AT+CGDCONT=1,"IP","internet"'
SAY "Calling...\n"
TIMEOUT 120
OK "ATD*99***1#"
CONNECT \c
And here is my /etc/ppp/peers/tmn-3g
/dev/ttyUSB0
460800
lock
crtscts
modem
noauth
defaultroute
user tmn
password tmn
connect "/usr/sbin/chat -V -f /etc/ppp/chat-tmn-3g"
noipdefault
usepeerdns
nobsdcomp
novj
Can you help me with this?
Is it possible to restart my usb ports so that I can restart all the process?I though this could be a solution..
Or is there any other way to do it?
tks in advance..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这更像是一条评论,而不是一个答案(在 stackoverflow 上没有评论权限...)
似乎 该帖子是关于类似的问题。
我有一个有点类似好吧,也许这会有所帮助。
This is more a comment than an answer (don't have comment privilege on stackoverflow...)
Seems this thread is about a similar issue.
I had a somewhat similar one as well, maybe this can help.