My problems concerning the net-2 release coming with SLS-test or MCC-interim.
When configuring the loopbackdevice as described in the README files the following
error message concerning the /etc/rc.net especially /usr/etc/route occures.
SIOCADDRT:Network is unreachable
This errormessage is produced by the following two lines in the /etc/rc.net script.
$ROUTE add $HOSTNAME
$ROUTE add default gw 130.88.2.2 metric 1
My script:
# /etc/rc.net
# Linux networking startup script. Should be run by /etc/rc.local at
# boot time. Configures the interfaces and starts the deamons.
# It assumes hostname has been set.
#
#
CONFIG=/usr/etc/ifconfig
INETD=/usr/etc/inetd
ROUTE=/usr/etc/route
HOSTNAME=`/bin/hostname`
# You may need to add a /usr/etc/ifsetup command to set the parameters
# for your ethernet card.
$CONFIG lo 127.0.0.1
#$CONFIG eth0 netmask 255.255.255.0 $HOSTNAME
$ROUTE add loopback
$ROUTE add $HOSTNAME
$ROUTE add default gw 130.88.2.2 metric 1
if [ -x $INETD ]; then
echo starting $INETD
$INETD
fi
Many thanks TOM
--
*****************************************************************
* InHouse : tom *
* --------------------------------------------------------------*
* *
*****************************************************************