Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 20:57:29 -0500
From:      Josh Tiefenbach <josh@zipperup.org>
To:        Julian Elischer <julian@whistle.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Problems using ppp(8) and PPPoE
Message-ID:  <19991112205729.A5549@snickers.org>
In-Reply-To: <Pine.BSF.4.10.9911120930490.18392-100000@current1.whistle.com>
References:  <19991112115635.B88559@snickers.org> <Pine.BSF.4.10.9911120930490.18392-100000@current1.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 12, 1999 at 09:33:06AM -0800, Julian Elischer wrote:
> you need today's if_ethersubr.c
> you also need a new ng_base.c and ng_pppoe.c and ng_socket.c
> (I think)

Hrmm. That seems to have solved the "Cant create PPPoE node" problem, but now
I got another one. ppp(8) never seems to do any PPPoE discovery negotiation.
This snippet from /var/log/ppp.log is quite descriptive:

(results after typing in dial at ppp interactive prompt. Other than the set
log line, I'm using:

set device PPPoE:de0
set authname bar
set authkey foo
add default HISADDR

)

Nov 12 20:49:31 cerebus ppp[2096]: tun0: Command: /dev/tty: dial
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: bundle: Establish
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: deflink: closed -> opening
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: List of netgraph node ``de0:'' (
id 1) hooks:
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: Creating PPPoE netgraph node [1]
:orphans -> ethernet
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: Connecting netgraph socket .:tun
0 -> de0:orphans:tun0
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: Sending PPPOE_CONNECT to .:tun0
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: deflink: Connected!
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: deflink: opening -> dial
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Chat: deflink: Dial attempt 1 of 1
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: deflink: dial -> carrier
Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: Waiting for carrier
Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase: deflink: Disconnected! 
Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase: deflink: carrier -> hangup 
Nov 12 20:49:32 cerebus ppp[2096]: tun0: Debug: deflink: Close 
Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase: deflink: Connect time: 1 secs: 0
 octets in, 0 octets out 
Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes
/sec on Fri Nov 12 20:49:32 1999 
Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase: deflink: hangup -> closed 

I'm using a snapshot of /usr/src/usr.sbin/ppp from ~1800EDT today, but
specific version numbers avail on request. 

Any more suggestions?

josh

-- 
"To succeed in the world, it is not enough to be stupid, you must also be
well-mannered" -- Voltaire


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991112205729.A5549>