LinuxQuestions.org
Help answer threads with 0 replies.
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-03-2001, 10:12 AM   #1
blacksheep
LQ Newbie
 
Registered: Nov 2001
Location: Raleigh and Cincinnati
Posts: 3

Rep: Reputation: 0
Unhappy telnet local but no-telnet via internet


The system is RedHat 7.1.

I have read so many posts regarding telnet not working that the answer must be in here somewhere but it still doesn't work for me.

#ifconfig -a produces an inet addr which is my direct, permanent ip address along with Bcast of the same address except that the last number is 255 and Mask:255.255.255.0

#route says Destination ns1.isoc.net with Gateway ddsl-router.wil Genmask 255.255.255.255 Flags UGH Iface eth0;
next line Destination my ip address except last number is 0 with Gateway * Gnemask 255.255.255.0 Glags U Iface eth0;
Destination 127.0.0.0 Gateway * Genmask 255.0.0.0 Flags U Iface lo;
Destination default Gateway ddsl-router.wil Genmask 0.0.0.0 Flags UG Iface eth0
Metric, Ref and Use are all 0

#cat /etc/hosts gives
127.0.0.1 acti localhost.localdomain localhost
192.168.0.50 ppp01 ppp01.americotec.com
192.168.0.100 acti markt

#cat /proc/sys/net/ipv4/ip_forward results in the single digit "1".

allow.hosts is set to ALL : ALL

The IP address will ping via the internet and telnet to the IP works fine via the local hub from my win98 box, BUT you cannot telnet to the IP address via the internet.

HELP! I have had about 4 hours sleep for two nights running trying to dope this thing out and seem so close but yet so far....

I am going to help my daughter with her oboe. Hope some of you gurus have an idea what is wrong. Thanks...
 
Old 11-03-2001, 10:34 AM   #2
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
This was tough for me to

First I am unsure of the unspecific of how this works but here it is simply out:

First of all I am suspecting that you did a "Workstation" install in which there is no telnet daemon running to answer requests for access to your computer, but there is a service to telnet out.

The only way to fix this this is to install this telnet daemon or so with a traditional "Server Class" installation

Note: All of this is assumed that you are using RedHat as this the distribution I am making references to.

Hope this helps.
 
Old 11-03-2001, 11:32 AM   #3
blacksheep
LQ Newbie
 
Registered: Nov 2001
Location: Raleigh and Cincinnati
Posts: 3

Original Poster
Rep: Reputation: 0
telnet service

Would my local win98 machine be able to telnet to the RedHat machine if there were no telnet daemon running?
 
Old 11-03-2001, 12:26 PM   #4
blacksheep
LQ Newbie
 
Registered: Nov 2001
Location: Raleigh and Cincinnati
Posts: 3

Original Poster
Rep: Reputation: 0
ps aux | grep telnet produces no reply which may be saying that the telnet daemon is not running.

What is the exact command to get telnet daemon running?
 
Old 11-03-2001, 02:38 PM   #5
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
telnet daemon

if I was right about the 'Workstation-Class' installation there is no telnet daemon to serve remote requests. It has to be installed. I can't help you with installing as I have never done it.
 
Old 11-03-2001, 02:49 PM   #6
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
Re: telnet daemon

Quote:
Originally posted by tarballedtux
if I was right about the 'Workstation-Class' installation there is no telnet daemon to serve remote requests. It has to be installed. I can't help you with installing as I have never done it.
This is from RedHat 7.2 so your version may differ...

# rpm -qa | grep -i telnet
telnet-server-0.17-20
telnet-0.17-20

Telnet passes the username and password "in the clear". In other words, NOT encrypted. I'd highly recommend installing and using SSH instead. It does everything telnet does as well as most of what ftp, rsh and a few other things do execpt that it does them securely and encrypted.

# rpm -qa | grep -i ssh
openssh-askpass-2.9p2-9
openssh-2.9p2-9
openssh-server-2.9p2-9
openssh-clients-2.9p2-9
openssh-askpass-gnome-2.9p2-9
 
Old 11-05-2001, 01:43 PM   #7
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
If this system is accepting local Telnet requests.. then the daemon is installed and working. For more proof, issue:

chkconfig --list telnet
or
service --status-all (and there will be something listening on port 23)

What message ... exactly... does the client receive when trying to telnet in?

Check the /var/log/messages and /var/log/secure on the server for messages when the client tries as well.

Do you have anything in /etc/hosts.allow or /etc/hosts.deny ?
 
Old 11-26-2001, 02:33 PM   #8
bktpv
LQ Newbie
 
Registered: Nov 2001
Location: Shelton,CT,USA
Posts: 8

Rep: Reputation: 0
telnet session in workstation

hi friends

i joined today for the similar problem 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 friends again and again

-bktpv
 
  


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
copy files from telnet session to local drive rkemp Linux - Networking 7 03-11-2009 05:01 AM
ZEBRA :telnet local host 2604 refused?? Y fhameed Linux - Networking 0 12-08-2004 11:19 AM
Telnet client that supports local printing? jedimastermopar Linux - Software 2 08-14-2004 07:06 AM
can not telnet localhost 25 but telnet dowell.exper.dynserv.com 25 exper Linux - Software 0 02-25-2004 05:13 AM
telnet problem between two local linux machines jkcunningham Linux - Software 2 06-23-2002 01:48 PM

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

All times are GMT -5. The time now is 08:24 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