- 论坛徽章:
- 0
|
本帖最后由 jylhy 于 2015-03-27 16:57 编辑
我有一块evdo 3g模块,用ppp拨号,第一次ppp-on成功,能上网,但ppp-off后,再进行拨号ppp-on,打印如下
send (AT^M)
expect (OK)
然后就出现乱码,最后失败,如下
# ./ppp-on
# timeout set to 15 seconds
abort on (NO CARRIER)
abort on (ERROR)
abort on (NO DIALTONE)
abort on (BUSY)
abort on (NO ANSWER)
send (AT^M)
expect (OK)
~^?}#@!}!}!} }=}!}$}%(}"}&} } } } }#}%B#}%}%}&'}="G}'}"}(}"mN~~^?}#@!}!}"} }=}!}$}
%(}"}&} } } } }#}%B#}%}%}&'}="G}'}"}(}"^}4~~^?}#@!}!}#} }=}!}$}%(}"}&} } } } }#}%
B#}%}%}&'}="G}'}"}(}"@Z~~^?}#@!}!}$} }=}!}$}%(}"}&} } } } }#}%B#}%}%}&'}="G}'}"}(
alarm
Failed
Connect script failed
我的配置
chat-connect内容如下:
ABORT "BUSY"
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
TIMEOUT 15
"" AT
OK \rATZ
OK-AT-OK ATD#777
CONNECT \d\c
chat-disconnect内容如下:
ABORT "ERROR"
ABORT "NO DIALTONE"
SAY "\NSending break to the modem\n"
""\k"
""+++ATH"
SAY "\nGood bay\n"
各位大侠帮忙看看会是什么问题造成的,不胜感激 |
|