From owner-freebsd-net Fri Nov 12 19:12:43 1999 Delivered-To: freebsd-net@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 8BCB414D4D for ; Fri, 12 Nov 1999 19:12:36 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id TAA33087; Fri, 12 Nov 1999 19:12:34 -0800 (PST) Date: Fri, 12 Nov 1999 19:12:33 -0800 (PST) From: Julian Elischer To: Josh Tiefenbach Cc: freebsd-net@FreeBSD.ORG Subject: Re: Problems using ppp(8) and PPPoE In-Reply-To: <19991112205729.A5549@snickers.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, While you are running it, try having the following run as well and send me the result.. tcpdump -nev -s 256 ether proto 0x8863 or ether proto 0x8864 this should be in the documentation I think.... The pppoe negotiation occurs entirely within the pppoe netgraph node so the ppp log can't give too much info.... What service does your ISP want you to request on the wire? (You have a null service, that is legal but some ISPs want you to actually ask for a particular one.) it's PPPoE:de0:service julian On Fri, 12 Nov 1999, Josh Tiefenbach wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message