SlackwareThis Forum is for the discussion of Slackware Linux.
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.
With Slack 10.2 and 2.4.31 I could log in from my windows machine through telnet on port 23.
I changed to kernel 2.6.13 and loaded the kernel modules and everything seemed fine.... except I lost the telnet login. Telnet server is running, because I can upload and download with other programs that use it.
The conf files thatI know about seem to be OK.
In the end, the question is, "How can I make aconsole available through telnet?". Inittab is the same as it was before and also inetd.conf
Something in modules must have stepped on something!
telnet on localhost responds with
Escape character is '^]'
Connection closed by foreign host.
The telnet from another machine actually seems to find the server and seems to wait for an input, but on typing the first character it exits. It doesn't output thelogin message either.
I'm sorry, I've been a programmer for 30 years.... but I'm relatively new to Linux ( although I do wonder why I waited so long ) so forgive this next question.....
What's ssh. Secure shell isn't it?
Anyways, security isn't really an issue. The unit is an embedded box on a tecnical network that doesn't really have any "private" information. Hackers aren't really a big problem, althugh virus control might be... but I don't know much about Linux viruses yet...
In debug, I saw that I could connect on port 40, so I thought that maybe somebody else had 23 taken. So i changed /etc/services to put telnet on 40, and got the same thing as before.
If I remove any reference to telnet in /etc/services, and start it in rc.local in the background with port 23, everything works fine... but I imagine that's not the best way to be doing it.
Whether it's commented out or not in inet.conf doesn't seem to make a difference, as long as I leave it out of services. ??
SSH is much more secure, but that isn't the only advantage. SSH is also much more flexible than telnet. Things like SCP, SFTP, FreeNX, etc.
RSA key login is also nice to have when working frequently on a machine, as is being able to run commands on the remote machine without actually having to login first.
Checked inetd and it's fine. I can run systat and netstat for instance remotely without problems.
Perhaps something in the telnet server is slightly incompatible with ker 2.6. Or I have a telnet version compatible to 2.4, but while running 2.6 kernel. ?
I've got 2.6.13, tcpip-0.17-i486-35 and inetd-1.79s-i486-7 so it's in the ballpark. Don't know, maybe I should reinstall tcpip or inetd. My kernel was pre-fabbed by Slack
Actually I'm not sure if I lost the telnetd console connection with the upgrade from Slack 10.0 to 10.2 or with the change from ker 2.4.31 to 2.6.13.
I'll struggle through until I find the solution.... best way to learn I guess.
By chance when you installed 2.6.13, was it test26.s install kernel? If so did you use cd2's 2.6.13 directory to get 2.6.13 kernel-modules and other needed pkgs-not 2.6.13 kernel-headers? Or did you install 2.6.13 from cd2 kernel-source by making initrd image? If you installed test26.s the 1st way maybe you need its kernel-modules pkg too, especially if you get module errors. Just a thought.hmmm.
Installed the 2.6.13 test then installed the modules from disk 2. Installed alsa-drivers too, although I realized that I didn't need those. Didn't install the generic though. NOt sure what those are.
I haven't ever compiled or rolled my own yet... still too green.
Many users that are not so green never compile a kernel and use SW happily. But if you ever want to install nvidia drive,for example,you will need the 2.6.13 kernel-source package on cd2 /2.6.13 too. Enjoy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.