校园网来l2tp vpn连接 出现问题了。。。

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
gaozhimin22
帖子: 12
注册时间: 2008-11-01 13:49

校园网来l2tp vpn连接 出现问题了。。。

#1

帖子 gaozhimin22 » 2009-04-25 11:31

用ifconfig ppp0查看
‘出现 ppp0 Link encap:点对点协议
inet 地址:125.118.112.168 点对点:220.191.128.111 掩码:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 跃点数:1
接收数据包:4 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:5 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:3
接收字节:40 (40.0 B) 发送字节:61 (61.0 B)

停止先前启动的 xl2tpd

# /etc/init.d/xl2tpd stop

再以非 daemon 方式启动之

# xl2tpd -D

然后在另外一个控制台向 l2tpd 发送命令

# echo "c vpn" > /var/run/xl2tpd/l2tp-control

出现 l2tpd[8033]: init_network: Unable to bind socket: Address already in use. Terminating.

是什么问题??那里出错了那

重启后又重新调试下出现 sudo xl2tpd -D

l2tpd[5909]: This binary does not support kernel L2TP.
l2tpd[5909]: xl2tpd version xl2tpd-1.1.09 started on gaozhimin-desktop PID:5909
l2tpd[5909]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
l2tpd[5909]: Forked by Scott Balmos and David Stipp, (C) 2001
l2tpd[5909]: Inherited by Jeff McAdams, (C) 2002
l2tpd[5909]: Forked again by Xelerance (www.xelerance.com) (C) 2006
l2tpd[5909]: Listening on IP address 0.0.0.0, port 1701
l2tpd[5909]: Can not find tunnel 4219 (refhim=0)
l2tpd[5909]: network_thread: unable to find call or tunnel to handle packet. call = 53732, tunnel = 4219 Dumping.
l2tpd[5909]: Connecting to host 192.168.10.2, port 1701
l2tpd[5909]: Connection established to 192.168.10.2, 1701. Local: 44764, Remote: 4624 (ref=0/0).
l2tpd[5909]: Calling on tunnel 44764
l2tpd[5909]: Call established with 192.168.10.2, Local: 42202, Remote: 31209, Serial: 1 (ref=0/0)
l2tpd[5909]: start_pppd: I'm running:
l2tpd[5909]: "/usr/sbin/pppd"
l2tpd[5909]: "passive"
l2tpd[5909]: "-detach"
l2tpd[5909]: ":"
l2tpd[5909]: "auth"
l2tpd[5909]: "require-pap"
l2tpd[5909]: "require-chap"
l2tpd[5909]: "name"
l2tpd[5909]: "c0700703131@jlxy"
l2tpd[5909]: "debug"
l2tpd[5909]: "file"
l2tpd[5909]: "/etc/ppp/options.l2tpd"
l2tpd[5909]: "/dev/pts/2"
l2tpd[5909]: child_handler : pppd exited for call 31209 with code 19
l2tpd[5909]: call_close: Call 42202 to 192.168.10.2 disconnected
l2tpd[5909]: Can not find tunnel 4219 (refhim=0)
l2tpd[5909]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 4219 Dumping.
gongxg0302
帖子: 6
注册时间: 2007-07-16 22:41

Re: 校园网来l2tp vpn连接 出现问题了。。。

#2

帖子 gongxg0302 » 2010-04-18 16:26

是l2tp的bug,而我在openwrt里的l2tp可以正常拨号。
zl39049979
帖子: 71
注册时间: 2010-04-02 19:21

Re: 校园网来l2tp vpn连接 出现问题了。。。

#3

帖子 zl39049979 » 2010-04-18 21:34

同问,我连PPP0都没有
回复