Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pppoe(4) problems under OpenBSD 3.7

7 views
Skip to first unread message

Jim Faulkner

unread,
May 6, 2005, 2:31:14 PM5/6/05
to
I'm having problems getting pppoe(4) to work correctly under 3.7. Here is
my /etc/hostname.pppoe0:
pppoedev hme1
!/sbin/ifconfig hme1 up
!/usr/sbin/spppcontrol \$if myauthproto=pap 'myauthname=secret' \
'myauthkey=secret' hisauthproto=none
!/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff
!/sbin/route add default 0.0.0.1
up

pppoe0 does successfully authenticate, but then it just stops working a
second later, and gets stuck in an infinite loop trying to to establish a
session. Here's the relevant output from my /var/log/messages:
May 6 11:17:45 leech /bsd: pppoe0: phase establish
May 6 11:17:45 leech /bsd: pppoe0: phase authenticate
May 6 11:17:45 leech /bsd: pppoe0: phase network
May 6 11:17:45 leech /bsd: hme1: DAD detected duplicate IPv6 address
fe80:0002::0a00:20ff:fe88:ebd5: NS in/out=1/1, NA in=0
May 6 11:17:46 leech /bsd: hme1: DAD complete for
fe80:0002::0a00:20ff:fe88:ebd5 - duplicate found
May 6 11:17:46 leech /bsd: hme1: manual intervention required
May 6 11:17:50 leech /bsd: pppoe0: phase terminate
May 6 11:18:00 leech /bsd: pppoe0: phase dead
May 6 11:18:00 leech /bsd: pppoe0: phase establish
May 6 11:18:00 leech /bsd: pppoe0: phase authenticate
May 6 11:18:00 leech /bsd: pppoe0: phase network
May 6 11:18:10 leech /bsd: pppoe0: phase terminate
May 6 11:18:20 leech /bsd: pppoe0: phase dead
May 6 11:18:20 leech /bsd: pppoe0: phase establish
May 6 11:18:20 leech /bsd: pppoe0: phase authenticate
May 6 11:18:20 leech /bsd: pppoe0: phase network
May 6 11:18:30 leech /bsd: pppoe0: phase terminate
etc.

I am sure that the session worked for at least a second, because
successfully received a reply to one ping to an external IP address.
Unfortunately a working connection does not last any longer than that,
subsequent pings received no reply.

Previously I used Frank Denis's in-kernel pppoe patch against OpenBSD 3.6.
That worked perfectly. However the way I set it up was slightly
different: one difference was that I used pppoectl instead of
spppcontrol, and another was that I used the additional option
"lcp-timeout=5000", so the relevant line looked like this:
!pppoectl pppoe0 myauthproto=pap 'myauthname=secret' 'myauthsecret=secret' \
hisauthproto=none lcp-timeout=5000
Is there an equivalent option to "lcp-timeout" under 3.7, or is it not
necessary?

Anyone have any hints as to how I can get in-kernel pppoe working under 3.7?

thanks for any help,
Jim Faulkner

M Raju

unread,
May 6, 2005, 4:39:00 PM5/6/05
to
I had the same issue. Upgading to -current seems to have resolved it...

_Raju


--
May the packets be with you.

Jim Faulkner

unread,
May 6, 2005, 10:06:55 PM5/6/05
to
On Fri, 6 May 2005, M Raju wrote:

> On 5/6/05, Jim Faulkner <jfau...@ccs.neu.edu> wrote:
> > I'm having problems getting pppoe(4) to work correctly under 3.7. Here is
>
> I had the same issue. Upgading to -current seems to have resolved it...
>
> _Raju

Ouch. I'd rather not run -current, for ease of administration's sake. Is
there any chance of a fix being backported to 3.7?

Jim

0 new messages