> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Russell King
> - ARM Linux
> Sent: Monday, January 08, 2001 3:28 PM
> To: David Milburn
> Cc: [EMAIL PROTECTED]
> Subject: Re: pppoe in ARM environment
> 
> 
> David Milburn writes:
> > Has anyone had success with pppoe in the ARM environment (ebsa285)?
> >
> > If so, would you point me to the software pieces needed for pppoe?
> 
> Haven't tried it, but I've built it for the ebsa110.  I'd be interested
> in hearing about your experiences with it though.

We're (David Milburn and I) implementing a small router to be interposed between a DSL 
line and a small local Ethernet LAN.  Our box will be the PPPoE server for the LAN, of 
course.

Our effort is based on the "ppp-2.4.0-pppoe2" package from Michal Ostrowski's work at 
"http://www.math.uwaterloo.ca/~mostrows/".  It's being cross-compiled to the ARM 
platform using an X86-based Red Hat system to a 2.4.0 kernel without DEVFS.

In "pppoed" I've found numerous instances of strings without NULL terminators being 
copied from malloc'ed memory by simple "strcpy(3)" routines.  Sometimes there is a 
NULL picked up from the trash after the malloc'ed meory, sometime not.  Needless to 
say, this greatly increases pppoed's tendancy to be flakey on non-X86 hosts. I'm 
working through these now.

I haven't yet gotten the pppoed daemon to successfully invoke the pppd daemon.  The 
pppoed will negotiate a session with another Linux host running Roaring Penguin's 
PPPoE client, but it doesn't correctly spawn a pppd session yet. "Real soon now" (tm) 
though.

Invoking the pppd daemon manually does attempt to start a session: it negotiates the 
LCP's but gives up trying to determine the IP addresses.  I may have a problem with my 
options file(s).

-- 

Tommy Reynolds

"Any correlation between the carefully thought-out opinions expressed 
 here-in and the knee-jerk positions taken by my employer is due 
 entirely to their good fortune."

Phone:  +1.256.704.9286 (work)                  [EMAIL PROTECTED]

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to