LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 945|回复: 1

请高手帮我看一下pppd拨号脚本,急!

[复制链接]
发表于 2003-2-23 10:05:09 | 显示全部楼层 |阅读模式
请高手帮我看一下pppd拨号脚本,201卡拔169,帐号密码169.相关文件在下面.谢谢了
start.sh
_______________
#!/bin/sh
echo ---------------------------------------- >>~/log/ip.log
echo 开始于:>>~/log/ip.log
date >>~/log/ip.log
echo >>~/log/ip.log
/usr/sbin/pppd call 169.0

_______________

169.0
---------------------
/dev/modem
57600
user "169"
noipdefault


mtu 1500
mru 1500
lcp-max-configure 10
lcp-max-terminate 10
lcp-restart 3
connect '/usr/sbin/chat -v -f /etc/ppp/peers/169_chat.0'
---------------------

169_chat.0
---------------------
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "Username/Password Incorrect"
ABORT "Authentication Failure"
ABORT "Bad password"
ABORT "Bad Password"
REPORT CARRIER
REPORT CONNECT
"" "at"
OK "ATZ"
OK "ATM1L2"
OK "ATDT201#,88#,xxxx#,169#"
"ogin:169"
"word:169"
---------------------

options
---------------------
/dev/modem
57600
user "169"
defaultroute
lock
debug
noauth
noipdefault
modem
crtscts
mtu 1500
mru 1500
lcp-max-configure 10
lcp-max-terminate 10
lcp-restart 3
usepeerdns

----------------------
发表于 2003-4-13 18:47:29 | 显示全部楼层
请用过的弟兄说一下吧。多谢。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表