From 159c929bcb096c2e6b917cd3ed31621038fb6d95 Mon Sep 17 00:00:00 2001
From: Wolfram Schneider
Date: Mon, 24 Aug 1998 23:43:17 +0000
Subject: [PATCH] Converted from HTML to docbook.
---
en/tutorials/disklessx/Makefile | 4 +-
.../{disklessx.sgml => disklessx.docb} | 185 ++++++-----
en_US.ISO_8859-1/tutorials/disklessx/Makefile | 4 +-
.../tutorials/disklessx/disklessx.docb | 287 ++++++++++++++++++
4 files changed, 394 insertions(+), 86 deletions(-)
rename en/tutorials/disklessx/{disklessx.sgml => disklessx.docb} (62%)
create mode 100644 en_US.ISO_8859-1/tutorials/disklessx/disklessx.docb
diff --git a/en/tutorials/disklessx/Makefile b/en/tutorials/disklessx/Makefile
index 086d200c36..1f97515c64 100644
--- a/en/tutorials/disklessx/Makefile
+++ b/en/tutorials/disklessx/Makefile
@@ -1,5 +1,5 @@
-# $Id: Makefile,v 1.2 1997-07-01 05:38:12 max Exp $
+# $Id: Makefile,v 1.3 1998-08-24 23:43:17 wosch Exp $
-DOCS= disklessx.sgml
+DOCS= disklessx.docb
.include "../../web.mk"
diff --git a/en/tutorials/disklessx/disklessx.sgml b/en/tutorials/disklessx/disklessx.docb
similarity index 62%
rename from en/tutorials/disklessx/disklessx.sgml
rename to en/tutorials/disklessx/disklessx.docb
index 408ae81e91..9e3ddc2d10 100644
--- a/en/tutorials/disklessx/disklessx.sgml
+++ b/en/tutorials/disklessx/disklessx.docb
@@ -1,19 +1,34 @@
-
-
-
-
- %includes;
-]>
-
+
+
-
-&header;
+
+
+
+
-By Jerry Kendall
-
+Diskless X Server: a how to guide
-With the help of some 'friends' on the FreeBSD-hackers list, I have
+
+
+ Jerry
+Kendall
+
+
+jerry@kcis.com
+
+
+
+
+28-December-1996
+
+
+1996
+Jerry Kendall
+
+
+
+
+With the help of some 'friends' on the FreeBSD-hackers list, I have
been able to create a diskless X terminal... The creation of the X terminal
required first creating a diskless system with minimal utilities mounted
via NFS. These same steps were used to create 2 separate diskless systems.
@@ -22,21 +37,29 @@ old 386DX-40. It has a 340Meg hard disk but, I did not want to change it.
So, it boots from 'antares.kcis.com' across a Ethernet. The second system
is a 486DX2-66. I setup a diskless FreeBSD (complete) that uses no local
disk. The server in that case is a Sun 670MP running
-SunOS 4.1.3. The same setup configuration was needed for both.
+SunOS 4.1.3. The same setup configuration was needed for both.
+
-
+
NOTE: I am sure that there is stuff that needs to be added to this. Please send me any comments....
-
+
-Creating the boot floppy (On the diskless system)
+
-Since the network boot loaders will not work with some of
+
+
+
+
+
+Creating the boot floppy (On the diskless system)
+
+Since the network boot loaders will not work with some of
the TSR's and such that MS-DOS uses, it is best to create
a dedicated boot floppy OR, if you can, create an MS-DOS menu
that will (via the config.sys/autoexec.bat files) ask what
configuration to load when the system starts. The later is the
-method that I use and it works great. My MS-DOS (6.x) menu is below.
-
+method that I use and it works great. My MS-DOS (6.x) menu is below.
+
---- config.sys ----
[menu]
menuitem=normal, normal
@@ -63,11 +86,13 @@ method that I use and it works great. My MS-DOS (6.x) menu is below.
nb8390.com
:end
- ----
+ ----
+
+
-Getting the network boot programs (On the server)
+Getting the network boot programs (On the server)
-Compile the 'net-boot' programs that are located in
+Compile the 'net-boot' programs that are located in
/usr/src/sys/i386/boot/netboot. You should read the comments
at the top of the makefile. Adjust as required. !!!! make a
backup of the original in case it gets fobar'd !!! When the build
@@ -75,22 +100,24 @@ is done, there should be 2 MS-DOS executables, 'nb8390.com' and
'nb3c509.com'. One of these two programs will be what you need
to run on the diskless server. It will load the kernel from the
boot server. At this point, put both programs on the MS-DOS
-boot floppy created earlier.
+boot floppy created earlier.
+
-Determine which program to run (On the diskless system)
+Determine which program to run (On the diskless system)
-If you know the chipset that your Ethernet adapter uses, this is
+If you know the chipset that your Ethernet adapter uses, this is
easy. If you have the NS8390 chipset, or a NS8390 based chipset,
use NB8390.COM. If you have a 3Com 509 based chipset, use the
NB3C509.COM boot program. If you are not sure which you have,
try using one, if it says 'No adapter found', try the other.
-Beyond that, you are pretty much on your own.
+Beyond that, you are pretty much on your own.
+
-Booting across the network
+Booting across the network
-Boot the diskless system with out any config.sys/autoexec.bat
-files. try running the boot program for your Ethernet adapter.
-
+Boot the diskless system with out any config.sys/autoexec.bat
+files. try running the boot program for your Ethernet adapter.
+
My Ethernet adapter is running in WD8013 16bit mode so
I run NB8390.COM
@@ -104,42 +131,43 @@ files. try running the boot program for your Ethernet adapter.
Searching for adapter..
WD8013EBT base 0x0300, memory 0x000D8000, addr 00:40:01:43:26:66
- Searching for server..
+ Searching for server..
-At this point, my diskless system is trying to find a machine to act
+At this point, my diskless system is trying to find a machine to act
as a boot server. Make note of the addr line above, you will need this
number later. Reset the diskless system and modify your config.sys and
autoexec.bat files to do these steps automatically for you. Perhaps in
a menu. If you had to run 'nb3c509.com' instead of 'nb8390.com' the
output is the same as above. If you got 'No adapter found' at the
'Searching for adapter..' message, verify that you did indeed set the
-compile time defines in the makefile correctly.
+compile time defines in the makefile correctly.
-Allowing systems to boot across the network (On the
- server)
+
+Allowing systems to boot across the network (On the
+ server)
-Make sure the /etc/inetd.conf file has entries for tftp and bootps.
-Mine are listed below:
-
+Make sure the /etc/inetd.conf file has entries for tftp and bootps.
+Mine are listed below:
+
---- /etc/inetd.conf ----
tftp dgram udp wait nobody /usr/libexec/tftpd tftpd
#
# Additions by who ever you are
bootps dgram udp wait root /usr/libexec/bootpd bootpd /etc/bootptab
----
-
-If you have to change the /etc/inetd.conf file, send a HUP signal to
+
+If you have to change the /etc/inetd.conf file, send a HUP signal to
inetd. To do this, get the process ID of inetd with 'ps -ax | grep
inetd | grep -v grep'. Once you have it, send it a HUP signal. Do this
-by 'kill -HUP <pid>'. This will force inetd to re-read its config file.
+by 'kill -HUP <pid>'. This will force inetd to re-read its config file.
-Did you remember to note the 'addr' line from the output of the boot
-loader on the diskless system???? Guess what, here is where you need it.
+Did you remember to note the 'addr' line from the output of the boot
+loader on the diskless system???? Guess what, here is where you need it.
-Add an entry to /etc/bootptab (maybe creating the file). It should be
-laid out identical to this:
+Add an entry to /etc/bootptab (maybe creating the file). It should be
+laid out identical to this:
-
+
altair:\
:ht=ether:\
:ha=004001432666:\
@@ -160,39 +188,39 @@ laid out identical to this:
'ip=199.246.76.2' tells the client what it's IP address is.
'gw=199.246.76.1' tells the client what the default gateway is.
'vm=...' just leave it there...
-
-NOTE:
+
+NOTE:
****** Be sure to setup the IP addresses correctly, the addresses
-above are my own......
+above are my own......
-Create the directory '/tftpboot' on the server it will contain the
+Create the directory '/tftpboot' on the server it will contain the
configuration files for the diskless systems that the server will
serve. These files will be named 'cfg.<ip>' where <ip> is the IP
address of the diskless system. The config file for 'altair' is
-/tftpboot/cfg.199.246.76.2. The contents is:
+/tftpboot/cfg.199.246.76.2. The contents is:
-
+
---- /tftpboot/cfg.199.246.76.2 ----
rootfs 199.246.76.1:/DiskLess/rootfs/altair
hostname altair.kcis.com
----
-
-The line 'hostname altair.kcis.com' simply tells the diskless
-system what its fully qualified domain name is.
+
+The line 'hostname altair.kcis.com' simply tells the diskless
+system what its fully qualified domain name is.
-The line 'rootfs 199.246.76.1:/DiskLess/rootfs/altair' tells the
-diskless system where its NFS mountable root filesystem is located.
+The line 'rootfs 199.246.76.1:/DiskLess/rootfs/altair' tells the
+diskless system where its NFS mountable root filesystem is located.
-NOTE:!!!!! The NFS mounted root filesystem will be mounted READ ONLY.
+NOTE:!!!!! The NFS mounted root filesystem will be mounted READ ONLY.
-The hierarchy for the diskless system can be re-mounted allowing
-read-write operations if required.
+The hierarchy for the diskless system can be re-mounted allowing
+read-write operations if required.
-I use my spare 386DX-40 as a dedicated X terminal...
+I use my spare 386DX-40 as a dedicated X terminal...
-The hierarchy for 'altair' is:
+The hierarchy for 'altair' is:
-
+
/
/bin
/etc
@@ -203,11 +231,11 @@ read-write operations if required.
/usr
/var
/var/run
-
+
-The actual list of files is:
+The actual list of files is:
-
+
-r-xr-xr-x 1 root wheel 779984 Dec 11 23:44 ./kernel
-r-xr-xr-x 1 root bin 299008 Dec 12 00:22 ./bin/sh
-rw-r--r-- 1 root wheel 499 Dec 15 15:54 ./etc/rc
@@ -221,12 +249,12 @@ read-write operations if required.
-r-xr-xr-x 1 root bin 73728 Dec 13 22:38 ./sbin/mount
-r-xr-xr-x 1 root wheel 1992 Jun 10 1995 ./dev/MAKEDEV.local
-r-xr-xr-x 1 root wheel 24419 Jun 10 1995 ./dev/MAKEDEV
-
-Don't forget to 'MAKEDEV all' in the 'dev' directory.
+
+Don't forget to 'MAKEDEV all' in the 'dev' directory.
-My /etc/rc for 'altair' is:
+My /etc/rc for 'altair' is:
-
+
#!/bin/sh
#
PATH=/bin:/sbin
@@ -251,16 +279,9 @@ read-write operations if required.
#
# We blew up....
exit 1
-
+
-
-Any comments and ALL questions welcome....
+Any comments and ALL questions welcome....
-
-Jerry Kendall
-jerry@kcis.com
-
-
-&footer;
-
-