Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-10-2002, 01:11 AM
|
#1
|
Member
Registered: May 2001
Location: HK
Distribution: Mandrake
Posts: 68
Rep:
|
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!
|
|
|
01-10-2002, 03:57 AM
|
#2
|
Member
Registered: Jul 2001
Location: Kent, UK
Distribution: /Fedora/Debian/Ubuntu/Xubuntu
Posts: 108
Rep:
|
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.
|
|
|
01-10-2002, 10:07 PM
|
#3
|
Member
Registered: May 2001
Location: HK
Distribution: Mandrake
Posts: 68
Original Poster
Rep:
|
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!
|
|
|
01-11-2002, 02:02 AM
|
#4
|
Member
Registered: May 2001
Location: HK
Distribution: Mandrake
Posts: 68
Original Poster
Rep:
|
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!
|
|
|
01-22-2002, 04:47 PM
|
#5
|
LQ Newbie
Registered: Jan 2002
Posts: 14
Rep:
|
|
|
|
01-22-2002, 08:13 PM
|
#6
|
Member
Registered: May 2001
Location: HK
Distribution: Mandrake
Posts: 68
Original Poster
Rep:
|
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?
|
|
|
01-23-2002, 10:29 AM
|
#7
|
LQ Newbie
Registered: Jan 2002
Posts: 14
Rep:
|
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 ...
|
|
|
All times are GMT -5. The time now is 01:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|