Linux - NetworkingThis 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.
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.
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?
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.