我是在centos4.3上面搭建的pppoe-server
/etc/ppp/pppoe-server-options文件配置:
require-chap
login
lcp-echo-interval 10
lcp-echo-failure 2
/etc/ppp/chap-secrets文件的配置:
#Secrets for authentication using CHAP
#client server secret IP addresses
"abc" * "123" *
配置完毕,启动pppoe-server
pppoe-server -L 192.168.0.204 -R 192.168.0.70 -N 30 -u
ok了,此时ps -A 会有pppoe-server的进程。
客户端用adsl-setup进行配置,配置完后
启动连接:/sbin/ifup ppp0
关闭连接:/sbin/ifdown ppp0
察看连接状态:/sbin/adsl-status
阅读(1613) | 评论(0) | 转发(0) |