Hydrogen: the first one

In the previous century, I got the base of this system from Rogier Pijpers. It was an old beast and was getting too slow for Windows 95. It stood on my bench for close to a year and then I decided to complete the system with some other junk I had lying around plus a 1.2 GB disk. Hydrogen was born. Later I added some other things and did some upgradings. Now the system is as shown below.
See this file as a tribute to Hydrogen. It is retired now. Beryllium is my main workhorse nowadays.

Property Value Unit
Processor IDT WinChip  
Frequency 200 Megahertz
Linux Slackware 8.0  
RAM 64 Megabytes
Drives /dev/hda = 1.2 GB HDD
/dev/hdb = CD Writer
/dev/hdc = 1.2 GB HDD
/dev/hdd = 4.1 GB HDD
/dev/fd0 = FDD
 
Ethernet SMC EtherPower 10 Mbps
IP address 192.168.56.1  
Running since November 2000  
Fate Retired since July 2006 R.I.P.

Below, you will find the contents of the most important files for Hydrogen. These files are important for all computers and the settings are extremely hardware dependent. Read the files and use the things you want to try out on your machine.

/etc/fstab

    /dev/hda2       swap      swap        defaults                     0   0
    /dev/hda3       /         ext2        defaults                     1   1
    /dev/hda1       /drdos    vfat        defaults                     1   0
    /dev/hdc2       /home     ext2        defaults                     1   2
    /dev/hdd1       /backup   ext2        defaults                     1   2
    # /dev/hdb	    /cdrom    iso9660     user,ro	               0   0
    /dev/fd0	    /A	      ext2	  defaults	               0   0
    /dev/scd0	    /cdrom    auto	  defaults,ro,noauto,user,exec 0   0
    none            /dev/pts  devpts      gid=5,mode=620               0   0
    none            /proc     proc        defaults                     0   0
   


/etc/hosts

#
# hosts		This file describes a number of hostname-to-address
#		mappings for the TCP/IP subsystem.  It is mostly
#		used at boot time, when no name servers are running.
#		On small systems, this file can be used instead of a
#		"named" name server.  Just add the names, addresses
#		and any aliases to this file...
#
# By the way, Arnt Gulbrandsen  says that 127.0.0.1
# should NEVER be named with the name of the machine.  It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#

# For loopbacking.
127.0.0.1	localhost

192.168.56.99	proton.fruttenboel 	proton
192.168.56.1	hydrogen.fruttenboel 	hydrogen
192.168.56.2	helium.fruttenboel 	helium
192.168.56.3	lithium.fruttenboel 	lithium
192.168.56.5	boron.fruttenboel 	boron
192.168.56.6	carbon.fruttenboel 	carbon
192.168.56.7	nitrogen.fruttenboel 	nitrogen
192.168.56.8	oxygen.fruttenboel 	oxygen
192.168.56.10	neon.fruttenboel 	neon
192.168.56.31   gallium.fruttenboel     gallium
192.168.56.108	scandium.fruttenboel 	scandium

# End of hosts.
   

/etc/hosts.allow

#
# hosts.allow	This file describes the names of the hosts which are
#		allowed to use the local INET services, as decided by
#		the '/usr/sbin/tcpd' server.
#
# Version:	@(#)/etc/hosts.allow	1.00	05/28/93
#
# Author:	Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
#
#

ALL: LOCAL

# End of hosts.allow.
   

/etc/hosts.deny

#
# hosts.deny	This file describes the names of the hosts which are
#		*not* allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#
# Version:	@(#)/etc/hosts.deny	1.00	05/28/93
#
# Author:	Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
#
#

# ALL: ALL

# End of hosts.deny.
   

/etc/rc.d/rc.inet1

#! /bin/sh
#
# rc.inet1	This shell script boots up the base INET system.
#
# Version:	@(#)/etc/rc.d/rc.inet1	2.00	10/06/1999
#

HOSTNAME=`cat /etc/HOSTNAME`

# Attach the loopback device.
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo

# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the 
# eth0 interface.

# Edit these values to set up a static IP address:
IPADDR="192.168.56.1"	        # REPLACE with YOUR IP address!
NETMASK="255.255.255.0"	        # REPLACE with YOUR netmask!
NETWORK="192.168.56.0"	        # REPLACE with YOUR network address!
BROADCAST="192.168.56.255"	# REPLACE with YOUR broadcast address, if you
			        # have one. If not, leave blank and edit below.
GATEWAY="192.168.56.99"	        # REPLACE with YOUR gateway address!
# GATEWAY="192.168.72.1"	# REPLACE with YOUR gateway address!

# To use DHCP instead of a static IP, set this value to "yes":
DHCP="no"                       # Use DHCP ("yes" or "no")

# OK, time to set up the interface:

if [ "$DHCP" = "yes" ]; then # use DHCP to set everything up:
  echo "Attempting to configure eth0 by contacting a DHCP server..."
  /sbin/dhcpcd
elif [ ! "$IPADDR" = "127.0.0.1" ]; then # set up IP statically:
  # Set up the ethernet card:
  echo "Configuring eth0 as ${IPADDR}..."
  /sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}

  # If that didn't succeed, give the system administrator some hints:
  if [ ! $? = 0 ]; then
    cat << EOF
Your ethernet card was not initialized properly.  Here are some reasons why this
may have happened, and the solutions:
1. Your kernel does not contain support for your card.  Including all the 
   network drivers in a Linux kernel can make it too large to even boot, and
   sometimes including extra drivers can cause system hangs.  To support your
   ethernet, either edit /etc/rc.d/rc.modules to load the support at boottime,
   or compile and install a kernel that contains support.
2. You don't have an ethernet card, in which case you should comment out this
   section of /etc/rc.d/rc.inet1.  (Unless you don't mind seeing this error...)
EOF
  fi

  # Older kernel versions need this to set up the eth0 routing table:
  KVERSION=`uname -r | cut -f 1,2 -d .`
  if [ "$KVERSION" = "1.0" -o "$KVERSION" = "1.1" \
   -o "$KVERSION" = "1.2" -o "$KVERSION" = "2.0" -o "$KVERSION" = "" ]; then
    /sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
  fi

  # If there is a gateway defined, then set it up:
  if [ ! "$GATEWAY" = "" ]; then
    /sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1
  fi
fi

# End of rc.inet1
   

/etc/lilo.conf

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 40
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz
  root = /dev/hda3
  label = Linux
  read-only
  append = "hdb=ide-scsi"
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
  label = DOS
  table = /dev/hda
# DOS bootable partition config ends
   

/etc/resolv.conf

search fruttenboel
nameserver 213.51.144.170
nameserver 212.100.160.51
nameserver 292.168.56.99
   

/etc/rc.d/rc.local

#!/bin/sh
#
# /etc/rc.d/rc.local:  Local system initialization script.
#
# Put any local setup commands in here:

insmod ide-scsi

hdparm -S 24 /dev/hdd
   

Synopsis

OK, now I told just about anything that is specific and that can be hairy when your machine will not boot upto an inlog prompt. If your system uses a comparable Linux, these settings might help.

System settings are so machine specific that I cannot help you, unless you happen to live around the corner. If that is the case, this magic number '5012' should ring a bell. If the number is just a number to you, please find someone near your place to help you out.

Page created on April 7, 2006 and

Page equipped with FroogleBuster technology