>>"Error 737: Loopback detected" After seeing http://groups.google.com/groups?q=RAS+loopback+detected+delay&hl=en&lr=&ie=UTF-8&selm=uC%24RO0lF9GA.289%40uppssnewspub04.moswest.msn.net&rnum=4 I looked in man pppd to see if there was anything and found : connect-delay n Wait for up n milliseconds after the connect script finishes for a valid PPP packet from the peer. At the end of this time, or when a valid PPP packet is received from the peer, pppd will commence negotiation by sending its first LCP packet. The default value is 1000 (1 second). This wait period only applies if the connect or pty option is used.
So I added connect-delay 5000 in /etc/ppp/option and it worked for me. Can you try it to make sure (may you can increase the delay if that doesn't work the first time). Dom -----Original Message----- From: Jacco de Leeuw [mailto:[EMAIL PROTECTED]] Sent: 15 December 2002 22:42 To: [EMAIL PROTECTED] Subject: l2tpd, FreeS/WAN and Windows I am testing l2tpd with FreeS/WAN and various Windows versions. If you are interested, I have written some documentation available at: http://www.jacco2.dds.nl/networking/freeswan-l2tp.html Windows XP and Windows 9x/ME/NT4 seem to work fine. Unfortunately there is a major problem with Windows 2000. I get an "Error 737: Loopback detected" when I disconnect and then reconnect. Any idea what is going wrong? Is there a bug in Windows 2000? A log is attached below. The only workaround I managed to find was changing the "name=" parameter in l2tpd.conf to something else and then restarting l2tpd. But this is of course unacceptable for production use. If you need my configuration files, you can find them at: http://www.jacco2.dds.nl/networking/freeswanl2tpconfig-1.0.tgz Jacco -- Jacco de Leeuw mailto:[EMAIL PROTECTED] Zaandam, The Netherlands http://www.jacco2.dds.nl Good guys don't finish last. Good guys win before the race has even started. l2tpd[7033]: ourtid = 63079, entropy_buf = f667 l2tpd[7033]: ourcid = 11572, entropy_buf = 2d34 l2tpd[7033]: check_control: control, cid = 0, Ns = 0, Nr = 0 l2tpd[7033]: handle_avps: handling avp's for tunnel 63079, call 11572 l2tpd[7033]: message_type_avp: message type 1 (Start-Control-Connection-Request) l2tpd[7033]: protocol_version_avp: peer is using version 1, revision 0. l2tpd[7033]: framing_caps_avp: supported peer frames: sync l2tpd[7033]: bearer_caps_avp: supported peer bearers: l2tpd[7033]: firmware_rev_avp: peer reports firmware version 1280 (0x0500) l2tpd[7033]: hostname_avp: peer reports hostname 'hostname.example.com' l2tpd[7033]: vendor_avp: peer reports vendor 'Microsoft\200^H' l2tpd[7033]: assigned_tunnel_avp: using peer's tunnel 17 l2tpd[7033]: receive_window_size_avp: peer wants RWS of 8. Will use flow control. l2tpd[7033]: check_control: control, cid = 0, Ns = 1, Nr = 1 l2tpd[7033]: handle_avps: handling avp's for tunnel 63079, call 11572 l2tpd[7033]: message_type_avp: message type 3 (Start-Control-Connection-Connected) l2tpd[7033]: control_finish: Connection established to x.x.x.x, 1701. Local: 63079, Remote: 17. LNS session is 'default' l2tpd[7033]: check_control: control, cid = 0, Ns = 2, Nr = 1 l2tpd[7033]: handle_avps: handling avp's for tunnel 63079, call 11572 l2tpd[7033]: message_type_avp: message type 10 (Incoming-Call-Request) l2tpd[7033]: message_type_avp: new incoming call l2tpd[7033]: ourcid = 51833, entropy_buf = ca79 l2tpd[7033]: assigned_call_avp: using peer's call 1 l2tpd[7033]: call_serno_avp: serial number is 0 l2tpd[7033]: bearer_type_avp: peer bears: analog l2tpd[7033]: check_control: control, cid = 0, Ns = 3, Nr = 1 l2tpd[7033]: check_control: control, cid = 1, Ns = 3, Nr = 2 l2tpd[7033]: handle_avps: handling avp's for tunnel 63079, call 51833 l2tpd[7033]: message_type_avp: message type 12 (Incoming-Call-Connected) l2tpd[7033]: tx_speed_avp: transmit baud rate is 10000000 l2tpd[7033]: frame_type_avp: peer uses:sync frames l2tpd[7033]: ignore_avp : Ignoring AVP l2tpd[7033]: start_pppd: I'm running: l2tpd[7033]: "/usr/sbin/pppd" l2tpd[7033]: "passive" l2tpd[7033]: "-detach" l2tpd[7033]: "192.168.1.195:192.168.1.196" l2tpd[7033]: "refuse-pap" l2tpd[7033]: "auth" l2tpd[7033]: "require-chap" l2tpd[7033]: "name" l2tpd[7033]: "testname" l2tpd[7033]: "debug" l2tpd[7033]: "file" l2tpd[7033]: "/etc/ppp/options.l2tpd" l2tpd[7033]: "/dev/ttyp0" l2tpd[7033]: l2tpd[7033]: control_finish: Call established with x.x.x.x, Local: 51833, Remote: 1, Serial: 0 l2tpd[7033]: check_control: control, cid = 0, Ns = 4, Nr = 2 pppd[7077]: pppd 2.4.1 started by root, uid 0 pppd[7077]: using channel 60 pppd[7077]: Using interface ppp0 pppd[7077]: Connect: ppp0 <--> /dev/ttyp0 pppd[7077]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x69f29cc3> <pcomp> <accomp>] pppd[7077]: rcvd [LCP TermAck id=0x3 "Y\010\016\37777777717\000<\37777777715t\000\000\002\37777777741"] l2tpd[7033]: check_control: control, cid = 1, Ns = 4, Nr = 2 l2tpd[7033]: handle_avps: handling avp's for tunnel 63079, call 51833 l2tpd[7033]: message_type_avp: message type 14 (Call-Disconnect-Notify) l2tpd[7033]: result_code_avp: peer closing for reason 3 (Control channel already exists), error = 0 () l2tpd[7033]: assigned_call_avp: using peer's call 1 l2tpd[7033]: control_finish: Connection closed to x.x.x.x, serial 0 () pppd[7077]: Terminating on signal 15. pppd[7077]: Modem hangup pppd[7077]: Connection terminated.
