ppp 2.4.1, ppp 2.4.2b3
ISP connection works well with new KNOPPIX live CD pppd 2.4.1.
With gentoo , the connection hangs after a few seconds (i.e. after ~100kB)
when transmitting an email to the ISP, but hangs typically after a few minutes
when doing a large download (e.g. emerge -f something).
After disconnecting and reconnecting to the ISP, the 'game' starts from the
Setting the DEFLATE option to 0 (=nodeflate) cures the bug.
(in /etc/ppp/options or in kppp)
Further observations show that the bug is due to misunderstanding
between pppd and the ISP. Turning on debug mode shows that
the pppd sends "deflate 14" challenges to the ISP by default, and
"deflate x-1" when "deflate x" is requested in the options file or by kppp.
Obviously, the daemon tells the ISP deflate 14 instead of 15, but actually performs deflate 15.
Thus, when disabling deflate compression by "deflate 0", the connection works normal.
I believe the bug resides inside the gentoo pppd, since providing the knoppix config files
to the gentoo host gives the same symptomes. On the other hand, the kernel sources for the used
gentoo kernel for ppp async and ppp deflate are not gentoo specific and were not changed for
years. However, I don't have time to further isolate the bug ;-)
Please reply since I otherwise believe my email was justified as spam and I will report to your
I also spent hours to read several contributions of your forum and found a number of people
getting similar symptoms, but none of them provided a useful workaround.
Steps to Reproduce:
PREFERED METHOD (shows bug after seconds)
1.use kppp to dial in to ISP (MODEM connection)
2.send an email with 200kB well compressed attachment
observe how all data transmission hangs
after disconnecting and redialing, the bug is reproduceable
SEE ATTACHMENT with PPPD DEBUG INFO SHOWING THE DEFLATE VARIABLE SETTING
SUSE worked well
KNOPPIX worked well
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP processor 1600+
Gentoo Base System version 188.8.131.52
CFLAGS="-O2 -march=athlon-xp -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
CXXFLAGS="-O2 -march=athlon-xp -pipe"
FEATURES="autoaddcvs ccache sandbox"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gpm gtk2
imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline
sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xv zlib"
this could be a bug in ppp or in your kernel. i just commited ppp-2.4.2 please try out this version, also try vanilla-sources-2.4.24. (i have no rights to remove you email)
Probably this bug can be closed:
I now use development-sources-2.6.4 for more than a week and as
a consequence deflate works fine together with ppp-2.4.2_beta3-r1.
I don't know what happens when used with ppp-2.4.1-r14, however,
since future ppp releases will be based on 2.4.2_beta3-r1,
it is just a question of time when this bug will disappear.