Re: telnet doesn't find localhost
Jeronimo Pellegrini wrote:- socrates tmp$ telnet localhost 80 telnet: could not resolve localhost/80: Temporary failure in name resolution FWIW I have exactly the same problem. Just started recently. I have a dial-up connection too. The problem only exists when I'm not connected to the internet. As soon as pppd is up, the problem vanishes, and it reappears when I disconnect. I haven't a clue either. Neil.
Re: telnet doesn't find localhost
:: Neil Booth writes: FWIW I have exactly the same problem. Just started recently. I have a dial-up connection too. The problem only exists when I'm not connected to the internet. As soon as pppd is up, the problem vanishes, and it reappears when I disconnect. I haven't a clue either. And it seems that the problem is not with telnet, since I switched to telnet-ssl and the problem remains... J. -- Jeronimo Pellegrini Institute of Computing - Unicamp - Brazil http://www.ic.unicamp.br/~jeronimo mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Re: telnet doesn't find localhost
+ Jeronimo Pellegrini [EMAIL PROTECTED]: Telnet complains about a Temporary failure in name resolution Anything else I could try? Any other woody users having the same problem? I have the same problem. I do not know what is exactly the reason for, but I remember it worked some versions and on potato before. I tried something on /etc/resolv.conf and /etc/host.conf but with no effect. There is no network traffic if I try to telnet or ssh with the host's name. But ping localhost works! Kai. -- + mailto:[EMAIL PROTECTED] + http://www.tu-ilmenau.de/~bond/
Re: telnet doesn't find localhost
:: Kai Weber writes: I have the same problem. I do not know what is exactly the reason for, but I remember it worked some versions and on potato before. I tried something on /etc/resolv.conf and /etc/host.conf but with no effect. There is no network traffic if I try to telnet or ssh with the host's name. But ping localhost works! Yes, ping localhost works here too. I there anything else we could try to do before filing a bug? BTW, against which package should we file the bug? telnet? J. -- Jeronimo Pellegrini Institute of Computing - Unicamp - Brazil http://www.ic.unicamp.br/~jeronimo mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Re: telnet doesn't find localhost
Subject: telnet doesn't find localhost Date: Sat, Oct 21, 2000 at 10:45:11PM -0200 In reply to:Jeronimo Pellegrini Quoting Jeronimo Pellegrini([EMAIL PROTECTED]): Hello... This is probably a known problem. I checked the BTS some time ago, and tehre was a bug filed against telnet, I guess... It couldn't resolve localhost. --snip-- I am a bit confused. man 5 hosts didn't help... Any ideas? Just tried to telnet to localhost and it works fine (potato). Have you modified the /etc/network/interfaces file? You might try enabling the first line, ie iface lo inet loopback :-) HTH, YMMV, HAND :-) Wayne -- Enter any 11-digit prime number to continue... ___
Re: telnet doesn't find localhost
:: Wayne Topa writes: Thanks for replying, Wayne. This is probably a known problem. I checked the BTS some time ago, and tehre was a bug filed against telnet, I guess... It couldn't resolve localhost. Just tried to telnet to localhost and it works fine (potato). Oh, I'm using woody... Have you modified the /etc/network/interfaces file? You might try enabling the first line, ie I didn't change it; the problem was almost surely caused by some upgrade; I just don't know which package did it! iface lo inet loopback It was commented out, I enebled it, and still that didn't work. lo was already up before this. Telnet complains about a Temporary failure in name resolution Anything else I could try? Any other woody users having the same problem? J. -- Jeronimo Pellegrini Institute of Computing - Unicamp - Brazil http://www.ic.unicamp.br/~jeronimo mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Re: telnet doesn't find localhost
On 23-Oct-2000 Jeronimo Pellegrini wrote: It was commented out, I enebled it, and still that didn't work. lo was already up before this. Telnet complains about a Temporary failure in name resolution Anything else I could try? Any other woody users having the same problem? I don't have this problem and I am using Woody. Is localhost in your /etc/hosts ? -- Andrew
Re: telnet doesn't find localhost
Hello... This is probably a known problem. I checked the BTS some time ago, and tehre was a bug filed against telnet, I guess... It couldn't resolve localhost. --snip-- I am a bit confused. man 5 hosts didn't help... Any ideas? Do you have an alias for localhost, something like 127.0.0.1 localhost mybox.mynet I remember having had a similar problema (long time ago), and since then I always give a local address to ``mybox.mynet'', which is different from 127.0.0.1 HTH -- Christoph Simon [EMAIL PROTECTED] --- ^X^C q quit :q ^C end x exit ZZ ^D ? help shit .
Re: telnet doesn't find localhost
On Mon, Oct 23, 2000 at 03:20:47AM -0200, Jeronimo Pellegrini wrote: iface lo inet loopback It was commented out, I enebled it, and still that didn't work. I have a /etc/init.d/network script on my potato box with these commands: #! /bin/sh ifconfig lo 127.0.0.1 route add -net 127.0.0.0 Apparently it's part of the netbase package. Mike -- Michael P. Soulier [EMAIL PROTECTED] ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to UNIX PGP Public Key: http://www.storm.ca/~msoulier/personal.html pgpOfm2zhf74n.pgp Description: PGP signature
Re: telnet doesn't find localhost
:: Michael P Soulier writes: I have a /etc/init.d/network script on my potato box with these commands: #! /bin/sh ifconfig lo 127.0.0.1 route add -net 127.0.0.0 Hm, I did socrates:/home/jeronimo# ifconfig lo 127.0.0.1 socrates:/home/jeronimo# route add -net 127.0.0.0 netmask 255.0.0.0 lo And still it didn't work. But in my /etc/init.d/network, I had only the first line. J. -- Jeronimo Pellegrini Institute of Computing - Unicamp - Brazil http://www.ic.unicamp.br/~jeronimo mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Re: telnet doesn't find localhost
:: Christoph Simon writes: Hello... This is probably a known problem. I checked the BTS some time ago, and tehre was a bug filed against telnet, I guess... It couldn't resolve localhost. Do you have an alias for localhost, something like 127.0.0.1 localhost mybox.mynet Yes: 127.0.0.1 localhost socrates loghost And I can't telnet to loghost either. I remember having had a similar problema (long time ago), and since then I always give a local address to ``mybox.mynet'', which is different from 127.0.0.1 What do you mean? How did you do that? (Or, where can I find some more info about it?) Thank you! J. -- Jeronimo Pellegrini Institute of Computing - Unicamp - Brazil http://www.ic.unicamp.br/~jeronimo mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Re: telnet doesn't find localhost
I remember having had a similar problema (long time ago), and since then I always give a local address to ``mybox.mynet'', which is different from 127.0.0.1 What do you mean? How did you do that? (Or, where can I find some more info about it?) 127.0.0.1 localhost 192.168.1.1 mybox.mynet mybox If you don't have a NIC, try using a dummy interface, somehow. Boa sorte. -- Christoph Simon [EMAIL PROTECTED] --- ^X^C q quit :q ^C end x exit ZZ ^D ? help shit .
Re: telnet doesn't find localhost
:: Michael P Soulier writes: I have a /etc/init.d/network script on my potato box with these commands: #! /bin/sh ifconfig lo 127.0.0.1 route add -net 127.0.0.0 Hm, I did socrates:/home/jeronimo# ifconfig lo 127.0.0.1 socrates:/home/jeronimo# route add -net 127.0.0.0 netmask 255.0.0.0 lo And still it didn't work. But in my /etc/init.d/network, I had only the first line. The last versions add a reasonable route automatically one you have the interface up and running. You can test for it asking to visualize the route just after (manually) running ifconfig. Most probably, the route is already there. If you, then add another route, you get into troubles; two route _are_ legal, but mean something different (see kernel option equal cost multipath). You most probably don't want this. So make sure you only have one. HTH -- Christoph Simon [EMAIL PROTECTED] --- ^X^C q quit :q ^C end x exit ZZ ^D ? help shit .
telnet doesn't find localhost
Hello... This is probably a known problem. I checked the BTS some time ago, and tehre was a bug filed against telnet, I guess... It couldn't resolve localhost. Anyway... I still have that problem, and the telnet package was upgraded (and there wasnt anything in the changelog), so I think it must have been some oterh package. I tried netkit and a few otehrs, but didn't find the bug. But it is still a problem here... I can connect to socrates (which *is* localhost), but not to localhost. I did not touch my /etc/hosts file recently, except that some upgrade did add some ipv6 related stuff there... So I have no idea why this happens. This is a dialup box, and this is what I have in my /etc/hosts: 127.0.0.1 socrateslocalhost loghost # The following lines are desirable for IPv6 capable hosts # (added automatically by netbase upgrade) ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts Now, look what happens: socrates tmp$ telnet socrates 80 Trying 127.0.0.1... Connected to socrates. Escape character is '^]'. socrates tmp$ telnet localhost 80 telnet: could not resolve localhost/80: Temporary failure in name resolution Yet, ping doesn't seem to be affected by that: socrates tmp$ ping localhost PING socrates (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.1 ms socrates tmp$ ping socrates PING socrates (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.1 ms I am a bit confused. man 5 hosts didn't help... Any ideas? Thanks, J. -- Jeronimo Pellegrini Institute of Computing - Unicamp - Brazil http://www.ic.unicamp.br/~jeronimo mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]