|
|
发表于 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
帮看看,说错误在哪 |
|