I have a laptop that has a 56k6 pcmcia modem and runs debian testing. PPP does work, 
but when I use an 2.4.22 kernel that I compiled myself, the connection is very slow: 
only 1.5 kbyte/s for a compressed file. If I use a standard 2.4.22 debian kernel, I 
get 3.5 kbyte/s, which is still somewhat slow.

I compiled the following kernel options as modules: CONFIG_PPP, CONFIG_PPP_ASYNC, 
CONFIG_PPP_DEFLATE en CONFIG_PPP_BSDCOMP. When I dial in with me new kernel, the 
following modules are loaded:

ppp_deflate             3544   0  (autoclean)
zlib_inflate           18564   0  (autoclean) [ppp_deflate]
zlib_deflate           18648   0  (autoclean) [ppp_deflate]
bsd_comp                4376   0  (autoclean)
ppp_async               7744   1  (autoclean)
ppp_generic            16484   3  (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc                    5248   1  (autoclean) [ppp_generic]
serial_cs               5300   0  (unused)
ds                      7028   2  [serial_cs]
yenta_socket           10848   2 
pcmcia_core            41280   0  [serial_cs ds yenta_socket]

If I use the standard debian kernel, zlib_inflate is not loaded, but I do not think 
one extra module will hurt. My ppp options file looks like this:

asyncmap 0
auth
crtscts
lock
hide-password
modem
debug
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

An extra deflate 15,12 option makes no difference.
Here is finally my ppp log file:

Nov  6 20:32:02 kastanje pppd[541]: kernel does not support PPP filtering
Nov  6 20:32:02 kastanje kernel: PPP BSD Compression module registered
Nov  6 20:32:02 kastanje kernel: PPP Deflate Compression module registered
Nov  6 20:32:02 kastanje pppd[541]: sent [CCP ConfReq id=0x1 <deflate 15> 
<deflate(old#) 15> <bsd v1 15>]
Nov  6 20:32:02 kastanje pppd[541]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> 
<addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Nov  6 20:32:02 kastanje pppd[541]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 00> 
<addr 62.21.128.29>]
Nov  6 20:32:02 kastanje pppd[541]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 00> 
<addr 62.21.128.29>]
Nov  6 20:32:03 kastanje pppd[541]: rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 0f 1a 04 
78 00 18 04 78 00 15 03 2f]
Nov  6 20:32:03 kastanje pppd[541]: rcvd [IPCP ConfNak id=0x1 <addr 62.21.161.65> 
<ms-dns1 213.218.75.90> <ms-dns3 213.218.75.91>]
Nov  6 20:32:03 kastanje pppd[541]: sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> 
<addr 62.21.161.65> <ms-dns1 213.218.75.90> <ms-dns3 213.218.75.91>]
Nov  6 20:32:03 kastanje pppd[541]: rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> 
<addr 62.21.161.65> <ms-dns1 213.218.75.90> <ms-dns3 213.218.75.91>]

>From line 4 I conclude that pppd does trie to negotiate deflate compression, but in 
>the aswers I don't see anything about deflate.
When I remove the bsd_comp and/or zlib_inflate modules the download speed is not 
affected, so the are proably not used even though the are loaded.
I hope somebody can help me with this tough problem: it took me already two evenings.

Martijn Brouwer


Physics is a approximate description of a part of the physical phenomena, that are 
only a small portion of human perceptions.

H Casimir, Dutch Physicist


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to