From owner-freebsd-net Fri Nov 19 14:55:33 1999 Delivered-To: freebsd-net@freebsd.org Received: from awfulhak.org (dynamic-8.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.136]) by hub.freebsd.org (Postfix) with ESMTP id 7E8C814CF8 for ; Fri, 19 Nov 1999 14:55:27 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id UAA02313; Fri, 19 Nov 1999 20:31:14 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id RAA00312; Fri, 19 Nov 1999 17:26:04 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199911191726.RAA00312@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.0 09/18/1999 To: Josh Tiefenbach Cc: Julian Elischer , freebsd-net@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: PPPoE Redux. In-Reply-To: Message from Josh Tiefenbach of "Thu, 18 Nov 1999 14:47:10 EST." <19991118144710.A17531@snickers.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 19 Nov 1999 17:26:04 +0000 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Thu, Nov 18, 1999 at 10:57:39AM -0800, Julian Elischer wrote: > > I think this is a matter for Brian, but I'm glad to see that > > the pppoe negotiation code is doing th eright thing now.. > > Did it just "magically" start working, or did you change something? > > No. Not really. I just let the modem sit turned off for a day. Came back. > Updated sources and recompiled. Turned on modem. Bam. It worked. 'Course. It > magically stopped working after I rebooted, but I'm not really going to worry > 'bout that excessively right now. Hmm, you didn't update tcpdump ? It'd be nice to see the PPPoE packets interpreted (which the -current tcpdump now does). > > Maybe brian can give you more info on this bit.. > > Hopefully. Brian? :) Maybe not without a log file. I *suspect* you need to ``set cd 3'' (or maybe higher). Currently, ppp polls the netgraph node every second to see if it's received a SUCCESS message. It does this only for the carrier detect timeout, which is 1 second by default. ``set cd'' changes this. This is a limitation we're stuck with 'till I abstract the ``set dial'' and ``set hangup'' commands so that they're device specific - on my todo list. For the time being, ppp can't select() on the descriptor during negotiation. > josh > > -- > Malkovitch! -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message