Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
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?
# rpm -qa | grep telnet
and check you have all the packages installed.
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?