From daotiansi at 126.com Mon Aug 1 02:07:49 2011 From: daotiansi at 126.com (DioDeng) Date: Mon, 1 Aug 2011 10:07:49 +0800 Subject: [rhn-users] help for xl2tpd client configuration Message-ID: <201108011007488750619@126.com> I'm trying to connect to a l2tp vpn service that uses L2TP without IPSEC. The server works well while I've used windows xp dial software to connect successful. However, when I installed and configured xl2tpd, I don't know how to make it work. The configure file as below, #xl2tpd.conf: [lac vpdn] lns = 60.190.129.52 require chap = yes refuse pap = yes require authentication = yes ; Name should be the same as the username in the PPP authentication! name = dcyjx ppp debug = yes pppoptfile = /etc/ppp/options.l2tpd.client length bit = yes vpdn.l2tpd: ipcp-accept-local ipcp-accept-remote refuse-eap noccp noauth crtscts idle 1800 mtu 1410 mru 1410 nodefaultroute debug lock #proxyarp connect-delay 5000 The log says the following: Jul 30 14:04:25 localhost xl2tpd[8901]: setsockopt recvref[22]: Protocol not available Jul 30 14:04:25 localhost xl2tpd[8901]: This binary does not support kernel L2TP. Jul 30 14:04:25 localhost xl2tpd[8902]: xl2tpd version xl2tpd-1.2.6 started on localhost.localdomain PID:8902 Jul 30 14:04:25 localhost xl2tpd[8902]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc. Jul 30 14:04:25 localhost xl2tpd[8902]: Forked by Scott Balmos and David Stipp, (C) 2001 Jul 30 14:04:25 localhost xl2tpd[8902]: Inherited by Jeff McAdams, (C) 2002 Jul 30 14:04:25 localhost xl2tpd[8902]: Forked again by Xelerance (www.xelerance.com) (C) 2006 Jul 30 14:04:25 localhost xl2tpd[8902]: Listening on IP address 0.0.0.0, port 1701 Jul 30 14:04:46 localhost xl2tpd[8902]: Connecting to host 60.190.129.52, port 1701 Jul 30 14:04:46 localhost xl2tpd[8902]: Connection established to 60.190.129.52, 1701. Local: 31891, Remote: 9070 (ref=0/0). Jul 30 14:04:46 localhost xl2tpd[8902]: Calling on tunnel 31891 Jul 30 14:04:46 localhost xl2tpd[8902]: Call established with 60.190.129.52, Local: 54766, Remote: 32785, Serial: 1 (ref=0/0) Jul 30 14:04:46 localhost pppd[8905]: pppd 2.4.4 started by root, uid 0 Jul 30 14:04:46 localhost pppd[8905]: Using interface ppp0 Jul 30 14:04:46 localhost pppd[8905]: Connect: ppp0 <--> /dev/pts/5 Jul 30 14:04:46 localhost xl2tpd[8902]: control_finish: Connection closed to 60.190.129.52, serial 1 () Jul 30 14:05:18 localhost xl2tpd[8902]: Calling on tunnel 31891 Jul 30 14:05:18 localhost xl2tpd[8902]: Call established with 60.190.129.52, Local: 8575, Remote: 30332, Serial: 2 (ref=0/0) Could someone help me out? Let me know what more info is needed. I'm using redhat rhel 5 Today, I use the debug command to check the problem, and it seems that there is something wrong with my baud rate. However, I don't know how to fix it, can someone help me ? debug info in my server: [root at localhost aaa]# /usr/sbin/l2tpd -D This binary does not support kernel L2TP. l2tpd version 0.69 started on localhost.localdomain PID:10319 Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc. Forked by Scott Balmos and David Stipp, (C) 2001 Inhereted by Jeff McAdams, (C) 2002 Linux version 2.6.18-53.el5 on a i686, listening on IP address 0.0.0.0, port 1701 ourtid = 36250, entropy_buf = 8d9a check_control: control, cid = 0, Ns = 0, Nr = 0 handle_avps: handling avp's for tunnel 36250, call 0 message_type_avp: message type 1 (Start-Control-Connection-Request) protocol_version_avp: peer is using version 1, revision 0. framing_caps_avp: supported peer frames: async sync bearer_caps_avp: supported peer bearers: firmware_rev_avp: peer reports firmware version 1680 (0x0690) hostname_avp: peer reports hostname 'localhost.localdomain' vendor_avp: peer reports vendor 'xelerance.com' assigned_tunnel_avp: using peer's tunnel 49517 receive_window_size_avp: peer wants RWS of 4. Will use flow control. check_control: control, cid = 0, Ns = 1, Nr = 1 handle_avps: handling avp's for tunnel 36250, call 0 message_type_avp: message type 3 (Start-Control-Connection-Connected) control_finish: Connection established to 60.190.129.51, 1701. Local: 36250, Remote: 49517. LNS session is 'default' check_control: control, cid = 0, Ns = 2, Nr = 1 handle_avps: handling avp's for tunnel 36250, call 0 message_type_avp: message type 10 (Incoming-Call-Request) message_type_avp: new incoming call ourcid = 51788, entropy_buf = ca4c assigned_call_avp: using peer's call 56350 call_serno_avp: serial number is 4 bearer_type_avp: peer bears:digital check_control: control, cid = 56350, Ns = 3, Nr = 2 handle_avps: handling avp's for tunnel 36250, call 51788 message_type_avp: message type 12 (Incoming-Call-Connected) tx_speed_avp: transmit baud rate is 0 frame_type_avp: peer uses:sync frames rx_speed_avp: receive baud rate is 0 control_finish: Peer did not specify transmit speed call_close: Call 51788 to 60.190.129.51 disconnected debug info in my client: [root at localhost dcyjx]# /usr/sbin/xl2tpd -D & [1] 8865 [root at localhost dcyjx]# xl2tpd[8865]: parse_config: lac context descriptor vpdn xl2tpd[8865]: parse_config: field is lns, value is 60.190.129.52 xl2tpd[8865]: set_lns: setting LNS to '60.190.129.52' xl2tpd[8865]: parse_config: field is require chap, value is yes xl2tpd[8865]: set_require chap: require chap flag to 'yes' xl2tpd[8865]: parse_config: field is refuse pap, value is yes xl2tpd[8865]: set_refuse pap: refuse pap flag to 'yes' xl2tpd[8865]: parse_config: field is require authentication, value is yes xl2tpd[8865]: set_require authentication: require authentication flag to 'yes' xl2tpd[8865]: parse_config: field is name, value is dcyjx xl2tpd[8865]: set_name: name flag to 'dcyjx' xl2tpd[8865]: parse_config: field is ppp debug, value is yes xl2tpd[8865]: set_ppp debug: ppp debug flag to 'yes' xl2tpd[8865]: parse_config: field is pppoptfile, value is /etc/ppp/options.l2tpd.client xl2tpd[8865]: set_pppoptfile: pppoptfile flag to '/etc/ppp/options.l2tpd.client' xl2tpd[8865]: parse_config: field is length bit, value is yes xl2tpd[8865]: set_length bit: length bit flag to 'yes' xl2tpd[8865]: setsockopt recvref[22]: Protocol not available xl2tpd[8865]: This binary does not support kernel L2TP. xl2tpd[8865]: xl2tpd version xl2tpd-1.2.6 started on localhost.localdomain PID:8865 xl2tpd[8865]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc. xl2tpd[8865]: Forked by Scott Balmos and David Stipp, (C) 2001 xl2tpd[8865]: Inherited by Jeff McAdams, (C) 2002 xl2tpd[8865]: Forked again by Xelerance (www.xelerance.com) (C) 2006 xl2tpd[8865]: Listening on IP address 0.0.0.0, port 1701 [root at localhost dcyjx]# echo "c vpdn" > /var/run/xl2tpd/l2tp-control [root at localhost dcyjx]# xl2tpd[8865]: do_control: Got message c vpdn (6 bytes long) xl2tpd[8865]: ourtid = 43333, entropy_buf = a945 xl2tpd[8865]: Connecting to host 60.190.129.52, port 1701 xl2tpd[8865]: trying to send control packet to 43333 xl2tpd[8865]: control_xmit: Scheduling and transmitting packet 0 xl2tpd[8865]: check_control: control, cid = 0, Ns = 0, Nr = 1 xl2tpd[8865]: trying to send control packet to 43333 xl2tpd[8865]: control_xmit: Scheduling and transmitting packet 1 xl2tpd[8865]: control_finish: scheduling initial HELLO on 43333 xl2tpd[8865]: Connection established to 60.190.129.52, 1701. Local: 43333, Remote: 64277 (ref=0/0). xl2tpd[8865]: ourcid = 1671, entropy_buf = 687 xl2tpd[8865]: Calling on tunnel 43333 xl2tpd[8865]: trying to send control packet to 43333 xl2tpd[8865]: control_xmit: Scheduling and transmitting packet 2 xl2tpd[8865]: check_control: control, cid = 0, Ns = 1, Nr = 2 xl2tpd[8865]: handle_packet: control ZLB received xl2tpd[8865]: check_control: control, cid = 0, Ns = 1, Nr = 3 xl2tpd[8865]: Call established with 60.190.129.52, Local: 1671, Remote: 38090, Serial: 1 (ref=0/0) xl2tpd[8865]: trying to send control packet to 43333 xl2tpd[8865]: control_xmit: Scheduling and transmitting packet 3 xl2tpd[8865]: start_pppd: I'm running: xl2tpd[8865]: "/usr/sbin/pppd" xl2tpd[8865]: "passive" xl2tpd[8865]: "nodetach" xl2tpd[8865]: ":" xl2tpd[8865]: "refuse-pap" xl2tpd[8865]: "auth" xl2tpd[8865]: "require-chap" xl2tpd[8865]: "name" xl2tpd[8865]: "dcyjx" xl2tpd[8865]: "debug" xl2tpd[8865]: "file" xl2tpd[8865]: "/etc/ppp/options.l2tpd.client" xl2tpd[8865]: "/dev/pts/5" xl2tpd[8865]: check_control: control, cid = 0, Ns = 2, Nr = 3 xl2tpd[8865]: handle_packet: control ZLB received xl2tpd[8865]: check_control: control, cid = 38090, Ns = 2, Nr = 4 xl2tpd[8865]: handle_packet: control ZLB received xl2tpd[8865]: check_control: control, cid = 38090, Ns = 2, Nr = 4 xl2tpd[8865]: control_finish: Connection closed to 60.190.129.52, serial 1 () xl2tpd[8865]: control_zlb: sending control ZLB on tunnel 64277 xl2tpd[8865]: call_close: Actually closing call 1671 xl2tpd[8865]: Terminating pppd: sending KILL signal to pid 8866 xl2tpd[8865]: trying to send control packet to 43333 xl2tpd[8865]: control_xmit: Tossing packet 0 xl2tpd[8865]: trying to send control packet to 43333 xl2tpd[8865]: control_xmit: Tossing packet 1 xl2tpd[8865]: trying to send control packet to 43333 xl2tpd[8865]: control_xmit: Tossing packet 2 xl2tpd[8865]: trying to send control packet to 43333 xl2tpd[8865]: control_xmit: Tossing packet 3 2011-08-01 DioDeng -------------- next part -------------- An HTML attachment was scrubbed... URL: From rajan.mithani at gmail.com Tue Aug 16 13:56:13 2011 From: rajan.mithani at gmail.com (Rajan Mithani) Date: Tue, 16 Aug 2011 13:56:13 +0000 (UTC) Subject: [rhn-users] Invitation to connect on LinkedIn Message-ID: <1888243147.1781597.1313502973466.JavaMail.app@ela4-app0135.prod> LinkedIn ------------ Discussions, I'd like to add you to my professional network on LinkedIn. - Rajan Rajan Mithani System Administrator at IBM INDIA RESEARCH LABS New Delhi Area, India Confirm that you know Rajan Mithani https://www.linkedin.com/e/-cgpvo6-grexr8rc-4l/isd/3875056091/QQVUjCoi/ -- (c) 2011, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: