Gentoo Archives: gentoo-ppc-dev

From: Marc Ozon <marc_ozon@×××××××.com>
To: gentoo-ppc-dev@l.g.o
Subject: [gentoo-ppc-dev] ppp with atm support
Date: Tue, 29 Jun 2004 14:02:02

I've been using a Speedtouch USB ADSL modem with my iBook running Gentoo,
and in the process of getting it to work, I found that anyone needing to use
PPPoA will run into a problem:  the ebuild for ppp that includes ATM support
( >= 2.4.2) explicitly prevents it from building on anything but x86, apart
from any masking in $KEYWORDS or flags in $USE.  Here are the relevant bits
from ppp-2.4.2-r2.ebuild:

  if use atm && use x86; then
    einfo "Enabling PPPoATM support"
    epatch ${FILESDIR}/${PV}/pppoatm-2.diff.gz
    sed -i -e "s/^LIBS =/LIBS = -latm/" pppd/Makefile.linux || die


  if use atm && use x86; then pppd/plugins/

In other words, anyone building ppp on anything but x86 won't get ATM
support, even if they put 'atm' among their USE flags.

I've added notes about this to one of the 'ppp and ATM' bugs (#47574), but
thought some non-x86 developers should know about it, too.

In the interest of full disclosure:  ultimately, though I got the PPPoA
stuff compiled and apparently working, I found that pppd would time out when
it tried to authenticate with my ISP -- and realized that my ISP only
provides PPPoE, something I confirmed with one of their support folks.  I
had jumped to conclusions from the fact that all the threads I'd found in
the forums about this modem were about using it with PPPoA (turns out there
is a thread for using it with PPPoE, but it was a single post, 8 months old,
so it was likely buried in the results when I first looked).  Still, the
fact that it compiled and ran at least seems reason enough not to deny it to
non-x86 folks, particularly in a masked ebuild.


Marc Ozon      Toronto, Ontario, Canada

gentoo-ppc-dev@g.o mailing list


Subject Author
Re: [gentoo-ppc-dev] ppp with atm support Luca Barbato <lu_zero@g.o>