Hi
I needed a fast booting remote installation & rescue floppy that an
inexperienced user can boot up and configure so, that I can remotely
log into the machine and fix things... in addition this disk should be
as general as possible...
tomsrtbt is a great base for this purpose, it has 99% of the things I
needed. The get closest what I ultimately want I did the following
modifications for my `dmoo1-tomsrtbt-1.7.205' (first dmoo -patch to that
tomsrtbt -version).
(If you test this version, remember to send comments of it to me, instead
of bothering the tomsrtbt author).
The modifications are:
To achieve fast booting, I changed lilo wait only 1/10th of a second,
removed video mode selection and keymap queries. Keymap can be easily set
using the `setup' utility I added, afterwards.
To achieve better remote login functionality, I replaced `nc' (14561 bytes)
with `mtnc' (mini telnet netcat) (11481 bytes) This `netcat' can do only
simple data forwarding and no fancier netcat stuff, but additionally it
provides minimum telnet/telnetd functionality.
I removed `rshd' for some space. I left `rsh'.
I added 2 scripts, `inetconf' (2045 bytes) is very convenient awk script to
configure ip-address, netmask and default route to an ethernet interface on
2.0.x kernel (does all dirty work with local network routes etc).
`setup' (1050 bytes) is used to do basic configuration of the system that
hopefully even inexperienced users can use when they have one sheet of
paper that has the instructions. It provides the following menu:
Choose:
1) (Reserved for video mode selection)
2) Choose Keymap
3) Remove Caps Lock, Set up as Control
4) Configure networking
5) Activate telnet daemon
x) Exit
To provide remote access the user needs only perform steps 4 and 5 (in
either order) and then remote user can take over...
I added keymap `us.map' to setup the keymap in original state. I cleaned
up trailing spaces in every line of every keymap file that existed. The
interword whitespace was not compressed to a single space... yet
(simple perl oneliner something like 'perl -pei.bat 's/\s+/ /g' might do the
job). I removed links to numeric keymap files...
After these modifications when I `buildit.s' the tree, I was left with
8 blocks free.
The raw image (and source file mtnc.c) is available at
http://www.iki.fi/too/sw/tms/. Copy the `dmoo1-tomsrtbt.raw' in place
of `tomsrtbt.raw' in `tomsrtbt-1.7.205' -directory and run `./install.s'
to make the floppy. If you are unsure of the contents, you can always
`./unpack.s' it and check it out.
Anyone care to test and comment ?
Tomi Ollila
PS. below is the exact list of differences in old and new unpacked
directory trees. the `fstreediff.sh' utility is there in the web page...
( does anyone know any better file system tree difference seeking prg? )
% fstreediff.sh - tomsrtbt-1.7.205.unpacked old.md5
% fstreediff.sh tomsrtbt-1.7.205.unpacked-dmoo1 old.md5
*** Files that differ
./1/rc.custom.gz
./1/map
./1/settings.s
./2/usr/bin/telnet
./2/usr/lib/kbd/keytables/be.map
./2/usr/lib/kbd/keytables/cf.map
./2/usr/lib/kbd/keytables/de.map
./2/usr/lib/kbd/keytables/dk.map
./2/usr/lib/kbd/keytables/es.map
./2/usr/lib/kbd/keytables/fi.map
./2/usr/lib/kbd/keytables/fr.map
./2/usr/lib/kbd/keytables/gr.map
./2/usr/lib/kbd/keytables/hu.map
./2/usr/lib/kbd/keytables/is.map
./2/usr/lib/kbd/keytables/it.map
./2/usr/lib/kbd/keytables/jp.map
./2/usr/lib/kbd/keytables/la.map
./2/usr/lib/kbd/keytables/no.map
./2/usr/lib/kbd/keytables/pl.map
./2/usr/lib/kbd/keytables/pt.map
./2/usr/lib/kbd/keytables/ru.map
./2/usr/lib/kbd/keytables/se.map
./2/usr/lib/kbd/keytables/sf.map
./2/usr/lib/kbd/keytables/sg.map
./2/usr/lib/kbd/keytables/uk.map
*** Files that are missing in tomsrtbt-1.7.205.unpacked-dmoo1/
./2/usr/bin/nc
./2/usr/bin/rshd
./2/usr/bin/telnetd
./2/usr/lib/kbd/keytables/10.map
./2/usr/lib/kbd/keytables/11.map
./2/usr/lib/kbd/keytables/12.map
./2/usr/lib/kbd/keytables/13.map
./2/usr/lib/kbd/keytables/14.map
./2/usr/lib/kbd/keytables/15.map
./2/usr/lib/kbd/keytables/16.map
./2/usr/lib/kbd/keytables/17.map
./2/usr/lib/kbd/keytables/18.map
./2/usr/lib/kbd/keytables/19.map
./2/usr/lib/kbd/keytables/1.map
./2/usr/lib/kbd/keytables/20.map
./2/usr/lib/kbd/keytables/21.map
./2/usr/lib/kbd/keytables/2.map
./2/usr/lib/kbd/keytables/3.map
./2/usr/lib/kbd/keytables/4.map
./2/usr/lib/kbd/keytables/5.map
./2/usr/lib/kbd/keytables/6.map
./2/usr/lib/kbd/keytables/7.map
./2/usr/lib/kbd/keytables/8.map
./2/usr/lib/kbd/keytables/9.map
./2/usr/man/rshd
*** Files that are missing in old.md5
2/usr/bin/inetconf
2/usr/bin/mtnc
2/usr/bin/setup
2/usr/lib/kbd/keytables/us.map