Hi All

At 13:35 17/01/02 -0800, Victor McAllisteer wrote:

>There was a post here recently from someone who got libz.lrp and sshd.lrp 
>to fit on
>a single floppy.  He stripped the pretty version of weblet and used one 
>without
>graphics if I remember correctly.  Unfortunately the search feature does 
>not appear
>to work on the list so I can't find the message.

That was me actually, and it really isn't that hard.  A standard Dachstein 
1680K floppy has about 275KB of free space anyway, while libz.lrp and 
sshd.lrp total around 330KB - you've only got to find about 55 KB.  Here's 
exactly what I did:

1. In /var/sh-www/, I deleted lrpStat.jar, the weblet's java-based 
bandwidth monitor, and netmon.html, the html document that's used to 
display it.  To keep things neat and tidy, I then opened up index.html and 
edited out the resulting broken link to netmon.html.

2. Then I had a look at the file etc/modules (from lrcfg, menu options 3, 
3, then 1), took notes of the ethernet card modules I'm using, then 
commented out all the ip_masq modules I'm unlikely to use.  Then, in 
lib/modules/, I deleted everything I didn't need.  I notice that the 
ethernet card modules are in general bigger than the ip_masq ones, so get 
rid of the unused ethernet ones first if you're unsure.

3. Then, I backed up.  Weblet.lrp reduced in size from about 67 K to about 
18 K, and modules went from 113 K to about 24 K.  Giving me an extra 138K 
of extra space (that's about 400-odd K in total) which was plenty.  You 
might not get modules to get so small - I was lucky because I didn't need 
many ip_masq modules, and both NIC's in my firewall use the ne.o module 
which is one of the smallest.  Still, I have space to spare so you'll still 
probably have made enough space even if your setup is a fair bit more complex.

4. I still didn't have room for the ssh key generator program, sshkey.lrp, 
on the floppy so had to install it manually after boot.  Once the key is 
generated though, you don't need it any more so there isn't actually much 
point in trying too hard to fit it on the boot floppy in any 
case.  Instructions for this part are at 
http://leaf.sourceforge.net/devel/jnilo/openssh.html.

If anyone thinks I should flesh this out into a howto, just let me know.

cheers

Julian

-- 
[EMAIL PROTECTED]
www.ljchurch.co.uk


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to