Linux Redhat 9.0 Shrike install

Pick workstation mode - for software development

Installing to 8 GB drive, so chose to automatically partition.

Firewall: Medium

Allow incoming: WWW, FTP, SSH, DHCP, Telnet

Custom Package selection:

Server Configuration Tools
Web Server
Windows File Server
FTP Server
Network Servers (telnet server)

VNC server

Kernel Development
System Tools (Samba client)

VNC

This adds up to about 2.1 GB of operating system data.

problem with xpdf-2.01-8 on CD#2 (Applications Publishing) - CD image may have been corrupt.

Network card not recognized

So I have a wireless ADM8211 network card that is not working.  I searched for a driver, then finally found one at here.

I downloaded the latest version of the driver, which was adm8211-20041121.tar.bz2.  Reading the INSTALL file, I found out that it doesn't support the 2.4 Linux kernel.  Redhat 9.0 uses the version 2.4 Linux kernel.  The final version of the driver that will support the 2.4 kernel is adm8211-20041111.tar.bz2

Since there is no network to transfer the file, I had to copy it to a DOS formatted floppy, then mount under Linux to copy to the hard drive.
mkdir /mnt/flop
mount /dev/fd0 /mnt/flop
ls /mnt/flop
cp /mnt/flop/adm8211-20041111.tar.bz2 .
umount /mnt/flop

tar jxvf adm8211-20041111.tar.bz2

Extract Linux sources
cd /usr/src
tar jxf linux-2.4.25-chw.tar.bz2
rm linux
ln -s linux-2.4.25-chw linux
cd linux
make oldconfig dep
mv ~/adm8211 /usr/src/linux/drivers/net/wireless
cd drivers/net/wireless/adm8211/
make
make install
modprobe adm8211
lsmod

netconfig

Enter networking information

ifup eth0

ifconfig eth0

iwconfig eth0 essid my_essid

iwconfig eth0 key my_key

iwconfig eth0 channel 7

 


cd /etc/network/
cp -p interfaces interfaces.bak
vi interfaces

Add the following lines to the end of the interfaces file:
iface eth0 inet dhcp

or to set a static address:

iface eth0 inet static
address 192.168.1.99
netmask 255.255.255.0
gateway 192.168.1.1
wireless_essid my_essid
wireless_key my_wireless_key
wireless_channel 7

change the auto line to automatically start the eth0 interface:
auto lo eth0

ifup eth0

ping www.cdrom.com to see if ethernet card works.

Need to get wireless card to start on boot, as well as set the network to a static IP.
cd /etc
cp -p modules modules.bak

vi modules

Add adm8211 to the end of that file


Enable Telnet
System Settings > Server Settings > Services

Put checkmark by Telnet and Save settings.

Bring up command prompt to see if it works.
# telnet localhost

Worked.


Enable FTP server

System Settings > Server Settings > Services

Put checkmark by vsftpd

Click Start button

Save Settings

Worked.

Can manually start this way:
# cd /etc/rc.d/init.d
# ./vsftpd start

Enable HTTPD server

System Settings > Server Settings > Services

Put check by httpd

Click Restart

Save Settings

Worked

disable xscreensaver - takes up too much CPU

cd /usr/bin/X11/
mv xscreensaver xscreensaver.bak


Atomic Time setup

As root:

crontab -e

Add the following two lines to the crontab file:
# update time with ntp server
0 3,9,15,21 * * * /usr/bin/rdate -s 128.2.136.71 | logger -t NTP

The -p prints out the time so it can be logged by logger into the syslog, and the -s sets the computer clock to the time that is returned.

That will update the time at 03:00, 09:00, 15:00, and 21:00 every day from the server FS1.ECE.CMU.EDU. It then sends the output to /var/log/messages.

Run crontab -l to make sure that the lines were added correctly.

The following are an example of a few NTP servers:
128.2.136.71 FS1.ECE.CMU.EDU
192.43.244.18 time.nist.gov
128.102.16.2 ns.arc.nasa.gov
192.5.41.40 tick.usno.navy.mil


Disable X11 startup in /etc/inittab

[root@localhost etc]# diff inittab inittab.bak
53c53
< #x:5:respawn:/etc/X11/prefdm -nodaemon
---
> x:5:respawn:/etc/X11/prefdm -nodaemon