From owner-freebsd-stable Sun Sep 29 17:51:44 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59EE937B401 for ; Sun, 29 Sep 2002 17:51:42 -0700 (PDT) Received: from odin.egate.net (as2.dm.egate.net [216.235.1.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFE0E43E4A for ; Sun, 29 Sep 2002 17:51:25 -0700 (PDT) (envelope-from buff@pobox.com) Received: from localhost (buff@localhost) by odin.egate.net (8.11.6/8.11.4) with ESMTP id g8U0o0X23442 for ; Sun, 29 Sep 2002 20:50:00 -0400 (EDT) X-Authentication-Warning: odin.egate.net: buff owned process doing -bs Date: Sun, 29 Sep 2002 20:49:58 -0400 (EDT) From: William Denton X-X-Sender: To: Subject: PPPoE: "session in wrong state" Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Recently I've been having trouble with my ADSL PPPoE connection. A ping alone has no trouble, but if I start generating TCP traffic over the line I start getting 10% or more packet loss, on pings and everything. Scrolling through a file, which causes continuous activity in an xterm, because incredibly jumpy and laggy. The line was tested and it's fine. I just upgraded to the latest release candidate last night, and when I rebooted I noticed this: Starting ppp as "root" Additional routing options: IP gateway=YES TCP keepalive=YES Routing daemons:. Mounting NFS file system:. Additions daemons: syslogdsession in wrong state . The "session in wrong state" there is bold, and it's from the PPPoE connection. /usr/src/sys/netgraph/ng_pppoe.c has this: /* * Check the session is in the right state. * It needs to be in PPPOE_SINIT. */ sp = sendhook->private; if (sp->state != PPPOE_SINIT) { printf("session in wrong state\n"); LEAVE(ENETUNREACH); } So evidently my session isn't in PPPOE_SINIT, which at the top of the file is defined as "[Client] Sent discovery initiation." What all is going on, I have no idea. Could this be causing my connection problems? Bill -- William Denton : Toronto, Canada : http://www.miskatonic.org/ : Caveat lector. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message