Use pinfo or info to read the GNU info files and
use man to read man-pages. /usr/doc/ often contains
additional information on a package.
/etc/fstab contains your partitions. Please read fstab(5), mount(8).
--- /etc/fstab
+++ /etc/fstab
@@ -0,0 +1,5 @@
+/dev/hda5 swap swap defaults 0 2
+/dev/hda2 / ext2 defaults 1 1
+proc /proc proc defaults 0 1
+/dev/hda6 /hda6 ext2 noatime 0 2
+/dev/hda1 /mnt/old ext2 noauto 1 1
Specify where lilo is installed, where your root partition is, what kind of SCSI-controller you use and maybe add a password and add additional entries for other OS:
--- /etc/lilo.conf
+++ /etc/lilo.conf
@@ -4,18 +4,19 @@
#append="scsi_host=aha1542"
#append="scsi_host=aic7xxx"
+append="scsi_host=aic7xxx"
# you can get a shell in /boot/initrd and use "insmod" to load the
# necessary modules yourself
#append="debug=true"
-#password=secret
-#restricted
+password=verysecret
+restricted
-boot=/dev/sda2 # where lilo is installed
+boot=/dev/hda1 # where lilo is installed
delay=20 # 2 secs before starting default
vga=normal # I use vga=1
-root=/dev/sda2 # where linux is installed
+root=/dev/hda1 # where linux is installed
message=/boot/message
image=/boot/zImage
label=linux
@@ -24,5 +25,5 @@
image=/boot/zImage.full
label=full
read-only
-#other=/dev/sda1
-# label=dose
+other=/dev/sda1
+ label=dose
Setting up one ethernet card:
--- /etc/modules.conf
+++ /etc/modules.conf
@@ -10,6 +10,7 @@
# the following line:
#alias eth0 <card_name>
#options <card_name> <options>
+alias eth0 3c59x
# the following modules support the "io" and the "irq" option:
# 3c501 3c503 3c505 3c507 3c509 3c59x ac3200 apricot at1700 de4x5 depca
--- /etc/hosts
+++ /etc/hosts
@@ -14,4 +14,6 @@
127.0.0.1 localhost
+192.168.5.5 testhost.testdomain.org testhost
+
# End of hosts.
--- /etc/rc.config
+++ /etc/rc.config
@@ -46,9 +46,9 @@
# networking
#
# number of network cards: "_0" for one, "_0 _1 _2 _3" for four cards
-NETCONFIG=""
+NETCONFIG="_0"
# network device names (e.g. "eth0")
-NETDEV_0=""
+NETDEV_0="eth0"
NETDEV_1=""
NETDEV_2=""
NETDEV_3=""
@@ -56,19 +56,19 @@
# be used to configure it
# sample entry for ethernet:
# IFCONFIG_0="192.168.81.38 broadcast 192.168.81.63 netmask 255.255.255.224"
-IFCONFIG_0=""
+IFCONFIG_0="192.168.5.5 broadcast 192.168.5.255 netmask 255.255.255.0"
IFCONFIG_1=""
IFCONFIG_2=""
IFCONFIG_3=""
# network or host routes for the devices
# (e.g. "-net 192.168.81.32" or "-host 192.168.81.33")
-NETWORK_0=""
+NETWORK_0="-net 192.168.5.0"
NETWORK_1=""
NETWORK_2=""
NETWORK_3=""
# if this is set, the default route will be set to this gateway
# (e.g. "192.168.81.33")
-GATEWAY_0=""
+GATEWAY_0="192.168.5.1"
GATEWAY_1=""
GATEWAY_2=""
GATEWAY_3=""
@@ -79,7 +79,7 @@
# (e.g. "riemann.suse.de" or "hugo.linux.de")
# don't forget to also edit /etc/hosts for your system
#
-FQHOSTNAME=""
+FQHOSTNAME="testhost.testdomain.org"
#
# yp-domain, this name must match the one on the yp-server
Maybe just add the IP-addresses of your DNS servers:
--- /etc/rc.config
+++ /etc/rc.config
@@ -106,7 +106,7 @@
# give a maximum of 3 IP numbers
# (e.g. "192.168.116.11 192.168.7.7")
#
-NAMESERVER="127.0.0.1"
+NAMESERVER="192.168.5.1 192.168.6.1"
#
# Used for News-Postings.
Or setup a caching DNS server which forwards new queries to bigger DNS servers:
--- /etc/rc.d/start.conf
+++ /etc/rc.d/start.conf
@@ -49,7 +49,7 @@
# start DNS server named (/etc/named.conf)
#
# script S 0 1 2 3 4 5 6 7 8 9
-named n * * * 30 30 * * * * * *
+named y * * * 30 30 * * * * * *
#
# xntpd adjusts the time from another time server or a special local
--- /etc/named.conf
+++ /etc/named.conf
@@ -21,6 +21,10 @@
# 192.168.0.20;
# 192.168.0.30;
#};
+ forwarders {
+ 192.168.5.1;
+ 192.168.6.1;
+ };
# the default is to listen on port 53 on all available interfaces
# you can also give a detailed list:
#listen-on { 5.6.7.8; };
wu.ftpd can be limited to allow only local hosts for non-anonymous login:
--- /etc/ftpaccess
+++ /etc/ftpaccess
@@ -10,7 +10,7 @@
# class. If multiple "class" commands can apply to the current session, the
# first one listed in the access file is used. Failing to define a valid
# class for a host will cause access to be denied.
-class local real *
+class local real 192.168.81.35 192.168.81.45
class remote guest,anonymous *
# limit of 20 connections
I know there are lots of ways to disable beeps. One of them is to disable them in the kernel. I normally just disable them for all readline progs:
--- /etc/inputrc
+++ /etc/inputrc
@@ -1,5 +1,5 @@
# uncomment the followin line, if bash should not beep that often
-#set bell-style none
+set bell-style none
set meta-flag on
set output-meta on
set convert-meta off
Please look at mutt and pine.
Please look at tin, slrn, strn, trn, nn.
| Copyright (C) 1999 by Florian La Roche |
|