刚.安.装的rp-pppoe(3.8),用它作 pppoe server,但使用安装后默认的pap验证不行,必须改为chap 建材
[
root@te.st ~]# cat /etc/ppp/pppoe-.server-options --------------彩票
# PPP optio.ns for the .PPPoE server 汽车
# LIC: GPL
require-pap
login
lcp-echo-inte.rval 10电影
lcp-echo-fai.lure 2虚拟主机
需要改为:
[.root@test ~]# .cat /etc/ppp/pppoe-server-options 外贸
# PPP options for the. PPPoE .server 乙肝
# LIC: GPL
require-chap
login
lcp-echo-interv.al 10.
lcp.-echo-failure 2.
使用pap时,认证失败:
[root@test ~]# cat /va.r/log/messages ..
Jun 24 10:32:27 localhost pppoe-se.r.ver[3161]: Session 2 created for client 00:50:56:c0:00:08 (192.1.68.123.11) on eth0 us.ing Service-Name ''.
Jun 24 10:.32:27 localhost pppd[3161]: p.ppd 2.4.4 started by root, uid 0 健康
Jun 24 10:32:27 localhost. pppd[3161]: Using in.terface ppp0 电子
Jun 24 10:32:27 localhost pppd[3161]: Co.nnect: .ppp0 <--> /dev/pts/2.
Jun 24 10:32:3.2 localhost pppd[31.61]: PAP peer authentication failed for adm.in
Jun 2.4 10:32:32 localhost .pppd[3161]: Connection terminated. 汽车
Jun 24 10:32:32 localhost pppoe[3163]: read (asyncRea.dFromPPP): Session 2: Inp.u.t/output error--- 印刷
Jun 24 10.:32:32 local.host pppd[3161]: Exit..
Jun 24 .10:32:32 localhost pppo.e-server[3114]: Session 2 closed for client 00:50:56:c0:00:08 (192.168.123..11) on eth0[成人用品]
Jun .24 10:32:32 localhost pppoe-server[311.4]: Sent PADT<性病>
Jun 24 10:32:32 localhost pppoe-serv..er[3114]: Sent PADT.