Re: unable to telnet/rlogin to localhost

Remco van de Meent (root@cal052012.student.utwente.nl)
Wed, 14 Feb 1996 10:27:02 +0100 (GMT+0100)


On Wed, 14 Feb 1996, Carsten Paeth wrote:

> > Starting with a clean 1.3.60, I was unable to telnet/rlogin to the
> > localhost. When I telnetted to another Linux machine (also .1.3.6x), and
> > then telnetted from that machine to my own box, it worked.
> >
> > My configuration:
> > libc-5.2.18
> > gcc-2.7.2-ELF
> >
> > 'ifconfig'-output:
> > lo Link encap:Local Loopback
> > inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
> > UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
> > RX packets:4 errors:0 dropped:0 overruns:0
> > TX packets:4 errors:0 dropped:0 overruns:0
> >
> > eth0 Link encap:10Mbps Ethernet HWaddr 00:40:05:17:D1:10
> > inet addr:130.89.230.132 Bcast:130.89.255.255 Mask:255.255.0.0
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:2433 errors:0 dropped:0 overruns:0
> > TX packets:85 errors:0 dropped:0 overruns:0
> > Interrupt:10 Base address:0x300
> >
> > part of my /etc/rc.d/rc.inet1:
> > # Attach the loopback device.
> > /sbin/ifconfig lo 127.0.0.1
> > /sbin/route add -net 127.0.0.0
>
> route add 130.89.230.132 gw localhost lo
> route add -net 130.89.255.0 eth0
>
> > Somebody any suggestions?
> > I'm using 1.3.62 at the moment, with de video-2.2.2-patch for more textmodes
> > with my miroCRYSTAL 12SD with S3-Trio32.

Unfortunately, this solution didn't work:
---8<---
root@cal052012:/etc/rc.d# route add 130.89.230.132 gw localhost lo
root@cal052012:/etc/rc.d# route add -net 130.89.255.0 eth0
root@cal052012:/etc/rc.d# telnet cal052012.student.utwente.nl
Trying 130.89.230.132...

root@cal052012:/etc/rc.d#
---8<---

When I boot 1.2.13 (the one which comes with the Slackware 3.0 distribution),
I'm able to telnet to the localhost, so, i.m.h.o., the
cause of this problem is in the kernel itself.

--
Remco van de Meent.
	email: meent@cs.utwente.nl
	WWW: http://www.cs.utwente.nl/~meent