LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2002, 10:49 PM   #1
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Rep: Reputation: 15
Help with Telnet


Hello all. I will begin by saying I am just learning Linux, so any help that could be given would be greatly appreciated.

I just loaded SuSE 7.3 on an older system of mine. It runs great. KDE is a little slow, but overall it runs well.

I have a few books concerning networking with Linux, setting up security measures, etc.

I want to run Telnet on the Linux box, yet for some reason it is not working.

It is enabled in the inetd file and the services file in /etc.

I try to log into it from a Windows XP box on my network, and it says the server actively refused the connection. So I know the service is running, just not sure why it refuses me.

What am I doing wrong? My assumption is I need to set up an IP address (of the computer trying to log in) somewhere in another file, yet I am not sure which one, and the books are not very forthcoming. Any ideas?

Thanks for the help!
 
Old 07-22-2002, 10:53 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Are you trying to login as root or a regular user ? root is disabled and that would be dangerous anyways as telnet is unsecure. You may want to look into ssh, which is far more secure in this type of connection. Let us know !
 
Old 07-22-2002, 10:56 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Also it could very well be a firewall if that was setup with your install ??
 
Old 07-22-2002, 10:58 PM   #4
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for the quick reply!


I know it is unsecure... I picked that up in some of my readings. However, this box is behind a router, and the computer I am trying to connect from is also behind the router. Even if someone knew I was running a telnet server behind this router, I don't think they could do much with it since no ports are forwarded.

Tell me if I am mistaken here.


I ran this command from a prompt in WinXP

telnet 192.168.1.3

Obviously that is the IP address of the Linux box behind my router...

When I ran that it more or less said it saw me trying to connect, but actively refused it. It never gave me a chance to login.

Any ideas?
 
Old 07-22-2002, 11:02 PM   #5
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
what distro?
 
Old 07-22-2002, 11:05 PM   #6
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Original Poster
Rep: Reputation: 15
It is SuSE 7.3

Is that what you are asking?

Geez I am a newbie.
 
Old 07-22-2002, 11:16 PM   #7
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
Ye s I was asking that.
Did you install a default firewall?

before reconfiguring everything...
PuTTY is a free ssh implementation for windoze. It's small and easy to use. try it with ssh before opening up telnet.
 
Old 07-22-2002, 11:19 PM   #8
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Original Poster
Rep: Reputation: 15
To my knowledge, the firewall is disabled. It says so when the box boots up.

I will try that program. Thanks!

I would still like to know why telnet is not working though. Fixing problems is a good way to learn, even though I am pretty stuck right now.

I was reading something about the hosts.allow file. That might be a little off, but the idea is the same. Do I need to add the IP address of my XP box in there?
 
Old 07-22-2002, 11:59 PM   #9
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
/sbin/chkconfig --list

telnet: off

it should be near the bottm with the xinetd services. is tit off or on?

as for hosts.allow
and
hosts.deny

The only thing I've ever used them for is NFS
but I'm no guru

Last edited by 5amYan; 07-23-2002 at 12:02 AM.
 
  


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
How do I setup telnet on Fedorac1 so I can telnet to it from winxp? mman49 Fedora 6 05-02-2004 01:40 PM
can not telnet localhost 25 but telnet dowell.exper.dynserv.com 25 exper Linux - Software 0 02-25-2004 06:13 AM
Telnet localhost and telnet IP seb77 Linux - Newbie 4 10-15-2003 04:15 PM
enable telnet but can't telnet from the computer guanyu Linux - Networking 8 08-26-2002 07:34 AM
telnet local but no-telnet via internet blacksheep Linux - Networking 7 11-26-2001 03:33 PM


All times are GMT -5. The time now is 08:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration