On Fri, 12 Apr 2002, Alex Bennee wrote:

> >> On Thu, 11 Apr 2002, Tim Woodall wrote:
> >>
> >> Been looking at the rp-pppoe code. It was the async stuff I was
> >> thinking of.
> 
> Tim,
> 
> Is the rp-pppoe code easily hackable into a pppoe that works the same way
> as pppoa?
> 
> I know some people in the US have pppoe providers and for the moment the
> only option is the kernel mode drivers. If we had a base we could suggest
> it to someone as a project.
> 

It probably isn't too difficult. I think what you would have to do is
find the bits of code that read and write to the interface and instead
read and write to the frog.

I think it would only be necessary to modify the file if.c (maybe together
with some of main() where it reads the options), in particular
openInterface, sendPacket and receivePacket.

If people already have a working connection and can dump the data going
over the usb link and the ppp link then it should be fairly straight 
forward to make it all match.

Note that the rp code is single threaded and uses select to test if a
descriptor is readable or writable. It would probably be necessary
to turn this into two threads unless there is a way to do a select
or equivalent on the USB connection.

Regards,

Tim.


-- 
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

        

Reply via email to