From owner-freebsd-questions@FreeBSD.ORG Sat Jun 27 13:51:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC827106564A for ; Sat, 27 Jun 2009 13:51:35 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 27C028FC0A for ; Sat, 27 Jun 2009 13:51:34 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 27 Jun 2009 13:51:33 -0000 Received: from ipa45.95.107.79.tellas.gr (EHLO [192.168.254.1]) [79.107.95.45] by mail.gmx.com (mp-eu004) with SMTP; 27 Jun 2009 15:51:33 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/Ii7RuyLTIs+qJVQzHF/J8kt9FpInwk2VYw0qVOA 7/c6LsuhtjGFHo Message-ID: <4A4623A8.80904@gmx.com> Date: Sat, 27 Jun 2009 16:50:32 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: budsz References: <4d4dc3640906250021l6c46be44he009a61cbfd571ba@mail.gmail.com> <4A433AF7.5090802@gmx.com> <4d4dc3640906250600s1ce50f1cm143460ec1cb9d302@mail.gmail.com> <4A4383C2.6050809@gmx.com> <4d4dc3640906250717m65b5895ct85af94a7510711d6@mail.gmail.com> In-Reply-To: <4d4dc3640906250717m65b5895ct85af94a7510711d6@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 Cc: freebsd-questions@freebsd.org Subject: Re: PPPoE trouble handshaking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2009 13:51:36 -0000 budsz wrote: > On Thu, Jun 25, 2009 at 9:03 PM, Nikos Vassiliadis wrote: >> budsz wrote: >>> On Thu, Jun 25, 2009 at 3:53 PM, Nikos Vassiliadis >>> wrote: >>>> budsz wrote: >>>>> I got problem with FreeBSD 7.2-STABLE as router. I use TPLINK modem as >>>>> bridging to my box. >>>> Could you run "tcpdump -ni rl1" while trying and post >>>> it to the list? >>> If problem appear, I will do it. This problem not regularly, I got the >>> same problem 2 week ago and today. I don't know what happen exactly, >>> but I can dialing again after 3 hours. >> So, your configuration works, but at times it gets disconnected. >> And when that disconnection happens, it fails to re-connect. That >> means that if you pull the modem's power plug, you'll be able to >> establish a connection after some time and not immediately, right? >> >> 1) You should also "enable echo" along with "enable lqr". >> >> When you pull the FreeBSD's ethernet plug does it work? >> 2) You should watch the logs and wait for it to disconnect, plug >> the ethernet in and wait to re-connect on its own. >> >> 3) Then you should try the same with the DSL line, pull the plug >> from the modem and it should behave the same way, that is >> disconnect and re-connect on its own. >> >> Do these three steps and if everything works, wait for the >> random disconnection to happen. It should behave the same way. >> >> tcpdump is your friend while trying the above. > > OK, dud. Right now I got some problem here output tcpdump -ni rl1: > > 20:14:58.764661 PPPoE PADO [Host-Uniq 0x009043C2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:14:58.864426 PPPoE PADO [Host-Uniq 0x009043C2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:00.799157 PPPoE PADI [Host-Uniq 0x408612C2] [Service-Name] > 20:15:00.799165 PPPoE PADI [Host-Uniq 0x408612C2] [Service-Name] > 20:15:04.014864 PPPoE PADO [Host-Uniq 0x408612C2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:04.031335 PPPoE PADO [Host-Uniq 0x408612C2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:05.905186 PPPoE PADI [Host-Uniq 0xC05C5CC2] [Service-Name] > 20:15:05.905193 PPPoE PADI [Host-Uniq 0xC05C5CC2] [Service-Name] > 20:15:08.964978 PPPoE PADO [Host-Uniq 0xC05C5CC2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:09.064289 PPPoE PADO [Host-Uniq 0xC05C5CC2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:11.011223 PPPoE PADI [Host-Uniq 0x008922C2] [Service-Name] > 20:15:11.011231 PPPoE PADI [Host-Uniq 0x008922C2] [Service-Name] > 20:15:14.164175 PPPoE PADO [Host-Uniq 0x008922C2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:14.181137 PPPoE PADO [Host-Uniq 0x008922C2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:16.117251 PPPoE PADI [Host-Uniq 0xC0595CC2] [Service-Name] > 20:15:16.117259 PPPoE PADI [Host-Uniq 0xC0595CC2] [Service-Name] > 20:15:19.248075 PPPoE PADO [Host-Uniq 0xC0595CC2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:19.264056 PPPoE PADO [Host-Uniq 0xC0595CC2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:22.367294 PPPoE PADI [Host-Uniq 0x007D22C2] [Service-Name] > 20:15:22.367302 PPPoE PADI [Host-Uniq 0x408612C2] [Service-Name] > 20:15:22.367311 PPPoE PADI [Host-Uniq 0x408612C2] [Service-Name] > 20:15:25.464788 PPPoE PADO [Host-Uniq 0x007D22C2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:25.480781 PPPoE PADO [Host-Uniq 0x408612C2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:25.497286 PPPoE PADO [Host-Uniq 0x408612C2] [AC-Name > "BRAS-D3-BDG-8Y224150703147"] [Service-Name] > 20:15:27.473336 PPPoE PADI [Host-Uniq 0x805B5CC2] [Service-Name] > Does this goes on for 3 hours? I see nothing strange above, except that it goes no further than the PADI/PADO sequence. Do you have any firewall rules? I would suggest asking your ISP about this strange phenomenon. Nikos