On Fri, 12 Apr 2002, Tim Woodall wrote:
OK. tested and works with the extra if(syncHDLC) added back in
in both async and sync modes :-)
Regards,
Tim.
> On Fri, 12 Apr 2002, Edouard Gomez wrote:
>
> >
> > Tha bad news, it doesn't work (for me).
> >
> > The good news, the patch is now in CVS so Alex, you and I can try to see
> > what's wrong without submitting big patches for small fixes.
> >
> > I'll take a look at the rp-pppoe tty code to see how they configure the hdlc
> > line discipline for async mode.
> >
> > NB : the if(syncHDLC) enclosing the hdlc discipline setup has been removed
> > because i think we must set it even in async... maybe i'm wrong
> > but it didn't work either with our without this if statement so i
> > removed it.
> >
> >
> This if() is required. We mustn't do the ioctl for async.
>
> Also you must remove the sync option from ppp options
> probably in /etc/ppp/peers/adsl and you will need to
> modprobe ppp_async
>
> alias tty-ldisc-3 ppp_async
>
> in /etc/modules.conf did the trick for me.
>
> Regards,
>
> Tim.
>
> p.s. I haven't tested this switchable version yet but I will tonight/tomorrow
> but the original patch worked correctly
>
> p.p.s. Although I haven't tried it yet I think that the async version could
> be used on a moduleless kernel (for those of us who think it is an extra
> security issue on a firewall to have loadable modules) n_hdlc can't
> (couldn't?) be built into the kernel but must be a module.
>
>
>
--
God said, "div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t,"
and there was light.
http://tjw.hn.org/ http://www.locofungus.btinternet.co.uk/
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe