LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-10-2002, 01:11 AM   #1
minor
Member
 
Registered: May 2001
Location: HK
Distribution: Mandrake
Posts: 68

Rep: Reputation: 15
Unhappy telnet problem (getnameinfo.)


I can't telnet to my linuxbox and is in the same network. And I already haven't set hosts.allow and hosts.deny. When I telnet to my box and reply is "getnameinfo." then closed. What is the problem of my box?

Thanks!
 
Old 01-10-2002, 03:57 AM   #2
neil
Member
 
Registered: Jul 2001
Location: Kent, UK
Distribution: /Fedora/Debian/Ubuntu/Xubuntu
Posts: 108

Rep: Reputation: 15
Can you ping the IP address?
netmasks set the same?
#ifconfig -a

Is the telnet Daemon running?
# ps -eaf | grep telnet
look for in.telnetd

If so Can you telnet to the IP address?
If you can telnet the IP check out all name resolution stuff

Also check your /etc/hosts file. take out the alias to your actual hostname and the localhost. Put your hostname and IP address on a seoarate line.

and /etc/inittab.conf for the line
hosts files dns nis nis+
make sure files comes before dns. This is your name resolution order

Also check /etc/hosts.conf I think it is. This will have a line containing order and bind. Youll have to check the man pages for details cause I cant remember.

If you can login as a user but cannot login as root check man page on /etc/securetty

Hope this helps?

gethostbyname is a system call. I dont uderstand these things but can you telnet 127.0.0.1? perhaps try this first. If you cant then either telnet is not running or its broken somehow. (not all installed?
try
# rpm -qa | grep telnet
and check you have all the packages installed.

# setup
at the command line and check all the system services.
 
Old 01-10-2002, 10:07 PM   #3
minor
Member
 
Registered: May 2001
Location: HK
Distribution: Mandrake
Posts: 68

Original Poster
Rep: Reputation: 15
Question

neil, I can telnet from my linux box to myself(ip), but I can't telnet from remote host to my linux box. And the error is "getnameinfo.". I already check my box follow your messages, but also same. Do you have any guess?
Thanks!
 
Old 01-11-2002, 02:02 AM   #4
minor
Member
 
Registered: May 2001
Location: HK
Distribution: Mandrake
Posts: 68

Original Poster
Rep: Reputation: 15
Smile the problem already solve

Hey, my friend, the problem already solved and problem is combination of IPv6. And more information you can visit


http://sdb.suse.de/en/sdb/html/telnet_getnameinfo.html

Thanks!
 
Old 01-22-2002, 04:47 PM   #5
t0dd
LQ Newbie
 
Registered: Jan 2002
Posts: 14

Rep: Reputation: 0
What if I'm running Redhat7.1?

ftp://ftp.suse.com/pub/suse/i386/upd...1/a1/nkitb.rpm

ftp://ftp.suse.com/pub/suse/i386/upd...1/nkitserv.rpm


will this rpm packages from suse linux works?
 
Old 01-22-2002, 08:13 PM   #6
minor
Member
 
Registered: May 2001
Location: HK
Distribution: Mandrake
Posts: 68

Original Poster
Rep: Reputation: 15
Smile

I am not sure this rpm packages can/can't running RH7.1, does RH also have this problem? If yes, did you find the patch from RH sites?
 
Old 01-23-2002, 10:29 AM   #7
t0dd
LQ Newbie
 
Registered: Jan 2002
Posts: 14

Rep: Reputation: 0
I had similar problem but wasn't getnameinfo. It was a firewall issues. Went in and enable FTP and Telnet and got it working. Thanks ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet problem. bruse Linux - Networking 7 09-15-2005 09:47 AM
i have telnet problem. bruse Linux - Newbie 3 08-12-2005 10:00 AM
telnet problem vivek007 Red Hat 2 10-31-2003 12:28 PM
telnet problem lomaree Linux - Networking 4 05-29-2003 09:31 PM
Problem In telnet Nezar Linux - Networking 1 02-16-2002 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration