Add comments to ME README.BOOTP README.TEMPLATING mentioning that
they contain stale information. Remove files referring to the old diskless setup to avoid confusion.
This commit is contained in:
parent
9c7d357cd4
commit
5c81e5d250
@ -1,27 +0,0 @@
|
||||
|
||||
kernel, rc.local, and xdm-config are typically softlinks. Plus other
|
||||
files, of course, depending on how you setup your system.
|
||||
|
||||
rc.local and xdm-config might be softlinks into HT.DISKLESS, allowing
|
||||
you to ease system administration when managing many diskless
|
||||
workstations. You can also play other tricks, such as I play in
|
||||
rc.conf.local by having it source ../HT.DISKLESS/rc.conf.local to get
|
||||
class-based defaults.
|
||||
|
||||
Note: the ttys file below contains an example of how to have X startup
|
||||
on boot.
|
||||
|
||||
apollo:/conf/209.157.86.12# ls -la
|
||||
total 7
|
||||
drwxr-xr-x 2 root wheel 512 Feb 9 00:27 .
|
||||
drwxr-xr-x 8 root wheel 512 Feb 8 22:48 ..
|
||||
lrwxr-xr-x 1 root wheel 20 Feb 8 22:04 fstab -> ../HT.DISKLESS/fstab
|
||||
lrwxr-xr-x 1 root wheel 17 Jan 24 23:33 kernel -> /kernel.diskless2
|
||||
-rw-r--r-- 1 root wheel 133 Feb 8 22:04 rc.conf.local
|
||||
lrwxr-xr-x 1 root wheel 23 Jan 25 00:41 rc.local -> ../HT.DISKLESS/rc.local
|
||||
-rw------- 1 root wheel 539 Jan 17 15:29 ssh_host_key
|
||||
-rw-r--r-- 1 root wheel 343 Jan 17 15:29 ssh_host_key.pub
|
||||
lrwxr-xr-x 1 root wheel 26 Feb 9 00:27 syslog.conf -> ../HT.DISKLESS/syslog.conf
|
||||
-rw-r--r-- 1 root wheel 1408 Feb 8 19:54 ttys
|
||||
lrwxr-xr-x 1 root wheel 25 Jan 25 00:38 xdm-config -> ../HT.DISKLESS/xdm-config
|
||||
|
@ -1,9 +0,0 @@
|
||||
# DISKLESS RC.CONF.LOCAL
|
||||
#
|
||||
# Override system standard /etc/rc.conf
|
||||
|
||||
. /conf/HT.DISKLESS/rc.conf.local
|
||||
|
||||
hostname=test2.backplane.com
|
||||
start_xdm=NO
|
||||
|
@ -1,5 +0,0 @@
|
||||
# fstab for diskless machine. Root is already mounted, as is swap.
|
||||
#
|
||||
209.157.86.2:/usr /usr nfs ro 0 0
|
||||
209.157.86.2:/var /var nfs ro 0 0
|
||||
proc /proc procfs rw 0 0
|
@ -1,36 +0,0 @@
|
||||
# DISKLESS RC.CONF.LOCAL
|
||||
#
|
||||
# Override system standard /etc/rc.conf
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
ldconfig_paths="$ldconfig_paths /usr/krb5/lib"
|
||||
ldconfig_paths_aout="$ldconfig_paths_aout /usr/krb5/lib/aout"
|
||||
|
||||
# Must do NFS mounts early
|
||||
# Must not attempt to mount root rw
|
||||
#
|
||||
early_nfs_mounts="YES"
|
||||
root_rw_mount="NO"
|
||||
|
||||
inetd_enable="NO"
|
||||
portmap_enable="NO"
|
||||
router_enable="NO"
|
||||
cron_enable="NO"
|
||||
sendmail_enable="NO"
|
||||
|
||||
# Enable additional services
|
||||
#
|
||||
|
||||
nfs_client_enable="YES"
|
||||
lpd_enable="YES"
|
||||
ntpdate_enable="YES"
|
||||
ntpdate_flags="apollo"
|
||||
xntpd_enable="YES"
|
||||
|
||||
if [ -f /etc/ipfw.conf ]; then
|
||||
firewall_enable="YES"
|
||||
firewall_type="/etc/ipfw.conf"
|
||||
firewall_quiet="NO"
|
||||
fi
|
||||
|
@ -1,77 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -f /etc/rc.conf ]; then
|
||||
. /etc/rc.conf
|
||||
fi
|
||||
|
||||
# Firewall helper - if we configure the firewall to let through
|
||||
# ports > 4000, we need to configure the machines as such.
|
||||
#
|
||||
|
||||
sysctl -w net.inet.ip.portrange.first=4000
|
||||
|
||||
# Setup spool
|
||||
#
|
||||
|
||||
cat >> /var/spool/lpd/ljet4.ps << EOF
|
||||
#!/bin/sh
|
||||
#
|
||||
|
||||
gs -q -dSAFER -dNOPAUSE -sDEVICE=ljet4 -r600x600 -dBitsPerPixel=1 \
|
||||
-sOutputFile=- -
|
||||
EOF
|
||||
|
||||
chmod 755 /var/spool/lpd/ljet4.ps
|
||||
|
||||
mkdir /var/spool/ljet4
|
||||
chown daemon /var/spool/ljet4
|
||||
|
||||
# Setup remote source
|
||||
#
|
||||
|
||||
mount_mfs -s 600000 -T qp120at dummy /src
|
||||
mount apollo:/FreeBSD /FreeBSD
|
||||
mkdir /src/u3
|
||||
mkdir /src/u3/usr.obj
|
||||
|
||||
# Copy of ssh_host_key* files to where sshd
|
||||
# expects them, assuming you add to /usr/local/etc/sshd_config:
|
||||
#
|
||||
# HostKey /var/db/ssh_host_key
|
||||
#
|
||||
# Then restart sshd ( the /usr/local/etc/rc.d script installed by
|
||||
# the port probably failed due to the lack of host keys )
|
||||
|
||||
if [ -f /conf/ME/ssh_host_key ]; then
|
||||
cp /conf/ME/ssh_host_key* /var/db
|
||||
else
|
||||
(cd /var/db; ssh-keygen -f ssh_host_key -P "")
|
||||
fi
|
||||
chmod 400 /var/db/ssh_host_key
|
||||
chmod 644 /var/db/ssh_host_key.pub
|
||||
/usr/local/sbin/sshd
|
||||
|
||||
# Copy home directory so you can login
|
||||
#
|
||||
#
|
||||
|
||||
mount_mfs -s 65536 -T qp120at dummy /home
|
||||
|
||||
if [ -d /home.diskless ]; then
|
||||
cd /home.diskless
|
||||
for i in *; do
|
||||
if [ -f $i/home.tgz ]; then
|
||||
mkdir /home/$i
|
||||
chown $i /home/$i
|
||||
chmod 700 /home/$i
|
||||
(cd /home/$i; tar xzpf /home.diskless/$i/home.tgz)
|
||||
homeok=1
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [ "${homeok:=0}" = "0" ]; then
|
||||
echo "ERROR, NO /home.diskless DIRECTORY TO COPY TO /HOME"
|
||||
sleep 10
|
||||
fi
|
||||
|
@ -1,3 +0,0 @@
|
||||
*.err;kern.debug;auth.notice;mail.crit;lpr.info /dev/console
|
||||
*.err;kern.debug;auth.notice;mail.crit root
|
||||
*.emerg *
|
@ -1,52 +0,0 @@
|
||||
#
|
||||
# @(#)ttys 5.1 (Berkeley) 4/17/89
|
||||
#
|
||||
# name getty type status comments
|
||||
#
|
||||
# This entry needed for asking password when init goes to single-user mode
|
||||
# If you want to be asked for password, change "secure" to "insecure" here
|
||||
console none unknown off secure
|
||||
#
|
||||
ttyv0 "/usr/X11R6/bin/xdm -nodaemon -config /conf/209.157.86.6/xdm-config" cons25 on secure
|
||||
# Virtual terminals
|
||||
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
|
||||
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
|
||||
ttyv3 "/usr/libexec/getty Pc" cons25 on secure
|
||||
# Serial terminals
|
||||
ttyd0 "/usr/libexec/getty std.9600" unknown off secure
|
||||
ttyd1 "/usr/libexec/getty std.9600" unknown off secure
|
||||
ttyd2 "/usr/libexec/getty std.9600" unknown off secure
|
||||
ttyd3 "/usr/libexec/getty std.9600" unknown off secure
|
||||
# Pseudo terminals
|
||||
ttyp0 none network
|
||||
ttyp1 none network
|
||||
ttyp2 none network
|
||||
ttyp3 none network
|
||||
ttyp4 none network
|
||||
ttyp5 none network
|
||||
ttyp6 none network
|
||||
ttyp7 none network
|
||||
ttyp8 none network
|
||||
ttyp9 none network
|
||||
ttypa none network
|
||||
ttypb none network
|
||||
ttypc none network
|
||||
ttypd none network
|
||||
ttype none network
|
||||
ttypf none network
|
||||
ttypg none network
|
||||
ttyph none network
|
||||
ttypi none network
|
||||
ttypj none network
|
||||
ttypk none network
|
||||
ttypl none network
|
||||
ttypm none network
|
||||
ttypn none network
|
||||
ttypo none network
|
||||
ttypp none network
|
||||
ttypq none network
|
||||
ttypr none network
|
||||
ttyps none network
|
||||
ttypt none network
|
||||
ttypu none network
|
||||
ttypv none network
|
@ -1,15 +0,0 @@
|
||||
! $XConsortium: xdm-conf.cpp,v 1.2 93/09/28 14:30:32 gildea Exp $
|
||||
DisplayManager.errorLogFile: /var/run/xdm-errors
|
||||
DisplayManager.pidFile: /var/run/xdm-pid
|
||||
DisplayManager.servers: /usr/X11R6/lib/X11/xdm/Xservers-1
|
||||
DisplayManager.keyFile: /usr/X11R6/lib/X11/xdm/xdm-keys
|
||||
DisplayManager.servers: /usr/X11R6/lib/X11/xdm/Xservers
|
||||
DisplayManager.accessFile: /usr/X11R6/lib/X11/xdm/Xaccess
|
||||
DisplayManager._0.authorize: true
|
||||
DisplayManager._0.setup: /usr/X11R6/lib/X11/xdm/Xsetup_0
|
||||
DisplayManager._0.startup: /usr/X11R6/lib/X11/xdm/GiveConsole
|
||||
DisplayManager._0.reset: /usr/X11R6/lib/X11/xdm/TakeConsole
|
||||
DisplayManager*resources: /usr/X11R6/lib/X11/xdm/Xresources
|
||||
DisplayManager*session: /usr/X11R6/lib/X11/xdm/Xsession
|
||||
DisplayManager*authComplain: false
|
||||
|
@ -1,30 +0,0 @@
|
||||
#
|
||||
# @(#)aliases 5.3 (Berkeley) 5/24/90
|
||||
#
|
||||
# Aliases in this file will NOT be expanded in the header from
|
||||
# Mail, but WILL be visible over networks or from /bin/mail.
|
||||
#
|
||||
# >>>>>>>>>> The program "newaliases" must be run after
|
||||
# >> NOTE >> this file is updated for any changes to
|
||||
# >>>>>>>>>> show through to sendmail.
|
||||
#
|
||||
|
||||
# Basic system aliases -- these MUST be present
|
||||
MAILER-DAEMON: postmaster
|
||||
postmaster: root
|
||||
|
||||
# General redirections for pseudo accounts
|
||||
bin: root
|
||||
daemon: root
|
||||
games: root
|
||||
ingres: root
|
||||
nobody: root
|
||||
system: root
|
||||
toor: root
|
||||
uucp: root
|
||||
usenet: root
|
||||
root: root@backplane.com
|
||||
|
||||
diablo: dillon
|
||||
diablo-bugs: dillon
|
||||
|
@ -1,6 +0,0 @@
|
||||
# @(#)forward.map 1.1 1/17/95
|
||||
#
|
||||
# Put addresses to be forwarded here. Example:
|
||||
#
|
||||
# garyw@mojosoft.com charliex@best.com
|
||||
#
|
@ -1,11 +0,0 @@
|
||||
#
|
||||
# example:
|
||||
# fofs.com markl@shellx.best.com
|
||||
#
|
||||
# NOTE: FORWARD.MAP can be used to override NDOMAIN.MAP for specific
|
||||
# users. NDOMAIN.MAP would then act as a catch-all
|
||||
#
|
||||
# NOTE: NDOMAIN.MAP only works to two levels. I.E. if you have an
|
||||
# entry for fubar.com, then user@fubar.com will work and
|
||||
# user@host.fubar.com will work, but NOT user@host.dom.fubar.com
|
||||
#
|
@ -1,11 +0,0 @@
|
||||
*.err;kern.debug;auth.notice;mail.crit /dev/console
|
||||
# *.notice;kern.debug;lpr,auth.info;mail.crit /var/log/messages
|
||||
*.debug;kern.debug;lpr,auth.info;mail.crit;news.crit /var/log/messages
|
||||
mail.info /var/log/maillog
|
||||
news.info /var/log/news
|
||||
lpr.info /var/log/lpd-errs
|
||||
cron.* /var/log/cron
|
||||
#*.err root
|
||||
#*.notice;auth.debug root
|
||||
#*.alert root
|
||||
*.emerg *
|
@ -1,52 +0,0 @@
|
||||
#
|
||||
# @(#)ttys 5.1 (Berkeley) 4/17/89
|
||||
#
|
||||
# name getty type status comments
|
||||
#
|
||||
# This entry needed for asking password when init goes to single-user mode
|
||||
# If you want to be asked for password, change "secure" to "insecure" here
|
||||
console none unknown off secure
|
||||
#
|
||||
ttyv0 "/usr/libexec/getty Pc" cons25 on secure
|
||||
# Virtual terminals
|
||||
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
|
||||
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
|
||||
ttyv3 "/usr/libexec/getty Pc" cons25 on secure
|
||||
# Serial terminals
|
||||
ttyd0 "/usr/libexec/getty std.9600" unknown off secure
|
||||
ttyd1 "/usr/libexec/getty std.9600" unknown off secure
|
||||
ttyd2 "/usr/libexec/getty std.9600" unknown off secure
|
||||
ttyd3 "/usr/libexec/getty std.9600" unknown off secure
|
||||
# Pseudo terminals
|
||||
ttyp0 none network
|
||||
ttyp1 none network
|
||||
ttyp2 none network
|
||||
ttyp3 none network
|
||||
ttyp4 none network
|
||||
ttyp5 none network
|
||||
ttyp6 none network
|
||||
ttyp7 none network
|
||||
ttyp8 none network
|
||||
ttyp9 none network
|
||||
ttypa none network
|
||||
ttypb none network
|
||||
ttypc none network
|
||||
ttypd none network
|
||||
ttype none network
|
||||
ttypf none network
|
||||
ttypg none network
|
||||
ttyph none network
|
||||
ttypi none network
|
||||
ttypj none network
|
||||
ttypk none network
|
||||
ttypl none network
|
||||
ttypm none network
|
||||
ttypn none network
|
||||
ttypo none network
|
||||
ttypp none network
|
||||
ttypq none network
|
||||
ttypr none network
|
||||
ttyps none network
|
||||
ttypt none network
|
||||
ttypu none network
|
||||
ttypv none network
|
@ -1,3 +1,18 @@
|
||||
IMPORTANT NOTE:
|
||||
|
||||
As of Feb. 11, 2002 (and indeed, for quite some time before that),
|
||||
the /etc/rc.diskless{1,2} scripts support a slightly different
|
||||
diskless boot process than the one documented in the rest of
|
||||
this file (which is 3 years old).
|
||||
|
||||
I am not deleting the information below because it contains some
|
||||
useful background information on diskless operation, but for the
|
||||
actual details you should look at /etc/rc.diskless1, /etc/rc.diskless2,
|
||||
and the /usr/share/examples/diskless/clone_root script which can
|
||||
be useful to set up clients and server for diskless boot.
|
||||
|
||||
--- $FreeBSD$ ---
|
||||
------------------------------------------------------------------------
|
||||
|
||||
When templating, /conf/ME is typically a softlink to
|
||||
/conf/<appropriate-machine>. When doing a diskless boot, /conf/ME is
|
||||
|
@ -1,3 +1,18 @@
|
||||
IMPORTANT NOTE:
|
||||
|
||||
As of Feb. 11, 2002 (and indeed, for quite some time before that),
|
||||
the /etc/rc.diskless{1,2} scripts support a slightly different
|
||||
diskless boot process than the one documented in the rest of
|
||||
this file (which is 3 years old).
|
||||
|
||||
I am not deleting the information below because it contains some
|
||||
useful background information on diskless operation, but for the
|
||||
actual details you should look at /etc/rc.diskless1, /etc/rc.diskless2,
|
||||
and the /usr/share/examples/diskless/clone_root script which can
|
||||
be useful to set up clients and server for diskless boot.
|
||||
|
||||
--- $FreeBSD$ ---
|
||||
------------------------------------------------------------------------
|
||||
|
||||
BOOTP configuration mechanism
|
||||
|
||||
|
@ -1,3 +1,18 @@
|
||||
IMPORTANT NOTE:
|
||||
|
||||
As of Feb. 11, 2002 (and indeed, for quite some time before that),
|
||||
the /etc/rc.diskless{1,2} scripts support a slightly different
|
||||
diskless boot process than the one documented in the rest of
|
||||
this file (which is 3 years old).
|
||||
|
||||
I am not deleting the information below because it contains some
|
||||
useful background information on diskless operation, but for the
|
||||
actual details you should look at /etc/rc.diskless1, /etc/rc.diskless2,
|
||||
and the /usr/share/examples/diskless/clone_root script which can
|
||||
be useful to set up clients and server for diskless boot.
|
||||
|
||||
--- $FreeBSD$ ---
|
||||
------------------------------------------------------------------------
|
||||
|
||||
TEMPLATING machine configurations
|
||||
|
||||
|
@ -1,21 +0,0 @@
|
||||
|
||||
aliases, forward.map, and ndomain.map are typically softlinks to some
|
||||
other common directory such as HT.STD. Also syslog.conf and ttys.
|
||||
|
||||
You can create machine classifications, which I call 'HT.XXX' directories,
|
||||
to hold common files for a particular functional machine class.
|
||||
|
||||
total 8
|
||||
drwxr-xr-x 3 root wheel 512 Jan 26 10:56 .
|
||||
drwxr-xr-x 7 root wheel 512 Jan 26 10:58 ..
|
||||
drwxr-xr-x 2 root wheel 512 Jan 26 10:56 CVS
|
||||
lrwxr-xr-x 1 root wheel 17 Jan 25 10:27 aliases -> ../HT.STD/aliases
|
||||
lrwxr-xr-x 1 root wheel 21 Jan 25 10:27 forward.map -> ../HT.STD/forward.map
|
||||
-rw-r--r-- 1 root wheel 263 Jan 24 18:27 fstab
|
||||
-rw-r--r-- 1 root wheel 750 Jan 24 18:29 ipfw.conf
|
||||
-rw-r--r-- 1 root wheel 100 Jan 24 18:35 motd
|
||||
lrwxr-xr-x 1 root wheel 21 Jan 25 10:27 ndomain.map -> ../HT.STD/ndomain.map
|
||||
-rw------- 1 root wheel 464 Jan 25 13:53 rc.conf.local
|
||||
-rw-r--r-- 1 root wheel 283 Jan 24 18:33 resolv.conf
|
||||
lrwxr-xr-x 1 root wheel 21 Feb 9 01:09 syslog.conf -> ../HT.STD/syslog.conf
|
||||
lrwxr-xr-x 1 root wheel 14 Feb 9 01:08 ttys -> ../HT.STD/ttys
|
@ -1,8 +0,0 @@
|
||||
# Device Mountpoint FStype Options Dump Pass#
|
||||
/dev/sd0a / ufs rw 1 1
|
||||
/dev/sd0b none swap sw 0 0
|
||||
/dev/sd0d /var ufs rw 1 1
|
||||
/dev/sd0e /usr ufs rw 1 1
|
||||
/dev/wd0d /cvs ufs rw 2 2
|
||||
209.157.86.2:/FreeBSD /FreeBSD nfs ro 0 3
|
||||
proc /proc procfs rw 0 0
|
@ -1,31 +0,0 @@
|
||||
# /etc/ipfw.conf
|
||||
#
|
||||
# allow local nets, dialup specials
|
||||
#
|
||||
add 00010 allow all from 127.0.0.1 to 127.0.0.1 via lo0
|
||||
add 00020 allow ip from 209.157.86.0/26 to 209.157.86.0/26
|
||||
#add 00030 allow ip from any to any via sl0
|
||||
|
||||
# Allow all outgoing
|
||||
#
|
||||
add 00040 allow all from 209.157.86.0/26 to any
|
||||
|
||||
# incoming TCP
|
||||
#
|
||||
add 01000 allow tcp from any to any established
|
||||
add 01010 allow tcp from any to any ssh,smtp,domain,finger,ntalk,http,auth,kerberos
|
||||
add 01020 reset log tcp from any to any
|
||||
|
||||
# incoming UDP
|
||||
#
|
||||
add 02000 allow udp from any to any 4000-65535,domain,ntp,kerberos,ntalk
|
||||
add 02010 unreach filter-prohib log udp from any to any
|
||||
|
||||
# incoming ICMP
|
||||
#
|
||||
add 03000 allow icmp from any to any
|
||||
|
||||
# Deny the rest and log
|
||||
#
|
||||
add 65534 deny log all from any to any
|
||||
|
@ -1,4 +0,0 @@
|
||||
FreeBSD 3.0-CURRENT (ARCHIVE) #54: Sat Jan 2 12:18:57 PST 1999
|
||||
|
||||
Welcome to archive.backplane.com!
|
||||
|
@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
|
||||
network_interfaces="lo0 ed1"
|
||||
ifconfig_ed1="inet 192.157.86.7 netmask 255.255.255.192"
|
||||
|
||||
# use external resolver
|
||||
#
|
||||
named_enable="NO"
|
||||
portmap_enable="NO"
|
||||
|
||||
##############################################################
|
||||
### Miscellaneous administrative options ###################
|
||||
##############################################################
|
||||
|
||||
sendmail_enable="YES"
|
||||
sendmail_flags="-q5m"
|
||||
dumpdev="/dev/sd0b" # Device name to crashdump to (if enabled).
|
||||
|
@ -1,9 +0,0 @@
|
||||
search backplane.com best.com best.net
|
||||
#search best.com. best.net. backplane.com.
|
||||
# workstations use this file too, and do not run named themselves
|
||||
#
|
||||
# so lander can use this file too
|
||||
nameserver 209.157.86.2
|
||||
#nameserver 127.0.0.1
|
||||
#nameserver 204.156.128.1
|
||||
#nameserver 204.156.128.20
|
Loading…
Reference in New Issue
Block a user