Next Previous Contents

4. Installation

The installationid done with the following steps:

4.1 NFS server configuration

In /etc/exports, you will need the following lines

        /xterminals/root (ro)
        /var/xterminals (rw,no_root_squash)
        

Once the X terminals are configured, you can change that to

        /xterminals/root (ro)
        /var/xterminals (ro)
        

4.2 On the server, you do

The kernel supplied (2.0) contain ethernet drivers for ne2000 and 3c509. The kernel configuration is supplied so you can recompile a kernel with the proper driver sets. Some work has to be done to support "initial ramdisk", allowing the usage of modular kernel for the x terminal boot disk.

A larger kernel (2.2) is also supplied with more drivers. It supports the following adaptors.

4.3 Note aboute the NFS server

Some NFS server won't provide access to a machine without a corresponding name in either the DNS or /etc/hosts. If you get an error 13 from the NFS server (when booting the PC), make sure that for each IP number allocated in the DHCP server, you have a corresponding name in the DNS. If you are not familier with DNS you may work around this by filling the name and IP number of every X terminals in the /etc/hosts file of the server.

A script "fillname.sh" is provided just for that. The script is interactive. You run it, you answer the 3 questions and it will write a bunch of lines in /etc/hosts (append). It will name the X terminal T1 to TN as the exact name is unimportant.

For example, if you have allocated the following IP number range:

        192.168.1.50 -> 192.168.1.70
        

you enter

        Enter the IP network prefix (ex: 192.168.1) : 192.168.1
        Enter the start of the range : 50
        Enter the end of the range   : 70
        

You may have to restart the NFS server after having done that as it caches a little bit.

4.4 Configuring the DHCP server

Linuxconf has a module to do just that (dhcpd). Or you can do it by hand. Here is a template you can use to setup a proper /etc/dhcpd.conf

        server-identifier plastic;
        # Put your domain here
        option domain-name      "solucorp.qc.ca";
        # Enter your DNS here
        option domain-name-servers      192.168.3.6;
        # Enter your default gateway here
        option routers  192.168.3.6;
        # Enter the netmask of the network here
        option subnet-mask      255.255.255.0;
        # Enter the network you wish to manage using DHCP
        subnet 192.168.3.0 netmask 255.255.255.0{
            # Enter the range you wish to allocate using DHCP
            range dynamic-bootp 192.168.3.100 192.168.3.150;
        }
        


Next Previous Contents