With a working module, pure text is compressed >4x. It is worth the
hassle.

These instructions were valid as of early March 1999.
Please also refer to the documentation in the isdn4k-utils package, the
documentation in the isdn package, and the readme.txt file you will
download in
part 2. These instructions are maybe incorrect or may be incorrect at
any time.
The lzs-compression module may corrupt your harddrive or make your dog
pregnant. Beware.


1.
Get the latest isdn4linux and isdn4linux-utilities from:

ftp://ftp.suse.com/isdn4linux/v2.2/


2.
Get the three files from:

http://www.ibh-dd.de/~beck/stuff/lzs4i4l/


3.
unpack the isdn.tar.gz file, and execute:
std2kern -d

NB! remember the '-d'-part


4.
Copy isdn_lzscomp.c  which you downloaded in part 2. to
/usr/src/linux/drivers/isdn

5.
Modify /usr/src/linux/drivers/isdn/Makefile :

      ifdef CONFIG_ISDN_PPP
        O_OBJS += isdn_ppp.o
        M_OBJS += isdn_bsdcomp.o
+       M_OBJS += isdn_lzscomp.o
      endif

NB! make sure you add the line beginning with '+' in the correct place.

6.
cd /usr/src/linux
make menuconfig         (Check out new entries to the isdn-subsystem.)
make modules            (Assuming you are using the isdn subsystem as modules)
make modules_install
Verify that isdn_lzscomp.o is copied to /lib/modules/<kernelrev>/misc/


7.
unpack isdn4k-utils.tar.gz.
Copy ccp.c to the ipppd/ directory. This overwrites the version already
in
place.


8.
build and install the isdn4k utilities


9.
load the isdn_lzscomp module with:
insmod isdn_lzscom debug=2
[note: 1 to 3 is valid. 3 generates enormous amonts of output to
/var/log/messages]
You may want to load isdn_bsdcomp as well.

10.
Start ipppd with your normal parameters. (Do not use nolzs or -lzs.)
Fire up the connection and monitor /var/log/messages.


11.
You will see your end and the remote end negotiate over compression
protocols.
Likely you will see the remote end suggest lzs with some parameters and
reject
using bsd-compression. Make a note of this. (Typ. 1 history, mode 3 or
something.) Break the connection. If bsdcomp was rejected by your peer,
unload
the module. Kill ipppd.

12.
Hack conf modules to load isdn and isdn_lzscomp as a prerequisite to
loading
your isdncard driver (hisax?). Run depmod -a.
Then make sure ipppd is started with the parameters as suggested in the
readme.txt file you downloaded in 2:

lzs [recv-hists[:recv-mode[,xmit-hists[:xmit-mode]]]]
and maybe -bsdcomp.

(The current lzs module does not support all compression protocols and
autonegotiation does not seem to work, so some manual work is needed.)


13.
Dial your ISP again.

This should be it.


-- 
Dag Bakke   -   System Support Engineer, Silicon Graphics Norway
-------------------------------------------------------------------
        Silicon Graphics Norge          tel:    67 11 46 01
        Strandveien 20                  fax:    67 11 47 00
        1324 Lysaker                  email:    [EMAIL PROTECTED]

Reply via email to