Subject: Re: problems reconnecting via PPPoE
To: =?iso-8859-1?Q?C=E9sar_Catri=E1n_C=2E?= <ccatrian@eml.cc>
From: Quentin Garnier <cube@cubidou.net>
List: tech-net
Date: 04/20/2005 19:11:28
--fwblGvOBo7NCOYks
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 20, 2005 at 12:55:04PM -0400, C=E9sar Catri=E1n C. wrote:
> On Wed, 20 Apr 2005 18:06:21 +0200
> Quentin Garnier <cube@cubidou.net> wrote:
>=20
> > On Wed, Apr 20, 2005 at 11:57:00AM -0400, C=E9sar Catri=E1n C. wrote:
> > > On Wed, 20 Apr 2005 17:22:05 +0200
> > > Martin Husemann <martin@duskware.de> wrote:
> > >=20
> > > > On Wed, Apr 20, 2005 at 11:07:38AM -0400, C=E9sar Catri=E1n C. wrot=
e:
> > > > > ! /usr/pkg/sbin/pppoa2 -vpi 8 -vci 32 -v 0 -b > /dev/null 2>&1
> > > >=20
> > > > Does this reset your modem?
> > > >=20
> > > > Martin
> > >=20
> > > This daemon actually talks PPPoA to the Speedtouch ADSL modem, and do=
 attach=20
> > > itself to the tap(4) device, offering an interface to be used by PPP.
> >=20
> > If it talks PPPoA to the modem, then why would it offer a PPPoE interfa=
ce
> > instead of directly a PPP interface?  This looks completely bogus.
>=20
> The pppoa2 program talks only PPPoA to the modem_run program (the USB mod=
em=20
> driver), and at the same time it offers an ethernet like interface for us=
e with=20
> our PPP implementation for the authentication, etc.
>=20
> net/speedtouch out of the box uses net/userppp to work, and userppp accep=
t the=20
> output of pppoa2 piped as a device in the config file. But I wanted to us=
e=20
> native PPP.

But userppp and pppoe are very different things.  The kernel equivalent
of userppp is ppp(4) and the userland equivalent of pppoe(4) is
rp-pppoe.  The fact that your current setup works (with its drawbacks,
but still) means that you're actually doing PPPoEoA (that is, with an
added Ethernet layer).  If userppp can work with your DSL installation,
you'd better try using ppp(4) if you want the native implementation,
because involving Ethernet in this only brings trouble, notably with
tht MTU.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--fwblGvOBo7NCOYks
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQmaNQNgoQloHrPnoAQL2NAf9ESHZLtd320QifEY4hcPtWvSL858/YdvJ
u78EUXe7q59CoqZlDeVMAhDt8F+6umyKbhU4wBxy/VA98E0VnwIkOx8PI2shXGXt
uBV2mIFoy8XZbieakKoaom5LG8mZlv64Mx0ffC/5ulU8kLCHbV9jnLD6qjqqm5oI
ALcSP4SGZIQGiKusoqYb7CntRFDYmsBsASxQuG4swEQ02BlB+phU6DdQOzBVJmtM
koiTVL37vXXTMd6YpA/n0gatsw0KS229j21wUXXsO1WZI8lGmCSa5dMllpzDyEH4
Y2MRAiZzT9qhnZuLRr7tYB7wNE2lUpYao2aJG+31IDI4vKKZIajTQQ==
=BBZu
-----END PGP SIGNATURE-----

--fwblGvOBo7NCOYks--