Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 21:17:47 +0700
From:      budsz <budiyt@gmail.com>
To:        Nikos Vassiliadis <nvass9573@gmx.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PPPoE trouble handshaking
Message-ID:  <4d4dc3640906250717m65b5895ct85af94a7510711d6@mail.gmail.com>
In-Reply-To: <4A4383C2.6050809@gmx.com>
References:  <4d4dc3640906250021l6c46be44he009a61cbfd571ba@mail.gmail.com> <4A433AF7.5090802@gmx.com> <4d4dc3640906250600s1ce50f1cm143460ec1cb9d302@mail.gmail.com> <4A4383C2.6050809@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 25, 2009 at 9:03 PM, Nikos Vassiliadis<nvass9573@gmx.com> wrote:
> budsz wrote:
>>
>> On Thu, Jun 25, 2009 at 3:53 PM, Nikos Vassiliadis<nvass9573@gmx.com>
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d4dc3640906250717m65b5895ct85af94a7510711d6>