Next Previous Contents

14. Miscellaneous stuff

14.1 Creating a custom kernel

The kernel provided with the kit only support the Ne2000 and 3C509 adaptor. To support more, you must recompile your kernel. The kernel 2.0 is somewhat smaller than 2.2 and this might be an issue on machine with 4 megs of ram.

The kit provides two config.kernel files. One for 2.0 and one for 2.2. Copy the proper config.kernel in /usr/src/linux/.config and do

        # cd /usr/src/linux
        # make menuconfig
          add the adaptor(s) you need (not as module)
          exit and save
        # make dep && make clean && make bzImage
        # copy arch/i386/boot/bzImage /root/xterm/boot/zImage
        # cd /root/xterm
        # ./makeboot.sh
        

14.2 Configuring many X terminals

If you have to configure many X terminals and they are all sharing the same hardware configuration, then you can configure the first one and duplicate the configuration. Knowing that the DHCP server will allocate the IP number sequentially, you can use the dupconfig.sh to populate the /var/xterminals/ directory.

This script ask you the IP of the reference X terminal, then the network first and last IP of the range. It will then duplicate the reference configuration for all IP in the range.

14.3 Naming X terminal

The xconf utility let you enter a name for the X terminal. The name goes in /var/xterminals/IP/sysconfig/TERMNAME.

Using the hostfromterm.sh script, you can produce an updated copy of your server /etc/hosts. Just run the script. It will walk all the TERMNAME files and produced an updated copy in /tmp/hosts. Check it out ot make sure all is fine and replace your /etc/hosts with it.

The prefix term- is inserted so you can tell apart terminal from host for easily.


Next Previous Contents