From owner-freebsd-questions@FreeBSD.ORG Thu Jun 25 14:17:48 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 ADACB1065672 for ; Thu, 25 Jun 2009 14:17:48 +0000 (UTC) (envelope-from budiyt@gmail.com) Received: from mail-qy0-f186.google.com (mail-qy0-f186.google.com [209.85.221.186]) by mx1.freebsd.org (Postfix) with ESMTP id 6582C8FC0A for ; Thu, 25 Jun 2009 14:17:48 +0000 (UTC) (envelope-from budiyt@gmail.com) Received: by qyk16 with SMTP id 16so1890312qyk.3 for ; Thu, 25 Jun 2009 07:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LAODrGgyQEpR9Huee4YhU2MgB+fFDGLnfnxpAhgkCmc=; b=hmhRld8PNDxxCUR1E07K7gEfIfxmEhXOEw+9gWI89Z9SMbiHbu8BIxAnoajG6DrLbn RgdWw9EMbppeVMeI9e8PB4fbfa06BqAwV4/S9PEWyjuK8qJ6VhRDGbQ6QuiE9WQH4P9L 7yjUYnfJasuBi7e7V4ydh3vR7dRJFRnAADxD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=S5mH3Zq7hJJwet2hGlEHp4/t48xbb10VMRP5gkMbwO2eGRDPMopmPBIfY6PeVqNeLq hlbY0oQ9rT4ZaHmDMJFeWvUL02aY/sKttY9SrPO4JAAs0BVF6/tYCfNlDLQk/hUitGIe XR1jJrVkoAW9WnGUIfXBsoKvttsG6fHNIATIs= MIME-Version: 1.0 Received: by 10.220.75.9 with SMTP id w9mr2160689vcj.82.1245939467098; Thu, 25 Jun 2009 07:17:47 -0700 (PDT) In-Reply-To: <4A4383C2.6050809@gmx.com> References: <4d4dc3640906250021l6c46be44he009a61cbfd571ba@mail.gmail.com> <4A433AF7.5090802@gmx.com> <4d4dc3640906250600s1ce50f1cm143460ec1cb9d302@mail.gmail.com> <4A4383C2.6050809@gmx.com> Date: Thu, 25 Jun 2009 21:17:47 +0700 Message-ID: <4d4dc3640906250717m65b5895ct85af94a7510711d6@mail.gmail.com> From: budsz To: Nikos Vassiliadis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Thu, 25 Jun 2009 14:17:48 -0000 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] tcpdump: WARNING: rl1: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes 20:16:18.533688 PPPoE PADI [Host-Uniq 0x009443C2] [Service-Name] 20:16:18.533695 PPPoE PADI [Host-Uniq 0x009443C2] [Service-Name] 20:16:18.968779 PPPoE [ses 0x197f] LCP, Conf-Request (0x01), id 92, length 21 20:16:21.662866 PPPoE PADO [Host-Uniq 0x009443C2] [AC-Name "BRAS-D3-BDG-8Y224150703147"] [Service-Name] 20:16:21.679340 PPPoE PADO [Host-Uniq 0x009443C2] [AC-Name "BRAS-D3-BDG-8Y224150703147"] [Service-Name] 20:16:22.040825 PPPoE [ses 0x197f] LCP, Conf-Request (0x01), id 92, length 21 20:16:23.639726 PPPoE PADI [Host-Uniq 0x005B5CC2] [Service-Name] 20:16:23.639733 PPPoE PADI [Host-Uniq 0x005B5CC2] [Service-Name] 20:16:25.138200 PPPoE [ses 0x197f] LCP, Conf-Request (0x01), id 92, length 21 20:16:26.762773 PPPoE PADO [Host-Uniq 0x005B5CC2] [AC-Name "BRAS-D3-BDG-8Y224150703147"] [Service-Name] 20:16:26.779243 PPPoE PADO [Host-Uniq 0x005B5CC2] [AC-Name "BRAS-D3-BDG-8Y224150703147"] [Service-Name] 20:16:28.562282 PPPoE PADT [ses 0x197f] 20:16:28.562306 PPPoE PADI [Host-Uniq 0xC08722C2] [Service-Name] 20:16:28.745757 PPPoE PADI [Host-Uniq 0xC08722C2] [Service-Name] We got disconnected after get some warning in /var/log/ppp.log: Jun 25 20:12:15 rtr-gw ppp[346]: tun0: Phase: deflink: open -> lcp Jun 25 20:12:15 rtr-gw ppp[346]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Jun 25 20:12:15 rtr-gw ppp[346]: tun0: Phase: bundle: Terminate Jun 25 20:12:15 rtr-gw ppp[346]: tun0: Warning: ipv4_Input: IPCP not open - packet dropped Thank You -- budsz