Re: measure traffic caused by pppd (UMTS)

2009-03-18 Thread Matthias Apitz
El día Friday, May 16, 2008 a las 10:08:26PM +0200, Toni Schmidbauer escribió: At Fri, 2 May 2008 11:46:46 +0200, Matthias Apitz wrote: Sometimes when I travel around and can't see any usable WLAN I'm using the UMTS and PPPD, which works well but of course one must pay for this; mb

Re: measure traffic caused by pppd (UMTS)

2009-03-18 Thread Matthias Apitz
using the UMTS and PPPD, which works well but of course one must pay for this; mb=`netstat -ib|awk '/tun0.*Link/ {mb=($6+$9)/1024^2; printf %.2f,mb}'` date=`date +%s` ^ I think there is a typo in your script; and for me the fields of the netstat output are $7 and $10: No, I

Re: measure traffic caused by pppd (UMTS)

2008-05-18 Thread Toni Schmidbauer
At Sun, 18 May 2008 07:15:10 +0300, Odhiambo Washington wrote: ..as in from ppp.linkdown? i was using a custom script for umts startup/shutdown. but it should work there as well. toni -- If you understand what you're doing, you're | toni at stderror dot at not learning anything.

Re: measure traffic caused by pppd (UMTS)

2008-05-17 Thread Toni Schmidbauer
At Fri, 2 May 2008 11:46:46 +0200, Matthias Apitz wrote: Sometimes when I travel around and can't see any usable WLAN I'm using the UMTS and PPPD, which works well but of course one must pay for this; mb=`netstat -ib|awk '/tun0.*Link/ {mb=($6+$9)/1024^2; printf %.2f,mb}'` date=`date +%s` echo

Re: measure traffic caused by pppd (UMTS)

2008-05-17 Thread Odhiambo Washington
On Fri, May 16, 2008 at 11:08 PM, Toni Schmidbauer [EMAIL PROTECTED] wrote: At Fri, 2 May 2008 11:46:46 +0200, Matthias Apitz wrote: Sometimes when I travel around and can't see any usable WLAN I'm using the UMTS and PPPD, which works well but of course one must pay for this; mb=`netstat

measure traffic caused by pppd (UMTS)

2008-05-02 Thread Matthias Apitz
Hello, Sometimes when I travel around and can't see any usable WLAN I'm using the UMTS and PPPD, which works well but of course one must pay for this; Is there some tool which I could put into /etc/ppp/ip_down script which logs the traffic done into some file; I see /usr/ports/net/ppptraf which

Re: Fwd: Re: pppd crashes, was: kde-freebsd

2007-02-10 Thread Joe Vender
are using pppd, then you need to set the tunable to 0, if I read it correctly. http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2004-08/2745.html This all makes me wonder, what is the advantage to having the debug.mpsafenet set to 1 as default, anyway, if the computer only has a single

A problem with the pppd

2006-02-12 Thread a
Help me, please, with the pppd. The problem is the next. I want to connect to Internet Service Provide (ISP) with a callback. I use the pppd and the chat with the next scripts, which are inessential now: # pppd script /dev/cuad1 115200 debug defaultroute crtscts noipdefault connect

RE: A problem with the pppd

2006-02-12 Thread fbsd_user
To: freebsd-questions@freebsd.org Subject: A problem with the pppd Help me, please, with the pppd. The problem is the next. I want to connect to Internet Service Provide (ISP) with a callback. I use the pppd and the chat with the next scripts, which are inessential now: # pppd script /dev/cuad1 115200

RE: A problem with the pppd

2006-02-12 Thread a
Subject: RE: A problem with the pppd First of all you are trying to use kernel ppp. This was completely rewritten because it was so hard to configure and debug and it now called User ppp. d (IE: kernel ppp) was kept around for backwards compatibility. For all practical purposes its

pppd

2005-10-25 Thread Alexander Pyhalov
I use the last port collection, but there is only 2.3.11 version of pppd there. Are there any plans for updating it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: pppd

2005-10-25 Thread Mark Linimon
On Tue, Oct 25, 2005 at 10:56:35AM +0400, Alexander Pyhalov wrote: I use the last port collection, but there is only 2.3.11 version of pppd there. Are there any plans for updating it? The first place you should always ask about plans to update a port is the maintainer. If the maintainer

Re: pppd

2005-10-25 Thread Igor Robul
Alexander Pyhalov wrote: I use the last port collection, but there is only 2.3.11 version of pppd there. Are there any plans for updating it? ___ AFAIK pppd is in base system, not in ports. ___ freebsd

Re: pppd

2005-10-25 Thread Kris Kennaway
On Tue, Oct 25, 2005 at 01:05:01PM +0400, Igor Robul wrote: Alexander Pyhalov wrote: I use the last port collection, but there is only 2.3.11 version of pppd there. Are there any plans for updating it? ___ AFAIK pppd is in base system

Please help with pppd and routing

2005-10-25 Thread Roman Serbski
Dear all, I would appreciate your advise regarding pppd and routing. FreeBSD 5.4-STABLE, pppd with mgetty acting as dial-in server with one external modem. I can connect to server with no problem but it seems like routing doesn't work for dial-in user. I cannot even ping the ip address of dial

Re: pppd

2005-10-25 Thread Alexander Pyhalov
someone submits a PR. I've looked at pppd 2.4.3 and saw - there is an interesting thing. If pppd 2.3.11 has support for freebsd-3.0 included, pppd 2.4.3 does not have it at all, so it'll be more work for making port from it... ___ freebsd-questions

Re: pppd server help

2005-10-03 Thread Lowell Gilbert
Please don't top-post. Efren Bravo [EMAIL PROTECTED] writes: Hi, I have only one modem, my doubt is how and where ppp or pppd are started? The Handbook make references to scripts to manage them, but who launch those scripts? I don't know if I make myself understand Thanks

Re: pppd server help

2005-10-03 Thread Philip Hallstrom
I have only one modem, my doubt is how and where ppp or pppd are started? The Handbook make references to scripts to manage them, but who launch those scripts? I don't know if I make myself understand Thanks for your time... This is what I did... hopefully I'm not forgetting anything

pppd: Could not determine remote IP address

2005-10-02 Thread guru
Hello, With the helping hand of someone in freebsd-mobile list I've hacked the 'uftdi' driver to support a PCMCIA card provided by Vodafone for UMTS. The card works now as it should but the IPCP negotiating of the pppd 2.3.11 (from ports collection) ends up in: ... sent [IPCP ConfReq id

Re: pppd: Could not determine remote IP address

2005-10-02 Thread Andrew Gordon
On Sun, 2 Oct 2005 [EMAIL PROTECTED] wrote: With the helping hand of someone in freebsd-mobile list I've hacked the 'uftdi' driver to support a PCMCIA card provided by Vodafone for UMTS. The card works now as it should but the IPCP negotiating of the pppd 2.3.11 (from ports collection) ends

Re: pppd server help

2005-10-01 Thread Lowell Gilbert
Efren Bravo [EMAIL PROTECTED] writes: I don't realize how the pppd server start when the modem answer the phone. I've followed the step of the section 21.3.3 Using pppd as a Server of the Handbook and I'm not sure what should I do because according to this section I've to create

pppd server help

2005-10-01 Thread Efren Bravo
Hi, I have only one modem, my doubt is how and where ppp or pppd are started? The Handbook make references to scripts to manage them, but who launch those scripts? I don't know if I make myself understand Thanks for your time... Are you going to be running a high-volume dialin

pppd server help

2005-09-30 Thread Efren Bravo
Hi, I don't realize how the pppd server start when the modem answer the phone. I've followed the step of the section 21.3.3 Using pppd as a Server of the Handbook and I'm not sure what should I do because according to this section I've to create a script and this script will tell pppd

replacing select() with kqueue() for pppd?

2005-08-02 Thread Bsderss
Hi, Is possible replace all select() functions with kqueue() and kevent() for FreeBSD 5.x or Current? Sam Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs

pppd and NAT

2004-12-28 Thread Igor Pokrovsky
Hi, Does anyone knows if it's possible to do NAT with pppd. I know it's possible with ppp, but pppd didn't reveal me any clue. P.S.: please CC me, I'm not on list. -ip -- If at first you don't succeed, blame it on your supervisor. ___ freebsd

Re: pppd and NAT

2004-12-28 Thread Igor Pokrovsky
On Tue, Dec 28, 2004 at 11:07:32PM +0300, Igor Pokrovsky wrote: Does anyone knows if it's possible to do NAT with pppd. I know it's possible with ppp, but pppd didn't reveal me any clue. Sorry for replying to my own message. I found the solution - it is possible to use natd and ipfw to do

Re: pppd and NAT

2004-12-28 Thread Joshua Lokken
On Tue, 28 Dec 2004 23:33:28 +0300, Igor Pokrovsky [EMAIL PROTECTED] wrote: On Tue, Dec 28, 2004 at 11:07:32PM +0300, Igor Pokrovsky wrote: Does anyone knows if it's possible to do NAT with pppd. I know it's possible with ppp, but pppd didn't reveal me any clue. Sorry for replying to my

PPPD connection

2004-05-26 Thread Vetrov Maxim
Hi, I can't establish connection with my ISP using pppd. I attached several files: dir - /etc/ppp/ directory layout system - output of uname -a chap-secrets | chat.vmtc | - config files for pppd options.vmtc | I start pppd as root 'pppd file /etc/options/options.vmtc'. Then it connects

pppd auth-up

2004-05-21 Thread Ian Moore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've been using pppd on my 5.2 system. I setup a script to run ntpdate and a couple of oher things when I connect to my ISP in /etc/ppp/auth-up, but it doesn't appear to run. Just in case it was a timing problem I added a sleep 20 line

pppd version

2004-04-22 Thread Todd
I'm curently running FreeBSD 4.9-STABLE #1: Fri Mar 26 10:15:04 EST 2004 Which has pppd version 2.3 patch level 5. I'm trying to use the X-ISP GUI program and it requires pppd version 2.3.9 or later to be able to automatically obtain DNS. I'm going to be connecting at various locations, each

pppd (Server)

2004-04-08 Thread gffds fsdff
I have downloaded and installed kermit, typed in the configuration as listed in 18.3.3. When I try to run pppd with no setting options, I get this: 192# pppd ~ÿ}#À!}!}!} }.}%}}2z¢;}'}}(} C~~ÿ}#À!}!}!} }.}%}}2z¢;}'}}(} C~~ÿ}#À!}!}!} }.}%}}2z¢;}'}}(} C~~ÿ}#À!}!}!} }.}%}}2z¢;}'}}(} C~~ÿ}#À

RE: pppd (Server)

2004-04-08 Thread JJB
As you have found out pppd is very hard to configure and debug, that's why it was re-written along time ago and is now called user ppp. Read man ppp for details on how to config and use. That's what is most commonly used today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

What is wrong with pppd version 2.3.5?

2004-01-02 Thread Achim Gorski
Recently I installed 5.2-RC2 for testing purpose and saw an unexplainable behaviour of pppd 2.3.5. I have an old FreeBSD 4.2 running and connecting via modem with ppp to an ISP using ipfw, natd and pppd. Then I configured the 5.2-RC2 install logical identical, but it does not route any packets

pppd

2003-12-05 Thread Lev Klimin
Good morning! I have 4.9-release. I'm having little problem with time. I live in Russia on Moscow-west+00 time. My clock is local. My timezome is /usr/share/zoneinfo/Europe/Moscow. To resolve this trouble I see following: 1. Say FreeBSD that my clock is local. 2. Set timezone. I used for it

Re: pppd

2003-12-05 Thread Matthew Seaman
On Fri, Dec 05, 2003 at 10:02:19AM +0300, Lev Klimin wrote: Good morning! I have 4.9-release. I'm having little problem with time. I live in Russia on Moscow-west+00 time. My clock is local. My timezome is /usr/share/zoneinfo/Europe/Moscow. To resolve this trouble I see following: 1. Say

pppd

2003-12-02 Thread Lev Klimin
Good evening! I have 4.9-release. I run pppd to dial ISP. Pppd have persist option to retrieve lost connections. Today I wanted to check, how it works with init. I added in /etc/ttys follow: ---begin chunk # pppd for ISP on com1 # ttyd0 /usr/sbin/pppd /dev/ttyd0 38400 dialup on #ttyd1

Re: ip-up script of pppd no triggered

2003-11-13 Thread Jim Xochellis
Hi Alex, hi list, On Thursday, November 13, 2003, at 04:23 AM, Alex de Kruijff wrote: On Wed, Nov 12, 2003 at 07:31:29PM +0200, Jim Xochellis wrote: Hi list, I need persuade pppd to call its ip-up script in order to add a non-default route when the link is up and running. Unfortunately it seems

ip-up script of pppd no triggered

2003-11-12 Thread Jim Xochellis
Hi list, I need persuade pppd to call its ip-up script in order to add a non-default route when the link is up and running. Unfortunately it seems that my ip-up script is not being called. The mode of the file is rwxr-xr-x and the owner root:wheel. I am calling the pppd from inside a /usr

Re: ip-up script of pppd no triggered

2003-11-12 Thread Alex de Kruijff
On Wed, Nov 12, 2003 at 07:31:29PM +0200, Jim Xochellis wrote: Hi list, I need persuade pppd to call its ip-up script in order to add a non-default route when the link is up and running. Unfortunately it seems that my ip-up script is not being called. The mode of the file is rwxr-xr-x

poptop / pppd

2003-10-19 Thread Chris Knipe
Lo all, Very arb and weird problem... I've followed all the docs that google could return (they all mostly the same in any case), and yeah... My PPTP server *does* work.. As long as I don't terminate more than one connection at a time to the server *shock horror*. For some reason (and I suspect

Re: poptop / pppd

2003-10-19 Thread slave-mike
Please use the port mpd instead. Chris Knipe wrote: Lo all, Very arb and weird problem... I've followed all the docs that google could return (they all mostly the same in any case), and yeah... My PPTP server *does* work.. As long as I don't terminate more than one connection at a time to the

Re: user-ppp faster then pppd ?

2003-09-12 Thread Jerry McAllister
On Fri, Sep 12, 2003 at 01:37:59AM +0200, [EMAIL PROTECTED] wrote: The difference is too small to be meaningful. when you have 56k modem and ~4.5KB throughput 0.5KB can make a big difference I wonder if we're thinking of the same numbers. I've seen 56k modems run at 14,000 bps on

user-ppp faster then pppd ?

2003-09-11 Thread [EMAIL PROTECTED]
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

Re: user-ppp faster then pppd ?

2003-09-11 Thread Bob Hall
On Thu, Sep 11, 2003 at 09:23:31PM +0200, [EMAIL PROTECTED] wrote: 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

user-ppp faster then pppd ?

2003-09-11 Thread [EMAIL PROTECTED]
that there is a difference in connection speeds caused by a difference between ppp and pppd lie somewhere between zero and null. I tried it several times and got the same results, therefore it must be caused by the diffrence between ppp and pppd. Thanks

Re: user-ppp faster then pppd ?

2003-09-11 Thread Kris Kennaway
, or slightly busier, or one of a hundred other possibilities. The odds that there is a difference in connection speeds caused by a difference between ppp and pppd lie somewhere between zero and null. I tried it several times and got the same results, therefore it must be caused

pppd / poptop

2003-09-01 Thread Chris Knipe
Lo all, Very arb and weird problem... I've followed all the docs that google could return (they all mostly the same in any case), and yeah... My PPTP server *does* work.. As long as I don't terminate more than one connection at a time to the server *shock horror*. For some reason (and I suspect

pppd + Radius

2003-06-13 Thread Systems Administrator
Hi FreeBSD People, Can you tell me wether or not I can get a version of PPPD on FreeBSD that will support a Radius server. I want to terminate an l2tp tunnel and get pppd to authenticate with Radius. Is it possible on Freebsd 5.0 which now supports l2tpd? If so, can you please let me know how I

pppd script and DVD-RAM backups

2002-11-22 Thread Bob Hall
I've put some bash code for starting and stopping pppd on my web site. I've also put up my complete procedure for backing up a FBSD box to a DVD-RAM disk and doing a full restore. This includes some bash code that simplifies the backup process considerably. I've tested the backup and restore

Could not use pppd under -CURRENT

2002-09-18 Thread Huang wen hui
hi, I could not use pppd under -CURRENT, may be pppd driver could not link into kernel? I am sure I include ppp driver in system config file. # uname -a FreeBSD hwh.gddsn.org.cn 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Tue Sep 17 20:56:16 CST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HWH i386