• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Can't get telnet service to run on my Linux box

Maetryx

Diamond Member
Maetryx here, 😎

Although I'm not an absolute newbie with Linux, I am quite the amateur. Anyway, I have an old Pentium 133 doing IP masquerading for me (basically it's a router) and I have been the biggest numbskull in that I've been physically connecting a keyboard and monitor to it as I needed to access it.

Then it hit me: I'm a giant retard. I could simply telnet into the box comfortably from my computer instead. It turns out that the telnet-server RPM wasn't installed, so I figured out how to do that. It didn't work at first until I realized that the /var was 100% full from logging every packet of data to pass through the machine. So I turned off the IPCHAINS logging and made some room on the /var so that telnet-server rpm would install (it wanted to create a log also, and so it needed some space to do that on the /var).

I tried using linuxconf to get the telnet service started but it wouldn't. I read linuxconf log file and it is telling me that it can't run because /etc/rc.d/init.d/telnet doesn't exist. But I don't know how to make that exist. I don't even know what the hell it is, but judging from the other files in that directory it's some kind of a configuration file. But I'm lost. I uninstalled the rpm and tried a later version, but the exact same thing happens.

I'm hoping this is a simple request. Please someone help me get this most basic service working on my linux box. Later I'll try SSH but for now, please help me with telnet.
 
Telnet server is controlled by inetd or xinetd. Go to /etc/rc.d/init.d. You're using ipchains (as opposed to iptables) so you might still have inetd. Check the /etc/inetd.conf file to make sure in that an entry for something like "in.telnetd". If you have xinetd, check /etc/xinetd.conf and /etc/xinetd.d/ to make sure there is a "telnet" file there. Then go to /etc/rc.d/init.d/ and restart the *inetd script. (I think "./xinetd restart" should do).

If that doesn't work, make sure your ipchains isn't firewalling the standard telnet port (23) and/or TCP protocol. Also make sure your tcp_wrappers files (/etc/hosts.allow, /etc/hosts.deny) are not set to block your system.

I would prefer installing SSH instead of Telnet. It's not controlled by *inetd, so you can run the server with "sshd" command (or /etc/rc.d/init.d/sshd start). You can get Tera Term Pro and TTSSH (free apps) to SSH into your computer. It's also more secure.
 
Maetryx here, 😎

Thank you so much. I'm going to try your solution right away, but I wanted to thank you for helping me because it means a lot to me 🙂.
 
Okay, I got it working. I had xinet.d running, but it didn't have any telnet parameters in xinet.conf so I killed it and started up inetd which DID have a telnet parameter in the inetd.conf.

Then I edited the hosts.deny which was denying ALL.

Now I can login remotely via telnet. Thanks a million.
 
Back
Top