[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ppp
Subject: Re: defaultroute option
From: Bill Unruh <unruh () physics ! ubc ! ca>
Date: 2002-10-20 17:59:20
[Download RAW message or body]
On Thu, 17 Oct 2002, James Carlson wrote:
> Danny Lepage writes:
> [...more comments on that later...]
> > Sorry, I hope I'm not sounding arsh or something. It is just that for
> > now, given the current tools, there is no way to reliably do what I want
> > to do. Unless there is an "unknown" feature to "reserve" ppp interface
> > for specific use i.e. somehow tell pppd to not use ppp0 unless
> > specificly told otherwise.
>
> The undocumented "unit <n>" option forces pppd to select a particular
Actually it does not force it, it is just a suggestion. If pppd is
unable to assign that unit number, it drops back to the old system. It
is very easy to make this a "must" rather than a suggestion by a one
line change in the code, but it does require a code change.
sys-linux.c
in the subrouting make_ppp_unit()
Just comment out the second occurance of
x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit);
(or the whole if statement.)
> ppp* interface of interest. Just start the numbering reasonably high,
> and you should have no trouble with any on-the-fly allocation. (Well,
> assuming the Linux kernel bits haven't broken recently. I don't mess
> with that option too much.)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic