From owner-freebsd-questions Tue Jan 28 13:31:15 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4289637B401 for ; Tue, 28 Jan 2003 13:31:14 -0800 (PST) Received: from pollux.chillt.de (dsl-213-023-013-119.arcor-ip.net [213.23.13.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2708F43F43 for ; Tue, 28 Jan 2003 13:31:13 -0800 (PST) (envelope-from freebsd@chillt.de) Received: from chillt.de (undo.chillt.de [192.168.0.7]) by pollux.chillt.de (8.12.3/8.12.3) with ESMTP id h0SLVZTW001077 for ; Tue, 28 Jan 2003 22:31:35 +0100 (CET) (envelope-from freebsd@chillt.de) Message-ID: <3E36F6A1.3020104@chillt.de> Date: Tue, 28 Jan 2003 22:31:13 +0100 From: Bartosz Fabianowski User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021224 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: PPP with PPPoE stalls Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have a problem with userland PPP that has persisted ever since 4.5 (currently using 4.6 and the problem is still there). I am on DSL and therefore connecting through the tun0 device and PPPoE. My problem is, that after some (varying) time, the connection just stalls. According to PPP's log, packets are still being sent out, but there is absolutely *no* traffic coming in. There is nothing in the log (even when set to "log all") that would hint at what is going wrong, it just suddenly stops receiving any packets at all. When I connect to the diagnostic socket, the prompt is "PPP". If i issue the "diconnect" command, it will change to "PPp" and hang there for a long time (up to a minute) and finally disconnect and show "ppp". If I type "connect", it will take another long time (up to a few minutes) until it finally connects and shows "PPP". While surfing the net, this usually does not happen. But if I start a big download (FreeBSD 5.0 ISO, for example) or run a program that quickly opens many sockets (file sharing apps), the connection will stall quickly (after a few megabytes of transfer) and once it has stalled, and I fix it by disconnecting and reconnecting, it will get worse and worse, stalling ever more often until I let it sit diconnected for a few hours. The FreeBSD box is running as a server for my home network (NAT and DNS). I have tested my DSL modem with a Windows box and it perfectly works, no matter what I do. So, it must be something in FreeBSD. Some socket / connection limit in the kernel or PPP I'm hitting, maybe? If anybody has an idea, I would be very gald to get some help with this, it has been bothering me for almost a year now. Bartosz Fabianowski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message