|
我在fc5上kernel版本2.6.15上运行pppoe服务器,然后运行windowxp自带的pppoe拨号软件来拨号,发现能够链接上(“正在连接,通过wan微型端口……”这部分能通过),但是在“正在核对用户名和密码”这个步骤的时候卡住了。
大家帮我看看是什么原因!
我得pap-secrets文件:
# Secrets for authentication using PAP
# client server secret IP addresses
####### redhat-config-network will overwrite this part!!! (begin) ##########
####### redhat-config-network will overwrite this part!!! (end) ############
"hedes" * "123123" *
我的options文件:
lock
plugin rp-pppoe.so
noipdefault
debug
crtscts
lock
asyncmap 0
nodetach
lcp-echo-interval 30
lcp-echo-failure 4
idle 600
noipx
nobsdcomp
nodeflate
nopcomp
ms-dns 221.12.33.228
ms-dns 221.12.1.228
logfile /var/log/ppp/pppd.log
我的pppoe-server-options文件;
# PPP options for the PPPoE server
# LIC: GPL
#require-pap
#auth
require-pap
#require-chap
login
lcp-echo-interval 10
lcp-echo-failure 2
#ms-dns 221.12.33.228
下面是pppd.log的日志文件。
-------------------------------
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
rcvd [LCP ConfReq id=0x1 <mru 1480> <magic 0x11b1571> <callback CBCP>]
sent [LCP ConfRej id=0x1 <callback CBCP>]
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
rcvd [LCP ConfReq id=0x3 <mru 1480> <magic 0x11b1571> <callback CBCP>]
sent [LCP ConfRej id=0x3 <callback CBCP>]
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
rcvd [LCP ConfReq id=0x5 <mru 1480> <magic 0x11b1571> <callback CBCP>]
sent [LCP ConfRej id=0x5 <callback CBCP>]
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
rcvd [LCP ConfReq id=0x7 <mru 1480> <magic 0x11b1571> <callback CBCP>]
sent [LCP ConfRej id=0x7 <callback CBCP>]
sent [LCP ConfReq id=0x1 <auth pap> <magic 0x1b823929>]
LCP: timeout sending Config-Requests
Connection terminated.
using channel 5
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
Waiting for 2 child processes...
script /usr/sbin/pppoe -n -I eth0 -e 1:00:10:5c:c7:f2:94 -S '', pid 2352
script /usr/sbin/pppoe -n -I eth0 -e 1:00:10:5c:c7:f2:94 -S '', pid 2343
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x2 <auth pap> <magic 0x3d8f489d>]
sent [LCP ConfReq id=0x2 <auth pap> <magic 0x3d8f489d>]
sending SIGTERM to process 2352
sending SIGTERM to process 2343
tcflush failed: Bad file descriptor |
|