From owner-freebsd-questions Thu Dec 26 16:51:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8608237B405 for ; Thu, 26 Dec 2002 16:51:29 -0800 (PST) Received: from web14804.mail.yahoo.com (web14804.mail.yahoo.com [216.136.224.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 0152843ED8 for ; Thu, 26 Dec 2002 16:51:29 -0800 (PST) (envelope-from rosti_bsd@yahoo.com) Message-ID: <20021227005128.9513.qmail@web14804.mail.yahoo.com> Received: from [192.117.108.59] by web14804.mail.yahoo.com via HTTP; Thu, 26 Dec 2002 16:51:28 PST Date: Thu, 26 Dec 2002 16:51:28 -0800 (PST) From: Rostislav Krasny Subject: Re: PPPoE and troubles with TCP To: Greg Black Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Greg Black wrote: > [Note: Cc list trimmed; cross-posting not recommended; please > watch these things.] > > Rostislav Krasny wrote: > > | Maybe PPPoE implementation in FreeBSD have a bug? > > The data you have provided is inadequate. The following > /etc/ppp.conf (edited to hide passwords, etc) works with the > version of ppp that has been out since March with an Alcatel > Speed Touch Home ADSL modem on the web sites you had trouble > with: > > set device PPPoE:xl0 > set authname foo > set authkey bar > set speed sync > enable lqr > set cd 5 > set dial > set login > set redial 0 0 > set ifaddr 987.654.321.0 0.0.0.0/0 > add default HISADDR > set timeout 0 > > Note that it does not specify anything for MRU and MTU as these > are both handled automatically by ppp now. > > Greg Edited to hide 'authname' and 'authkey' only? What about 'set ifaddr' line? Did you use this version of /etc/ppp/ppp.conf by yourself? In my system it produce the following error message: Working in background mode Using interface: tun0 Warning: ncprange_aton: 987.654.321.0: Bad address Warning: set ifaddr: Failed 1 Child failed (errdead) Ok, after I fixed the problem with 'set ifaddr' I have exactly the same connection like I had before. You're right, MTU and MRU are both handled automatically but what the difference it makes in my case? I still cannot browse http://www.ssh.com/ Can you? Or could you do some simple test? Just run 'telnet www.ssh.com 80' and when you're connected enter this HTTP request: ===== HTTP request ===== GET / HTTP/1.1 Host: www.ssh.com Connection: close ===== HTTP request ===== In the end of 3rd line press Enter twice. Do you get any answer? I don't. If you get something, maybe you use proxy or your ISP (Internet Service Provider) have transparent proxy? Anyway, how could you explain that with MTU == MRU == 1484 I have no problem with www.ssh.com ? How could you explain that RASPPPOE works good with MTU == 1492 in Win98SE in the same system and with the same ADSL modem? __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message