LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-12-2002, 10:46 AM   #1
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Rep: Reputation: 15
Telnet


I am trying to telnet into a box that has RH 7.2 I edited the file /etc/xinetd.d/telnet and changed the line that says "disabled=yes" to "disabled=no", restarted the XInetd metadaemon with the following command; # service xinetd restart. I can ping the box OK. When I go to telnet into the box I get the dreaded "Could not open a connection to the host:Connect failed". I am TELNETTing from a Windows box. When I tray to telnet from a Linux box I get, "Unable to connect to remote host: Connection refused". Is there something I have missed???

Thanks
 
Old 07-12-2002, 11:13 AM   #2
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
I believe that unless told other wise during install the default ipchains firewall
turns off telnet ..... by the way, you should be using ssh instead if you need link to Windows SSH client just shout
 
Old 07-12-2002, 11:20 AM   #3
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
How do I turn telnet on??? I have heard that ssh is the way to go. Telnet won't be a problem since the machine is in a test environment.
 
Old 07-12-2002, 11:45 AM   #4
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Two things check and post any telnet messages from /var/log/messages

and post output from ipchain -L
 
Old 07-12-2002, 12:12 PM   #5
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
I didn't see any messages concerning telnet in /var/log/messages.

the ipchain -L command presented this to me;
23
REJECT tcp -y---- anywhere anywhere any -> nfs
REJECT upd ------ anywhere anywhere any 0:10
 
Old 07-12-2002, 12:36 PM   #6
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Quote:
Originally posted by bkmesenbrink
I didn't see any messages concerning telnet in /var/log/messages.

the ipchain -L command presented this to me;
23
REJECT tcp -y---- anywhere anywhere any -> nfs
REJECT upd ------ anywhere anywhere any 0:10
Here is the link for reconfiging the firewall:

http://www.redhat.com/docs/manuals/l...omelokkit.html
 
Old 07-12-2002, 10:26 PM   #7
nobu
Member
 
Registered: Jul 2002
Posts: 32

Rep: Reputation: 15
about telnet from linux to windows.
You have turn telnet service on windows.
if you have to windowsxp or 2000 , go to service and start telnet.
That shoud help.
about telnet from windows to linux, I am still struggling to do it.
 
Old 07-15-2002, 01:24 PM   #8
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks for the link on Basic Firewall Configuration. The documentation says to type gnome-lokkit at a shell prompt as root. I do this and get "gnome-lokkit: command not found". I do have X Window installed. I tried lokkit, which is the text-mode version of GNOME Lokkit. That worked. I made the necessary changes, saved the configuration and restarted ipchains. Still can't telnet. I finally gave up and performed a reinstall making sure that I allowed a telnet session. Now it is working
BTW... I installed VNC (remote control software) to perform my admin tasks. For some reason some commands don't work under 'su' when I telnet in or work from the terminal. I don't have this problem with Mandrake 8.2
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:05 PM.

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