Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 22:31:13 +0100
From:      Bartosz Fabianowski <freebsd@chillt.de>
To:        freebsd-questions@freebsd.org
Subject:   PPP with PPPoE stalls
Message-ID:  <3E36F6A1.3020104@chillt.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E36F6A1.3020104>