|
参照论坛里的内容,在fc8(内核2.6.24)下架设pppoe-server,总是不成功,在windows下拨号停留在验证用户名和密码处,然后就远程计算机没有反应。查看linux日志:
Apr 17 11:56:46 Sylvester pppoe-server[3334]: Session 1 created for client 00:1b:b9:8f:88:94 (192.168.1.212) on eth0 using Service-Name ''
Apr 17 11:56:46 Sylvester pppd[3334]: Plugin rp-pppoe.so loaded.
Apr 17 11:56:46 Sylvester pppd[3334]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.4
Apr 17 11:56:46 Sylvester pppd[3334]: pppd 2.4.4 started by root, uid 0
Apr 17 11:56:46 Sylvester pppd[3334]: Using interface ppp0
Apr 17 11:56:46 Sylvester pppd[3334]: Connect: ppp0 <--> /dev/pts/1
Apr 17 11:57:17 Sylvester pppd[3334]: LCP: timeout sending Config-Requests
Apr 17 11:57:17 Sylvester pppd[3334]: Connection terminated.
Apr 17 11:57:17 Sylvester pppd[3334]: Modem hangup
Apr 17 11:57:22 Sylvester pppd[3334]: Exit.
Apr 17 11:57:22 Sylvester pppoe-server[3330]: Session 1 closed for client 00:1b:b9:8f:88:94 (192.168.1.212) on eth0
Apr 17 11:57:22 Sylvester pppoe-server[3330]: Sent PADT
Apr 17 11:57:22 Sylvester pppoe-server[3330]: Sent PADT
用ethereal抓包发现pppoe-server无法回应windows的Config-Request,然后pppd超时退出,pppoe-server给windows发送PADT。
内核支持 ppp、 pppoe 和 MPPE,只有一个网卡,IP=192.168.1.210
/etc/ppp/option文件内容如下:
lock
nodefaultroute
debug
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 10
lcp-echo-interval 2
plugin rp-pppoe.so
require-chap
require-mppe
mru 752
mtu 752
ms-dns 192.168.1.1
ms-dns 192.168.1.100
/etc/ppp/pppoe-server-option文件里的内容全被注释了
[root@Sylvester ~]# pppoe-server -I eth0 -L 192.168.1.211 -R 192.168.1.212 -N 4
请朋友们帮帮忙,看看错哪里了,十分感谢! |
|