Re: network loopback doesn't work in 2.2.1?

Alessandro Suardi (asuardi@uninetcom.it)
Wed, 03 Feb 1999 11:16:42 +0100


Marc Lehmann wrote:
>
> On Sun, Jan 31, 1999 at 07:28:46PM +1100, Michael Slade wrote:
> > Marc Lehmann wrote:
> > >
> > > After booting 2.2.1, I found that, although the loopback interface was
> > > up, no route was pointing to it, and "telnet 127.1" didn't connect but
> > > eventually timed out.
> >
> > I had a similar problem when I upgraded from 2.0.36 to 2.2.0pre9. As it
>
> Similar, but not the same (unfortunately).
>
> > turns out, the routing and interface stuff has changed somewhat, so your
> > network configure scripts need some tweaking. This worked for me:
> >
> > ifconfig lo 127.0.0.1 up
>
> Didn't help. It must be something that changed between pre9 and 2.2.1.
> The route is there (but not automatically), still it is being ignored
> (unable to ping etc..)
>

Must be something with your config. After booting I get this:

[asuardi@dogbert asuardi]$ telnet 127.1
Trying 127.0.0.1...
Connected to 127.1.
Escape character is '^]'.

Red Hat Linux release 5.2 (Apollo)
Kernel 2.2.1 on an i586
login:
login: <------- (me doing ^D here)
Connection closed by foreign host.
[asuardi@dogbert asuardi]$ ifconfig lo
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
[asuardi@dogbert asuardi]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
[asuardi@dogbert asuardi]$ ifconfig --version
net-tools 1.50
ifconfig 1.38 (1999-01-05)

Cheers,

--alessandro <asuardi@uninetcom.it> <asuardi@it.oracle.com>

Linux 2.0.36/2.2.1 glibc-2.0.7-29 gcc-2.8.1 binutils-2.9.1.0.19a

"I hate bugs which disappear just as soon as you start trying to
narrow things down." -- Stephen Tweedie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/