Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 21:23:31 +0200
From:      "humbaba@gmx.net" <humbaba@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   user-ppp faster then pppd ?
Message-ID:  <3F60CBB3.2030400@gmx.net>

next in thread | raw e-mail | index | archive | help
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



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