From: Ken Wallace (Ken.Wallace@f608.n257.z2.fidonet.org)
Date: 08/01/93


From: Ken.Wallace@f608.n257.z2.fidonet.org (Ken Wallace)
Subject: Simple Q's on SLIP, DIP and a bad trip.
Date: Sun, 1 Aug 1993 21:08:00 +0000


CH> The kernel defaults to CSLIP. To disable compression, go
CH> into ..net/inet/slip.c, and remove the call to slhc_compress
CH> in sl_encaps. That is, remove the two lines marked below
CH> with >> . This is an FAQ. Could it be put in some FAQ document?

CH> static void
CH> sl_encaps(struct slip *sl, unsigned char *icp, int len)
CH> {
CH> ....
CH> p = icp;

>> len = slhc_compress((struct slcompress *)sl->slcomp, p, len,
>> sl-> cbuff, &p, 1);

Better still, edit /usr/src/linux/net/inet/CONFIG and comment out
the define for compressed slip;

SLIP_OPTS = -DSL_DUMP -DSL_COMPRESSED
                      ^
                      insert #