发新话题
打印

请教用FC4作客户端L2TP VPN的问题

请教用FC4作客户端L2TP VPN的问题

我给公司的机器上装客启端的L2TP VPN,操作系统是Fedore Core 4,我装上去后L2TP服务已经启动,但没有PPP拔号,我查了日志报错日志如下,
Jan 19 16:50:29 lidong l2tpd[2780]: Forked by Scott Balmos and David Stipp, (C) 2001

Jan 19 16:50:29 lidong l2tpd[2780]: Inherited by Jeff McAdams, (C) 2002

Jan 19 16:50:29 lidong l2tpd[2780]: Listening on IP address 0.0.0.0, port 1701

Jan 19 16:50:39 lidong l2tpd[2780]: death_handler: Fatal signal 15 received

Jan 19 16:50:39 lidong l2tpd[2793]: This binary does not support kernel L2TP.

Jan 19 16:50:39 lidong l2tpd[2794]: l2tpd version 0.69-FedoraExtra started on li dong PID:2794

Jan 19 16:50:39 lidong l2tpd[2794]: Written by Mark Spencer, Copyright (C) 1998,  Adtran, Inc.

Jan 19 16:50:39 lidong l2tpd[2794]: Forked by Scott Balmos and David Stipp, (C) 2001

Jan 19 16:50:39 lidong l2tpd[2794]: Inherited by Jeff McAdams, (C) 2002

Jan 19 16:50:39 lidong l2tpd[2794]: Listening on IP address 0.0.0.0, port 1701
我看了后认为内核版本太低,我用FC6(kernel 2.6.18-1.2798)试了,也报同样的错,我就晕,请问各位大哥们可以帮忙解决吗?谢谢!      

TOP

回复 #1 lid168ong 的帖子

配置文件是怎样的,或者以调试方式运行一下l2tp,看一下调试信息。调试参数是-D      

TOP

我用l2tp -D调试后,报错信息就是上面的内容,配置文件我中配了三个文件1./ect/l2tp/l2tpd.conf;2./etc/ppp/options.l2tp;3/etc/ppp/chap-secret(因为我用的是chap协议).谢谢!      

TOP

回复 #3 lid168ong 的帖子

能不能看一下你的conf文件的内容      

TOP

这个是.conf的内容,谢谢!!!

[global]

lac=211.153.168.243

listen-addr = 192.168.0.98

port=1701

[lns default]

ip range = 192.168.0.130-192.168.0.254

local ip = 192.168.0.129

require chap = yes

refuse pap = yes

require authentication = yes

name = lidong

ppp debug =yes

pppoptfile = /etc/ppp/options.l2tpd

length bit = yes

[lac seubras]

lns=232.128.161.83

redial=yes

redial timeout=15

max redials=5

require chap=yes

refuse pap=yes

require authentication=no

name=yahoo

ppp debug=yes

pppoptfile=/etc/ppp/options.l2tpd      

TOP

回复 #5 lid168ong 的帖子

能再写一下你启动l2tpd的命令吗,可能你少输了一条命令。在我的系统下我是输入如下命令启动的
/usr/sbin/xl2tpd
echo "c zju" > /var/run/xl2tpd/l2tp-control
当然我是fc7与xl2tpd,不过没什么大的不同。要PPP的话,不能忘了第二条命令。      

TOP

回复 #6 Savagejin 的帖子

谢谢!我也是用的你两个命令启动的,查看L2TP是启动了,可就是看不到PPP0发包和接收信息      

TOP

回复 #7 lid168ong 的帖子

用ifconfig命令看一下,如果有ppp0连接,则可能是你的路由没有设置过,默认的路由可能要改一下的.如果没有ppp0,那么可能是其他地方没设置好      

TOP

发新话题