Re: diald and ppp under 2.3.18

Paul Mackerras (paulus@linuxcare.com)
Sat, 23 Oct 1999 14:03:29 +1000


On Fri, 22 Oct 1999, Mike Jagdis wrote:
> On 22 Oct 1999 inr-linux-kernel@ms2.inr.ac.ru wrote:
>
> > The following feature appeared in the new version of ppp driver.
> >
> > diald uses ioctl PPPIOCGUNIT on terminal device to get the ppp unit
> > number attached to the terminal. In the new ppp driver there is no
> > such ioctl in ppp_async.c. I solved the problem so far by simply
> > adding this ioctl to ppp_async, but I am not quite sure it is a good
> > solution. Is there any another method to deal with this problem, or
> > this ioctl was simply forgotten?
>
> This is essential. Without it only pppd can know what unit was
> allocated for a particular line. Without knowing the unit we
> cannot know which interface we have just started.

OK.

In the longer term I think it would be great if we could work together to
get diald's features integrated into pppd. The way diald has to use a
slip interface is suboptimal IMHO.

Paul.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/