From: mauro@netcom.com (Mauro DePalma) Subject: net-2 on a laptop Date: Mon, 14 Jun 1993 03:23:01 GMT
Greetings,
I am posting the following after having seen many articles posted
on troubles with net-2.
I have Linux on several PCs one is the designated as 'bleeding edge'
also it is an Avanti 486 laptop.
On it presently Linux is at release 0.99.10 with libc-4.4 and net-2.
X still works (apparently the key is to be able to `ping localhost`)
anyhoe, here is the /etc/rc.net:
_BEGIN_INCLUDE
# /etc/rc.net -- (argos) Avanti 486SLC
# 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=/etc/ifconfig
ROUTE=/etc/route
HOSTS=/etc/hosts
HOSTNAME=`hostname`
IPADDR=`grep "^[^#]*\b$HOSTNAME\b" $HOSTS | cut -f1`
echo "$HOSTNAME --> $IPADDR"
$CONFIG lo localhost
$ROUTE add localhost gw localhost metric 0
_END_INCLUDE
Ciao,
Mauro