I am trying to get Linux to peer with OS/2 and windoze. I have a Linux
book guiding me through.
When I execute the route command, the result is as follows:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
st21s.atlantic. * 255.255.255.255 UH 0 0 0
eth0
localhost.local * 255.255.255.255 UH 0 0 0
lo
192.168.0.0 * 255.255.255.0 U 0 0 0
eth0
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default 192.168.0.254 0.0.0.0 UG 0 0 0
eth0
default 192.168.0.254 0.0.0.0 UG 1 0 0
eth0
The book example looks rather different, and when I execute the command,
it takes a very long time to complete, unlike the OS/2 counterpart,
which completes instantly. Is this long time normal for Linux, over a
minute?
Anyone see a problem in any of my Linux configuration files:
/etc/hosts:
127.0.0.1 localhost.localdomain localhost
192.168.0.54 st21s.atlantic.net ST21S
192.168.0.51 ka13a.atlantic.net KA13A
192.168.0.52 ax5t3.atlantic.net AX5T3
192.168.0.53 td91w.atlantic.net TD91W
/etc/resolve.conf
domain atlantic.net
nameserver 209.208.25.18
nameserver 209.208.42.132
search atlantic.net
/etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
if [ -f /etc/redhat-release ]; then
R=$(cat /etc/redhat-release)
arch=$(uname -m)
a="a"
case "_$arch" in
_a*) a="an";;
_i*) a="an";;
esac
NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat`
if [ "$NUMPROC" -gt "1" ]; then
SMP="$NUMPROC-processor "
if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then
a="an"
else
a="a"
fi
fi
# This will overwrite /etc/issue at every boot. So, make any
changes you
# want to make to /etc/issue here or you will lose them when you
reboot.
echo "" > /etc/issue
echo "$R" >> /etc/issue
echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue
cp -f /etc/issue /etc/issue.net
echo >> /etc/issue
fi
/sbin/ifconfig eth0 192.168.0.54 netmask 255.255.255.0 up
/sbin/ifconfig lo 127.0.0.1 up
/sbin/route add -host 127.0.0.1 lo
--
A fool gives full vent to his anger, but a wise man keeps himself under
control. Proverbs 29:11 NKJV
Team OS/2
Felix Miata *** http://mrmazda.members.atlantic.net/