From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 12:23:19 2003 Return-Path: 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 5C73B16A4BF for ; Thu, 11 Sep 2003 12:23:19 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 378DD43FEA for ; Thu, 11 Sep 2003 12:23:18 -0700 (PDT) (envelope-from humbaba@gmx.net) Received: (qmail 29835 invoked by uid 65534); 11 Sep 2003 19:23:16 -0000 Received: from A1584.pppool.de (EHLO gmx.net) (213.6.21.132) by mail.gmx.net (mp009) with SMTP; 11 Sep 2003 21:23:16 +0200 Message-ID: <3F60CBB3.2030400@gmx.net> Date: Thu, 11 Sep 2003 21:23:31 +0200 From: "humbaba@gmx.net" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: user-ppp faster then pppd ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2003 19:23:19 -0000 Hi I recently tried to connect to the Internet using kernel ppp (pppd) instead off user ppp. I noticed that the connection was about 0.5 KB slower whith pppd when downloading the same file from the same server. I'm using a 56 K modem and have Release 5.1 installed, I also appended my /etc/ppp/options, ppp.conf files. What could be the reason for the different throughputs? --------------------ppp.conf----------------------------------- ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) freenet: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone 019231770 set authname USERNAME set authkey PASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route ------------------------------------options--------------------------------------------------------- # $FreeBSD: src/share/examples/pppd/options.sample,v 1.1 2002/01/29 00:23:33 cjc Exp $ # # Example for /etc/ppp/options file. # crtscts # enable hardware flow control 115200 modem # modem control line noipdefault # remote PPP server must supply your IP address. passive # wait for LCP packets defaultroute # put this if you want that PPP server will be your # default router