LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2001, 06:00 PM   #1
skopje909
LQ Newbie
 
Registered: Nov 2001
Distribution: Red Hat 6.2
Posts: 17

Rep: Reputation: 0
Exclamation Telnet Problem AGAIN AARRRRRR....


I have posted a msg similar to this in the past. I am running RedHat6.1 and run telnet (and soon to be replaced by SSH...).

Once the Linux box is telnet'd to I send the login across to a WindowsNT box. This has worked fine for 2yrs !!!

The telneting in to Linux works fine - but when this command - "Telnet 192.123.3.23" is executed it gives the msg "Telnet: tcp/telnet unknown service"

I have tried re-installing RD6.1 on a few occasions and after a fresh install, all the telnetting works fine, but all the sudden it returns the above msg.

I have now answers yet....

help help help...AARRRHHHHH...

This problem is reminding me of, dare me say it,
WWIINNDDOOWWSSS........
 
Old 11-18-2001, 06:05 PM   #2
skopje909
LQ Newbie
 
Registered: Nov 2001
Distribution: Red Hat 6.2
Posts: 17

Original Poster
Rep: Reputation: 0
Also I have checked the following :
/etc/services has telnet uncommented
/etc/inetd.conf has telnet uncommented

When I run netstat -na is shows the telnet service as LISTEN
 
Old 11-18-2001, 06:08 PM   #3
skopje909
LQ Newbie
 
Registered: Nov 2001
Distribution: Red Hat 6.2
Posts: 17

Original Poster
Rep: Reputation: 0
One more thing...
I have also tried using SSH and it does the same thing - let's me login but then when the telnet cmd is executed...guess what..
 
Old 11-26-2001, 06:28 PM   #4
bktpv
LQ Newbie
 
Registered: Nov 2001
Location: Shelton,CT,USA
Posts: 8

Rep: Reputation: 0
telnet session - solution

telnet session - solution
telnet session in workstation
Hi

i joined today for the similar problem in (red hat ver 6.2.1) and had just overcome after struggle....here is the soln..

1) check for inet package ---> # rpm -qa | grep -i inet
if you could find the package --> inetd-0.16-4
its fine
(else)
install the package # rpm -ivh inetd-0.16-4

2)check for telnet package ---> #rpm -qa | grep -i telnet
if you could find the package --> telnet-0.16-6 and telnet-server-0.16-6 its fine
(else)
you should install both or whichever is missing
#rpm -ivh telnet-0.16-6
#rpm -ivh telnet-server-0.16-6

3) just #reboot

4) check for telnet from your laptop or desktop into your linux box

hope this helps

thanks for this forum...its nice and browsing some queries i got to conclusion.

C u then......its working fine after this

-bktpv
 
Old 11-26-2001, 06:56 PM   #5
skopje909
LQ Newbie
 
Registered: Nov 2001
Distribution: Red Hat 6.2
Posts: 17

Original Poster
Rep: Reputation: 0
I found the problem - It's quite a simple solution.

When I was undergoing all my security settings, I made the file /etc/services only readable and accessible by root !! I changed this back ie "root# chmod 666 /etc/services" and I can now sleep at night !!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet problem. bruse Linux - Networking 7 09-15-2005 10:47 AM
i have telnet problem. bruse Linux - Newbie 3 08-12-2005 11:00 AM
telnet problem vivek007 Red Hat 2 10-31-2003 01:28 PM
telnet problem lomaree Linux - Networking 4 05-29-2003 10:31 PM
Problem In telnet Nezar Linux - Networking 1 02-16-2002 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration