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'm running Redhat 7.1 with the latest build of xinetd and I've been running into this snag in setting up a telnet server. I've gotten to the point where I can connect to the server from the machine it is on, but not from any other machines. I have ALL:ALL in my hosts.allow and I have only_from = 0.0.0.0/0 in my xinetd.conf. Any ideas? thanx for your time.
Thanx, i did leave the disable=yes flag on, but after changing it i still get nothing. I can get in from the same machine the telnet server is on, but not from any other machine. I always seem to be missing a tiny detail, any other ideas?
I'm also no expert, but I think you also need to tell the system who the clients are that are connecting. If you try telnet from another machine it'll try to do a reverse lookup to identify the client before letting you connect.
The easiest way to check if this is a problem would be to add a machine into your hosts file (if your system uses it) and then try.
---
Now look at the file in the /etc/xinetd.d directory called: telnet
Should look like this:
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
Now if this doesn't work after this it's a routing problem to your system.
I'm not even getting to the login part of the connect process. I tried all that with my files and I still get the same problem. I'm not sure its an issue with routing because in windows I can set up an ftp server and it can easily be accessed from anywhere. When I attempt to connect from another machine all it says is "Trying...." which is more than I get from a machine without a Telnet server set up, so its obviously seeing something. Thanx for the help so far, any other ideas or comments?
It has only 1 NIC. The logs only notice the internal connection attempts. I havent installed SSh yet cuz i just wanted something simple to get started, guess the jokes on me. There's no router and no firewall. No need for name resolution because im connecting directly via IP address. I tried putting the IP address of the other machine and ALL:ALL in the hosts.allow file. Still nothing. If you have the time I can email you the IP address and you can see the errors yourself. I do appreciate the help tho.
I have the exact same problem with my new install of Redhat 7.1 after turning on telnet I can login on the local Linux box however when I try and telnet to the box from another machine I get a Trying..... then connection failed. Nothing is logged in the /var/log/secure or /var/log/messages logs for the remote telnet attempt no entries exist for the hosts.allow / hosts.deny and it is an ip connection with only a hub between the two machines Ping is OK (BTW Cannot FTP either) . Would really like to know if anyone knows the magic phrase to fix all of this
heh, maybe i'll get flamed for this...
but this is my first time using RH, and even if i forget about this problem, i really expect more from it anyway.
SuSE anyone? =)
wheeeeee! lol
fixed it!
problem with ipchains
well.. not a problem.. it was configured to block all tcp connections from port 0 to 1023
so yeah, anyone who's having a problem, check out /sbin/ipchains -L
and then /etc/sysconfig/ipchains
good luck!
I see somebody else had ipchains interfering with the network. I once had a problem like that took me too long to figure it out. That was really anoying.
Linux can get really anoying sometimes!
When it does go and boot Windows. When it crashes 30 seconds later boot Linux. Works great. Windows has such great timeing wish I could do that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.