From owner-freebsd-net Fri Nov 12 17:57:36 1999 Delivered-To: freebsd-net@freebsd.org Received: from mail.snickers.org (snickers.org [216.126.90.2]) by hub.freebsd.org (Postfix) with ESMTP id 6CB21150D7 for ; Fri, 12 Nov 1999 17:57:31 -0800 (PST) (envelope-from josh@snickers.org) Received: by mail.snickers.org (Postfix, from userid 1037) id 16BF73D16; Fri, 12 Nov 1999 20:57:30 -0500 (EST) Date: Fri, 12 Nov 1999 20:57:29 -0500 From: Josh Tiefenbach To: Julian Elischer Cc: freebsd-net@freebsd.org Subject: Re: Problems using ppp(8) and PPPoE Message-ID: <19991112205729.A5549@snickers.org> References: <19991112115635.B88559@snickers.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: Hah Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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