Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 1999 13:41:32 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Veaceslav Revutchi <sl@zeus.dnt.md>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pppd, leased lines (static interface)
Message-ID:  <Pine.BSF.3.96.990418133914.11384H-100000@cygnus.rush.net>
In-Reply-To: <Pine.BSF.4.05.9904181606500.18188-100000@zeus.dnt.md>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 Apr 1999, Veaceslav Revutchi wrote:

> 
> Hello,
> 
> I have a 3.1 machine with a multiport serial card holding
> leased lines connections. I use pppd for that, so I have
> interfaces like ppp0, ppp1 ... and so on.
> 
> To get the usage statistics for these lines I use ucd-snmp on that
> machine and MRTG on another. 
> 
> The problem is that if some of the links go down for some reason
> then when they come up they might use a different ppp interface
> and that breaks all my MRTG logs!
> 
> How do I tell pppd to staticaly assign the line residing on
> /dev/ttyd? to ppp? so that no other ttyd* line will take this 
> interface?

I looked into this once, it seems ppp interfaces are assigned 
a little deep in the kernel making the modification nessesary
to do this a bit convoluted, invasive and difficult.

It's somewhere near the very back of my TODO list.

2 options:
1) useland ppp
2) a script that monitors what ppp interface is attached to
  which ttyd so that mrtg can parse this.

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990418133914.11384H-100000>