From owner-freebsd-net Mon Mar 26 15:15:16 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 6DF8C37B718 for ; Mon, 26 Mar 2001 15:15:10 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id PAA30910; Mon, 26 Mar 2001 15:01:52 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.1/8.11.1) id f2QN1FF40251; Mon, 26 Mar 2001 15:01:15 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200103262301.f2QN1FF40251@arch20m.dellroad.org> Subject: Re: mpd-netgraph bandwidth settings In-Reply-To: <20010326204035.D66629-100000@hq1.tyfon.net> "from Dan Larsson at Mar 26, 2001 08:43:00 pm" To: Dan Larsson Date: Mon, 26 Mar 2001 15:01:15 -0800 (PST) Cc: Martin McFlySr , freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dan Larsson writes: > | DL> How can I change the bandwidth from 64000bps to something else > | DL> when acting as a pptp-server? > | > | $cd src > | $grep 64000 * > | link.h: #define LINK_DEFAULT_BANDWIDTH 64000 /* 64k */ > | pptp.c: #define PPTP_CALL_MAX_BPS 64000 > | pptp.c: PPTP_OCR_RESL_OK, 0, 0, 64000 /*XXX*/ ); > | pptp_ctrl.c: con.speed = 64000; /* XXX */ > > Thanks! > > | ps. but why? > > There's loads of spare bandwidth. It doesnt' matter.. the bandwidth values reported by PPTP are meaninless unless you are doing remote dialin/dialout (mpd doesn't do this, it just uses PPTP for tunneling). -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message