pppd compression not working!

I have a Linux Box as a ppp server with two phone lines. The users can connect without any problems, but the TCP/IP compression doesn't work. I'm not sure but i think it worked once or twice.
ppp_deflate.o and bsd.o are loaded at startup.

LVL 1
crojasAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sandy KalugdanSystems AdministratorCommented:
Dear crojas,

I think you should make some changes regarding your ppp clients machine.  
check the field on
enable software compression

hope this helps.

Sandy
0
crojasAuthor Commented:
Please post a comment, if your comment is good it can be an answer.


I'm using Windows 98 clients, the same clients that are connecting ok to another ISP (compression eabled).

I have the compression enabled in every client.
0
NeogenixCommented:
Your /etc/conf.modules file should contain:

alias ppp-compress-21 bsd_comp
alias ppp-compress-26 ppp_deflate

Regards,

Marius Bezuidenhout
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

crojasAuthor Commented:
Adjusted points to 250
0
crojasAuthor Commented:
Neogenix, just an answer, i have the bsd_comp and ppp_deflate as modules, and i can use insmod bsd_comp or insmod ppp_deflate but nothing happened.

Is this alias the solution to my problem? And if yes, Why?
0
NeogenixCommented:
Yes, these are the modules pppd used for its compression and decompression.
0
crojasAuthor Commented:
I did what you said, but nothing happens.
0
kiffneyCommented:
If this is redhat, in your /etc/ppp/options file, you can add the lines

bsdcomp 8
deflate 8

and restart pppd. If you just want compression to work on one modem or another, put these lines in options.ttySx where x is the com port number starting from 0.  

This will only work with Linux/Unix clients.  Windows PPP compression is different and only works when both the dial-in server and dial-in client are Windows.
0
crojasAuthor Commented:
Is there a way to enable the Windows compression? I have  the dial-in server in Linux and the clients in Windows 98.
I'm not sure but i think that it worked once time.
0
crojasAuthor Commented:
Is there a way to change the Windows 98 ppp client to allow compression when the server is Linux.
0
kiffneyCommented:
No.  There are several PPP compression protocols, and the client and server MUST AGREE and MUST BOTH HAVE those protocols.   You will never get windows<->linux ppp compression because Linux doesn't know how to do Windows compression, and Windows doesn't know how to do any of the compression protocols Linux supports.  Windows 95/98/NT only has Windows special, undocumented PPP Compression, as far as I know.  There may be someone somewhere who has hacked it to use other compression schemes, but I've never seen it.  Linux can only use bsd-compress, deflate, or predictor compression, and can't provide Windows ppp compression because no one has the code for it.  Windows ppp compression is proprietary and does not exist for Linux, as I mentioned earlier.   It doesn't really matter as modem compression is pretty good.
0
kiffneyCommented:
No.  There are several PPP compression protocols, and the client and server MUST AGREE and MUST BOTH HAVE those protocols.   You will never get windows<->linux ppp compression because Linux doesn't know how to do Windows compression, and Windows doesn't know how to do any of the compression protocols Linux supports.  Windows 95/98/NT only has Windows special, undocumented PPP Compression, as far as I know.  There may be someone somewhere who has hacked it to use other compression schemes, but I've never seen it.  Linux can only use bsd-compress, deflate, or predictor compression, and can't provide Windows ppp compression because no one has the code for it.  Windows ppp compression is proprietary and does not exist for Linux, as I mentioned earlier.   It doesn't really matter as modem compression is pretty good.
0
kiffneyCommented:
Sorry, I don't know how I posted the same thing twice.  Use some compression on all those extra words!
0
crojasAuthor Commented:
OK, but Is there a way to use another protocol in Windows to enable compression?
Changing the windows ppp protocol for example.
0
kiffneyCommented:
No.  Windows 95/98 only supports the proprietary Windows compression.   As I said, I've tested ppp compression over modem links between Linux machines and it is hardly any better than the compression any modern modem has built-in.  
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.