From owner-freebsd-isp@FreeBSD.ORG Tue Jan 4 12:58:22 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3D4B16A4D1 for ; Tue, 4 Jan 2005 12:58:22 +0000 (GMT) Received: from rena.mysmt.net (rena.mysmt.net [82.150.137.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 064AF43D1D for ; Tue, 4 Jan 2005 12:58:22 +0000 (GMT) (envelope-from erik@microcontroller.nl) Received: (qmail 48540 invoked by uid 1003); 4 Jan 2005 12:58:18 -0000 Received: from erik@microcontroller.nl by rena.mysmt.net by uid 89 with qmail-scanner-1.21 (clamdscan: 0.70-rc. spamassassin: 2.63. Clear:RC:1(213.84.50.76):. Processed in 0.089763 secs); 04 Jan 2005 12:58:18 -0000 Received: from unknown (HELO 192.168.0.14) (microcon@microcontroller.nl@213.84.50.76) by 82-150-137-14.mysmt.net with SMTP; 4 Jan 2005 12:58:18 -0000 From: "Erik @ Microcontroller.nl" To: Spidey Knepscheld In-Reply-To: <00f401c4f257$137b70f0$0b01000a@spidey> References: <00f401c4f257$137b70f0$0b01000a@spidey> Date: Tue, 04 Jan 2005 13:58:50 +0100 Message-Id: <1104843530.8783.30.camel@tessa.mysmt.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-isp@freebsd.org Subject: RE: DSL X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 12:58:23 -0000 ah, you have another network with you ip range? so you could indeed route outbound traffic through the dsl lines, that would be easy to setup. But then you want to count the bandwidth, have a look at netstat this wil give you the bytes out: (where fxp0 is your nic) netstat -b -I fxp0 | head -2 | tail -1 | awk '{ print $10; }' this wil give you bytes in; netstat -b -I fxp0 | head -2 | tail -1 | awk '{ print $7; } you have to build some scripts around that to do the counting.. -Erik. On Tue, 2005-01-04 at 14:15 +0200, Spidey Knepscheld wrote: > Well bandwidth is much more expensive than DSL and we check the price > difference and DSL would be cheaper. I have competitors in town that > work it on that basis.So I would like to get it to work like that.What I > think is if I can install a DSL router I can give it an IP on my network > and then it doesn't matter what the IP chages to ? > > -----Original Message----- > From: owner-freebsd-isp@freebsd.org > [mailto:owner-freebsd-isp@freebsd.org] On Behalf Of Erik @ > Microcontroller.nl > Sent: 04 January 2005 01:53 PM > To: Spidey Knepscheld > Cc: Freebsd-Isp > Subject: Re: DSL > > > On Tue, 2005-01-04 at 13:37 +0200, Spidey Knepscheld wrote: > > > > > Do you know of a way to setup FreeBSD to check the amount of data > > through that link and then switch over to the next account when the > > cap is reached. > > > > I hope this makes sense > > > Doesn't it make more sense to get yourself a 'pro' package at this ISP? > ;-) or get a special deal on bandwidth? Every single account has a > different IP address probably too, that wouldn't be very handy either.. > > Best wishes to everyone! > > -Erik. > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >