Operating System - Linux
1829467 Members
1468 Online
109991 Solutions
New Discussion

Re: How do link a redhat 9 and win xp

 
SOLVED
Go to solution
Henry Chua
Super Advisor

How do link a redhat 9 and win xp

Hi,

I am having a linux redhat9 and a xp pro system linked together by a linksys router.. what can I do to telnet my linux from my Xp?

thank you for your answer!
7 REPLIES 7
Alexander Chuzhoy
Honored Contributor

Re: How do link a redhat 9 and win xp

first see if there's a connection.
Try to ping to linux from XP.
If it works-see if the telnet-server is installed on Linux:
rpm -q telnet-server
if this command gives you the version of the server package installed -then it's installed.
simply run chkconfig telnet on
and try to telnet again.
Remember that by default you can't connect as root via telnet.
Henry Chua
Super Advisor

Re: How do link a redhat 9 and win xp

Hi Alex,

Wat if I the rpm command give an error. does it means that telnet isnt installed.. how can i rectify that?

thanks!!
Alexander Chuzhoy
Honored Contributor

Re: How do link a redhat 9 and win xp

It depends of course on the error...

Check for the existence of the file /etc/xinetd.d/telnet
if it's there-the telnet is installed.
Otherwise you'll have to install it.
The command to install:
rpm -ivh telnet-server-0.17-25.i386.rpm


(if you install from the installation media of rehdat9).
Rick Garland
Honored Contributor

Re: How do link a redhat 9 and win xp

Define the default gateway route as well.

telnet protocol is not typically installed on Linux systems unless you specify. The ssh protocol is the standard.

On the XP, you can get putty to do the connection to port 22 of the Linux system.
Olivier Decorse
Respected Contributor

Re: How do link a redhat 9 and win xp

the first thing to do is to verify you link : just ping your linux server from your xp box, with :
ping

If it works, verify that telnetd is on your linux disk with :
cd / ; find . name "telnetd"

If telnetd is installed, but no connection is possible, it is certainely a security problem : i know that RH is a very secured linux system.

Olivier.
They say "install windows 2k, xp or better", so i install unix !
Ross Minkov
Esteemed Contributor

Re: How do link a redhat 9 and win xp


Henry,

When you built you red hat 9 system what did you answer on the question about the firewall. If you said yes, that's why telnet does not work. To check: iptables -L
To flush all rules: iptables -F
Now try again telnet.

And as someone else already said try PuTTY from Windows to connect to linux over ssh to port 22.

PuTTY is free:
http://www.chiark.greenend.org.uk/~sgtatham/putty/

btw, PuTTY can also be used for telnet.

HTH,
Ross
Johannes Krackowizer_1
Valued Contributor
Solution

Re: How do link a redhat 9 and win xp

hi,

you should use the ssh protocol instead of telnet because ssh is much more safer then telnet and you have not to change any configuration.

if you realy want to use telnet run "ntsysv" in this tool you can select the services which you want to run. if you find no telnet service in the list it is not installed. if you have selected the telnet service and clicked ok. you have to start telnet service (after a reboot telnet service will be automaticaly startet) if you don't want to reboot do:

cd /etc/rc.d/init.d
./xinetd restart

you can not login as root, unless you change the configuration, but you can login as normal user and "su" to get root rights.

But please use ssh service on linux and putty on windows, it's much more safe.
"First off, I'd suggest printing out a copy of the GNU coding standards, and NOT read it. Burn them, it's a great symbolic gesture." (Linus Torvalds)