LinuxSir.cn,穿越时空的Linuxsir!

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

FC5 下建立PPPOE SERVER一直无法通过认证

[复制链接]
发表于 2006-7-10 17:37:23 | 显示全部楼层 |阅读模式
在FC1下建立的PPOE SERVER都可以用
在FC5下面就是卡在 正在验证用户名/密码这一步骤。
明显用户名和密码都是正确的,这个确认了很多遍
不知道什么原因。

今天上午上这个一直上不上来~到现在才可以上
-_-!
 楼主| 发表于 2006-7-11 17:20:49 | 显示全部楼层
有点怀疑是不是chap-secert文件的写法是不是一样的
123     *       123     *
test1   *       test1   *
test2   *       test2   *
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-28 13:07:44 | 显示全部楼层
问题已经解决,是ioptions配置文件的问题,fc5里面默认的什么都没,该成
lock
require chap
....
(根据用户自己环境添加规则)


后认证成功。
回复 支持 反对

使用道具 举报

发表于 2006-10-12 16:21:25 | 显示全部楼层
Post by flameboysea
问题已经解决,是ioptions配置文件的问题,fc5里面默认的什么都没,该成
lock
require chap
....
(根据用户自己环境添加规则)


后认证成功。



兄弟,我照你上面所说的,试过了,就是不能通过论证呀?????
你能不能把你的配置写出来一下,好吗?等你的好消息哦
回复 支持 反对

使用道具 举报

发表于 2006-10-12 17:32:15 | 显示全部楼层

兄弟,好像也不行的哦

Post by flameboysea
问题已经解决,是ioptions配置文件的问题,fc5里面默认的什么都没,该成
lock
require chap
....
(根据用户自己环境添加规则)


后认证成功。



我按照你的所说做了,就是不能通过论证,
我的配置如下,帮我看看:
/etc/ppp/pppoe-server-options
   # PPP options for the PPPoE server
# LIC: GPL
auth

login
require-pap
require-chap
default-mru
default-asyncmap
lcp-echo-interval 10
lcp-echo-failure 2

ipcp-accept-local
ipcp-accept-remote

192.168.11.10:192.168.11.200
netmask 255.255.255.255
ms-dns 202.103.224.68
*************************************
/etc/ppp/ioptions
# LIC: GPL
auth

login
require-pap
require-chap
default-mru
default-asyncmap
lcp-echo-interval 10
lcp-echo-failure 2

ipcp-accept-local
ipcp-accept-remote

192.168.11.10:192.168.11.200
netmask 255.255.255.255
ms-dns 202.103.224.68

/etc/ppp/chap-secrets 和/etc /ppp/pap-secrets
user  *  12346    **
然后重启PPPOE-SERVER
总是正在核对用户名和密码:

查看是志如下:
Oct 12 17:26:17 localhost pppoe-server[21444]: Session 20 created for client 00:e0:81:60:23:1f (192.168.1.39) on eth1 using Service-Name ''
Oct 12 17:26:17 localhost pppd[21444]: pppd 2.4.3 started by root, uid 0
Oct 12 17:26:17 localhost pppd[21444]: Using interface ppp0
Oct 12 17:26:17 localhost pppd[21444]: Connect: ppp0 <--> /dev/pts/205
Oct 12 17:26:48 localhost pppd[21444]: LCP: timeout sending Config-Requests
Oct 12 17:26:48 localhost pppd[21444]: Connection terminated.
Oct 12 17:26:48 localhost pppd[21444]: Using interface ppp0
Oct 12 17:26:48 localhost pppd[21444]: Connect: ppp0 <--> /dev/pts/206
Oct 12 17:26:53 localhost pppd[21444]: tcflush failed: Bad file descriptor
Oct 12 17:26:53 localhost pppd[21444]: Exit.
Oct 12 17:26:53 localhost pppoe-server[18479]: Session 20 closed for client 00:e0:81:60:23:1f (192.168.1.39) on eth1
Oct 12 17:26:53 localhost pppoe-server[18479]: Sent PADT
Oct 12 17:26:53 localhost pppoe-server[21329]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[21274]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[21232]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[21173]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[21039]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[20995]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[19725]: Sent PADT
Oct 12 17:26:53 localhost pppoe-server[19701]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[19631]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[16248]: Sent PADT
Oct 12 17:26:53 localhost pppoe-server[19276]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[21443]: PADT for session 20 received from 00:E0:81:60:23:1F; should be from 00:00:00:00:00:00
Oct 12 17:26:53 localhost pppoe-server[18479]: Sent PADT



帮看看,说错误在哪
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-24 12:59:49 | 显示全部楼层
只在ioptions里面
写上
  1. lock
  2. require chap
复制代码
试试看?
不好意思,很久没关注这个帖子了,你该直接PM我的了
回复 支持 反对

使用道具 举报

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

本版积分规则

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