System setup |
/dev/hda1 swap swap defaults 0 0 /dev/hda2 / ext2 defaults 1 1 /dev/hdc1 /disk2 ext2 defaults 1 1 /dev/sda4 /zip auto user,noauto 0 0 /dev/fd0 /a: auto user,noauto 0 0 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0
c1:1235:respawn:/sbin/agetty 38400 tty1 linux c2:1235:respawn:/sbin/agetty 38400 tty2 linux c3:1235:respawn:/sbin/agetty 38400 tty3 linux c4:1235:respawn:/sbin/agetty 38400 tty4 linux c5:1235:respawn:/sbin/agetty 38400 tty5 linux c6:12345:respawn:/sbin/agetty 38400 tty6 linux # need at least one agetty at runlevel 4 for X to work okay c7:1235:respawn:/sbin/agetty 38400 tty7 linux #c8 left out. This is where X will come up c9:1235:respawn:/sbin/agetty 38400 tty9 linux cA:1235:respawn:/sbin/agetty 38400 tty10 linux cB:1235:respawn:/sbin/agetty 38400 tty11 linux #cC left out. This is where the syslog will be displayed
the kernel module to load
the network parameters
In the XDM directory change the Xserver file by adding -bpp 16. Here is the changed file.
file:/usr/X11R6/lib/X11/xdm/Xservers # $XConsortium: Xserv.ws.cpp,v 1.3 93/09/28 14:30:30 gildea Exp $ # # # $XFree86: xc/programs/xdm/config/Xserv.ws.cpp,v 1.1.1.1.12.2 1998/10/04 15:23:14 hohndel Exp $ # # Xservers file, workstation prototype # # This file should contain an entry to start the server on the # local display; if you have more than one display (not screen), # you can add entries to the list (one per line). If you also # have some X terminals connected which do not support XDMCP, # you can add them here as well. Each X terminal line should # look like: # XTerminalName:0 foreign # :0 local /usr/X11R6/bin/X -bpp 16
#!/bin/shRefer to the file /var/X11R6/lib/xdm/Xsession for examples of starting other window managers.
exec fvwm95
Set the default window manager in this directory /var/X11R6/lib/xinit. Change the symbolic link xinitrc. Currently it points to xinitrc.kde
/var/X11R6/lib/xinit$ ls
README.Xmodmap xinitrc.e* xinitrc.fvwm95* xinitrc.kde* xinitrc.twm
xinitrc@ xinitrc.fvwm2* xinitrc.gnome* xinitrc.openwin* xinitrc.wmaker*
Set the background / wallpaper for the xdm logon screen. The xdm setup file is in the /usr/X11/lib/X11/xdm/Xsetup_0 file. Add the line xv -quit -root ~alex/public_html/ccn/grey_stone.gif & to the file. Here is the finished file.
#!/bin/sh
# $XConsortium: Xsetup_0,v 1.3 93/09/28 14:30:31 gildea Exp $
#xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
# Fix backspace problem in login box:
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
# If the nifty KDE background loader is around, use it:
if [ -x /opt/kde/bin/kdmdesktop ]; then
/opt/kde/bin/kdmdesktop
fi
xv -quit -root ~alex/public_html/ccn/grey_stone.gif &
Use the command startx -- :2 -bpp 16 to start a second X session with a color depth of 16 bits per pixel
Netscape supplied with this version of Slackware has a bug in the editing of html documents. It will crash when you create a link. I replaced it with Netscape 4.71 from the previous system. This particular release does not have the problem.
Here are the changes:
#!/bin/sh /usr/local/netscape/netscape "$@"
Go to netscape downloadfor the latest version.
Subsequently upgraded to 4.72. This release has the same bug. It is documented at the netscape site as a known problem.
May 16/2000 When using netscape 4.72 and KDE occasionally netscape would go into a paging (swap) frenzy for an hour or so before ending. Alex reported similar problems in Fredericton. I have moved back to netscape 4.71. Considering using Mozilla in the future.
Uncomment the line /sbin/modprobe ppa in /etc/rc.d/rc.modules. This change will load the device driver for the (old - ours) parallel zip disk. The printer cable is plugged into the zip drive.
Copy the /etc/bootptab from previous system. Here is the relevant portion of the file.
allhost:hd=/tmp:bf=null:\
:ds=192.168.0.1:\
:sm=255.255.255.0:\
:gw=192.168.0.1:\
:to=-14400:\
:dn=localnet:
# Define all individual entries.
#hostname:ht=1:ha=ether_addr_in_hex:ip=ip_addr_in_dec:tc=allhost:
door:hn:ht=1:ha=00a0246cd264:ip=192.168.0.2:tc=allhost:
basement:hn:ht=1:ha=00A0246CAB62:ip=192.168.0.4:tc=allhost:
Insure that the bootp daemon is started by the system startup script /etc/rc.d/rc.inet2. Add this segment after the starting of named.
# Start the BOOTP server.
if [ -f ${NET}/bootpd ]; then
echo -n " bootpd"
${NET}/bootpd
fi
Restart the bootpd daemon, if it is active.
Copy the boot images from the previous system to this system.
Create symbolic link from /tftpboot/192.168.0.4 to basement.
Refer to the Linux mini HOWTO Remote-Boot for more information
Identify the file systems to be exported in the file /etc/exports. Here is the sample.
# See exports(5) for a description. # This file contains a list of all directories exported to other computers. # It is used by rpc.nfsd and rpc.mountd. /tftpboot/192.168.0.2 192.168.0.2(rw,no_root_squash) /tftpboot/basement basement(rw,no_root_squash) /tftpboot/192.168.0.4 192.168.0.4(rw,no_root_squash) /disk2 *.localnet (rw,no_root_squash) /home/class *.localnet (rw,no_root_squash)
Restart nfsd and mountd daemons if they are active.
Refer to the HOW-TO NFS and the mini HOW-TO NFS-Root and NFS-Root-Client for more information.