Re: odd telnet troubles.

Richard B. Johnson (root@analogic.com)
Thu, 14 Aug 1997 22:37:32 -0400 (EDT)


If you look at the startup messages, you will probably find that your
new kernel complains "root forgot xxxxx", which happened when your
network startup script does `route add -net NN.NN.NN.0`. You now need
to put in a netmask. Here is my startup file for an example:

OLD_PATH=${PATH}
PATH=/sbin:/usr/sbin:/bin:/usr/bin
hostname chaos
domainname analogic.com
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 dev lo metric 0 netmask 255.0.0.0
ifconfig eth0 204.178.40.224 netmask 255.255.248.0 broadcast 204.178.47.255
route add -net 204.178.40.0 dev eth0 metric 0 netmask 255.255.248.0
route add default gw 204.178.40.1 metric 1 dev eth0 netmask 0.0.0.0
PATH=${OLD_PATH}

I understand that the 127.0.0.0 stuff is no longer needed as it is done
it in the kernel code... but it does not make any errors and allows an
old kernel to be booted and work.

Cheers,
DJ
Richard B. Johnson
Analogic Corporation
Penguin : Linux version 2.1.49 on an i586 machine (66.15 BogoMips).
Warning : It's hard to stay on the trailing edge of technology.
Linux : Engineering tool
Windows : Typewriter