LinuxSir.cn,穿越时空的Linuxsir!

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

ADSL 自动拨号怎么设置 priovder 文件

[复制链接]
发表于 2010-3-18 12:55:19 | 显示全部楼层 |阅读模式
我看了肯看 /etc/ppp/peers/priovder 文件,想更改设置实现断线后自动拨号,不知道是哪一个

是这几个吗?

# Peer should be alive
lcp-echo-interval 20
lcp-echo-failure 3

# Makes pppd "dial again" when the connection is lost.
persist

怎么修改?
 楼主| 发表于 2010-3-18 13:20:16 | 显示全部楼层
另外这个文件是什么 /etc/ppp/options

# Exit once a connection has been made and terminated. This is the default,
# unless the `persist' or `demand' option has been specified.
#nopersist

# Do not exit after a connection is terminated; instead try to reopen
# the connection.
#persist
回复 支持 反对

使用道具 举报

发表于 2010-3-20 09:59:24 | 显示全部楼层
那个 /etc/ppp/options 只是一个示例文件,真正的配置文件是 /etc/ppp/peers/priovder. 你的已经是“断线重拨”了呀?因为设置了 persist 选项。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-20 10:10:19 | 显示全部楼层
知道了,我实验了一下,果然如此
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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