Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
|
 |
11-03-2001, 10:12 AM
|
#1
|
LQ Newbie
Registered: Nov 2001
Location: Raleigh and Cincinnati
Posts: 3
Rep:
|
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...
|
|
|
11-03-2001, 10:34 AM
|
#2
|
Member
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498
Rep:
|
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.
|
|
|
11-03-2001, 11:32 AM
|
#3
|
LQ Newbie
Registered: Nov 2001
Location: Raleigh and Cincinnati
Posts: 3
Original Poster
Rep:
|
telnet service
Would my local win98 machine be able to telnet to the RedHat machine if there were no telnet daemon running?
|
|
|
11-03-2001, 12:26 PM
|
#4
|
LQ Newbie
Registered: Nov 2001
Location: Raleigh and Cincinnati
Posts: 3
Original Poster
Rep:
|
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?
|
|
|
11-03-2001, 02:38 PM
|
#5
|
Member
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498
Rep:
|
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.
|
|
|
11-03-2001, 02:49 PM
|
#6
|
Member
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267
Rep:
|
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
|
|
|
11-05-2001, 01:43 PM
|
#7
|
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:
|
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 ?
|
|
|
11-26-2001, 02:33 PM
|
#8
|
LQ Newbie
Registered: Nov 2001
Location: Shelton,CT,USA
Posts: 8
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:32 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
|
|