Hi, I use l2tpd to connect with my ISP (Cable Wanadoo) and use a quite simple setup. The only problem is that if I try to upload like 600kB or more (256/64 kbit connection) and my upstream becomes totally filled, l2tpd seems to disconnect because control packages don't come through.
I couldn't find in the documentation of the configuration how to make the check_control 'weaker', for example to wait longer or allow more control packet failures. Or is something wrong with my current configuration which I have attached. With my previous PPP setup, I could upload hundreds of megs without trouble... any insights or pointers? The l2tp code looks quite nice, if it isn't possible to make the check weaker, I can hack something I think. I also miss the infinite redial option? Secondly, I was wondering why the setup was chosen to launch pppd as pipe and not have an lt2p-slave program for a ppp pty. This setup is more common (ssh-VPN, PPPoE, etc) and one can use the LCP system to detect link failure, now I have it twice (l2tp control AND LCP echo). Greetings, TIA, Paul -- Student @ Eindhoven | JID: [EMAIL PROTECTED] University of Technology, The Netherlands | email: [EMAIL PROTECTED] >>> Using the Power of Debian GNU/Linux <<< | GnuPG: finger [EMAIL PROTECTED]
Dec 25 00:49:02 distance l2tpd[3244]: check_control: control, cid = 0, Ns = 4, Nr = 4663 Dec 25 00:49:03 distance l2tpd[3244]: check_control: control, cid = 0, Ns = 4, Nr = 4663 Dec 25 00:50:02 distance l2tpd[3244]: check_control: control, cid = 0, Ns = 4, Nr = 4664 Dec 25 00:50:03 distance l2tpd[3244]: check_control: control, cid = 0, Ns = 4, Nr = 4664 Dec 25 00:51:02 distance l2tpd[3244]: check_control: control, cid = 0, Ns = 4, Nr = 4665 Dec 25 00:52:02 distance l2tpd[3244]: check_control: control, cid = 0, Ns = 4, Nr = 4665 Dec 25 00:52:02 distance l2tpd[3244]: handle_avps: handling avp's for tunnel 32757, call 62345 Dec 25 00:52:02 distance l2tpd[3244]: message_type_avp: message type 6 (Hello) Dec 25 00:52:05 distance l2tpd[3244]: check_control: control, cid = 0, Ns = 5, Nr = 4666 Dec 25 00:52:08 distance last message repeated 3 times Dec 25 00:53:06 distance l2tpd[3244]: control_xmit: Maximum retries exceeded for tunnel 32757. Closing. Dec 25 00:53:07 distance l2tpd[3244]: call_close : Connection 64396 closed to 10.255.253.1, port 1701 (Timeout) Dec 25 00:53:07 distance l2tpd[3244]: get_call: can't find call 26027 in tunnel 32757 Dec 25 00:53:07 distance last message repeated 3 times Dec 25 00:53:07 distance l2tpd[3244]: check_control: control, cid = 0, Ns = 5, Nr = 4667 Dec 25 00:53:07 distance l2tpd[3244]: get_call:can't find tunnel 32757 Dec 25 00:53:07 distance l2tpd[3244]: network_thread: unable to find call or tunnel to handle packet. call = 26027, tunnel = 32757 Dumping. Dec 25 00:53:07 distance l2tpd[3244]: get_call:can't find tunnel 32757 Dec 25 00:53:07 distance l2tpd[3244]: network_thread: unable to find call or tunnel to handle packet. call = 26027, tunnel = 32757 Dumping. Dec 25 00:53:07 distance l2tpd[3244]: get_call:can't find tunnel 32757 [etc...]
; l2tpd configuration file for Wanadoo Easy [lac wanadoo] lns = 10.255.253.1 ; Wanadoo VPN/L2TP server redial = yes redial timeout = 30 ; 30 seconds ought to be enough max redials = 5760 ; keep redialing for two days (with 30s interval) autodial = yes ppp debug = no pppoptfile = /etc/ppp/options.l2tpd
