Date: Sun, 29 Sep 2002 20:49:58 -0400 (EDT) From: William Denton <buff@pobox.com> To: <freebsd-stable@freebsd.org> Subject: PPPoE: "session in wrong state" Message-ID: <Pine.BSF.4.32.0209292042110.22105-100000@odin.egate.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0209292042110.22105-100000>
