Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
03-03-2006, 12:01 PM
|
#1
|
Member
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53
Rep:
|
Lost telnet login when changing to 2.6 ker
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!
|
|
|
03-03-2006, 12:43 PM
|
#2
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
can you telnet in on localhost?
does ssh work?
|
|
|
03-03-2006, 01:27 PM
|
#3
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
You really should be using SSH. Telnet is massively insecure.
|
|
|
03-04-2006, 07:08 AM
|
#4
|
Member
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53
Original Poster
Rep:
|
telnet login
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...
Dave
|
|
|
03-04-2006, 09:39 AM
|
#5
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
hmm.
read `man in.telnetd`
then edit /etc/inetd.conf
and put it into debug mode
|
|
|
03-05-2006, 01:27 PM
|
#6
|
Member
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53
Original Poster
Rep:
|
Part way there
Kodon,
That got me part way there...
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. ??
So....??
|
|
|
03-05-2006, 03:19 PM
|
#7
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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.
|
|
|
03-05-2006, 11:02 PM
|
#8
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
strange
not sure why standalone would work
and not the tcp wrapper
is it just telnet or everything that uses a wrapper?
|
|
|
03-07-2006, 05:46 AM
|
#9
|
Member
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53
Original Poster
Rep:
|
Wrapper's OK!
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. ?
|
|
|
03-07-2006, 08:53 AM
|
#10
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
i'm running: 2.6.15.5, tcpip-0.17-i486-36, inetd-1.79s-i486-7
without any problems...afaik, none of my kernels gave me any
problems.
did you roll this kernel yourself?
if so, double-check your config...
|
|
|
03-08-2006, 12:02 PM
|
#11
|
Member
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53
Original Poster
Rep:
|
Thanks anyways
Kodon,
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.
Thanks for the help,
Dave
|
|
|
03-08-2006, 12:06 PM
|
#12
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Quote:
Originally Posted by DavidHB
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.
|
There is ALOT of possibilities there.
|
|
|
03-08-2006, 12:47 PM
|
#13
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
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.
|
|
|
03-09-2006, 06:27 AM
|
#14
|
Member
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53
Original Poster
Rep:
|
2.6.13 test26
Lestoil,
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.
Thanks,
Dave
|
|
|
03-09-2006, 10:11 AM
|
#15
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
when changing to 2.6 kernel
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.
|
|
|
All times are GMT -5. The time now is 02:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|