LinuxQuestions.org
Visit Jeremy's Blog.
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 06-23-2003, 10:15 PM   #1
Ganeshmanus
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
Telnet Access


I would like to have Telnet Access to my Linux system from Windows XP but unable to do so. I have two PCs connected together with a cross CAT cable. The PCs are pinging each other.

What do I have to do on my Linux Redhat 8.0 system to be able to access it from windows XP.
 
Old 06-23-2003, 10:37 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Code:
su
/sbin/chkconfig --level 345 xinetd on
/sbin/chkconfig --level 345 telnet on
/sbin/service xinetd restart
You may also have to edit /etc/hosts.allow, /etc/hosts.deny, and change any firewall settings you may have.

Last edited by zmedico; 06-23-2003 at 10:39 PM.
 
Old 06-23-2003, 10:51 PM   #3
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
a note on telnet:


it's insecure and sends the username and password cross the network in plain text. The better alternative is ssh. If you box is connected to the internet, set up your firewall so that the only place telnet access is capable is between the 2 boxes and not over the internet.
 
Old 06-25-2003, 10:59 AM   #4
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("jessie", "squeeze"), Linux Mint (Serena), XUbuntu
Posts: 219

Rep: Reputation: 24
Hey -- I like the low level response you got from zmedico ... I'll use that myself! If you want to do it with a GUI, you need to go to the System control panel and find the Service configurator. (From command line, this is /usr/bin/serviceconf &). Once in service configurator, you will see wuftpd and telnetd, turn those on for telnet and ftp access. Then you can do both from your Windows machine. This is exactly what I do. Very useful. The fact that you installed the RedHat server package only means the services are there, not that they were turned on!
 
Old 07-13-2003, 01:46 PM   #5
ashesh
Member
 
Registered: Feb 2003
Location: Kharagpur
Distribution: RH8, RH9, FC2
Posts: 112

Rep: Reputation: 15
[guest@rcc4 guest]$ su
Password:
[root@rcc4 guest]# /sbin/chkconfig --level 345 xinetd on
[root@rcc4 guest]# /sbin/chkconfig --level 345 telnet on
error reading information on service telnet: No such file or directory
[root@rcc4 guest]# /usr/bin/serviceconf &
[1] 4891
[root@rcc4 guest]#


Somehow telnet and ftp don't appear in /etc/xinetd.d/

So I am not able to enable these 2... as of now I am just able to ftp/telnet from RH9.0 to any other system, but not able to ftp/telnet from windows or anyother system...
 
Old 07-14-2003, 11:23 AM   #6
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
The vsftpd package, which is part of the RH 9.0 distribution, does not use xinetd. You would do this instead:
Quote:
/sbin/chkconfig --level 345 vsftpd on
/sbin/service vsftpd start
Is the telnet-server package installed? Check with "rpm -q telnet-server".

Last edited by zmedico; 07-14-2003 at 11:25 AM.
 
Old 07-14-2003, 11:18 PM   #7
ashesh
Member
 
Registered: Feb 2003
Location: Kharagpur
Distribution: RH8, RH9, FC2
Posts: 112

Rep: Reputation: 15
[root@rcc4 guest]# rpm -qa|grep telnet-server
telnet-server-0.17-25
[root@rcc4 guest]# rpm -qa|grep ftp
lftp-2.6.3-3
ftp-0.17-17
gftp-2.0.14-2
vsftpd-1.1.3-8
ncftp-3.1.5-4
[root@rcc4 guest]#


Yet, telnet doesn't work... I have also tried after doing the following, but still things aren't fine

su
/sbin/chkconfig --level 345 xinetd on
/sbin/chkconfig --level 345 telnet on
/sbin/service xinetd restart
 
Old 07-15-2003, 06:46 PM   #8
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
/etc/xinetd.d/telnet is part of the telnet-server package, if that doesn't exist you should install the package again. To check if the telnet-server installation has been corrupted you can do "rpm --verify telnet-server".
 
Old 07-29-2003, 09:58 PM   #9
stonegold84
Member
 
Registered: Jul 2003
Location: singapore
Distribution: none
Posts: 53

Rep: Reputation: 15
ho guyzzzzzz,,


i have the same problem.... the telnet package is not installed...

can any 1 tell me how to install this package???? where will the package be????
 
Old 07-30-2003, 10:35 AM   #10
deft0nes12
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: slackware, suse
Posts: 14

Rep: Reputation: 0
what format do u have to use to put an entry in the hosts.allow and hosts.deny files? just IP or what?
 
Old 07-30-2003, 11:19 AM   #11
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by stonegold84
can any 1 tell me how to install this package???? where will the package be????
On rpm based distro run "rpm -ivh telnet-server*.rpm". The rpm is available on one of the install cds and you can find it with http://rpmfind.net

Quote:
Originally posted by deft0nes12
what format do u have to use to put an entry in the hosts.allow and hosts.deny files? just IP or what?
"ALL: ALL" matches everything, see "man hosts_access" for details.
 
Old 07-31-2003, 03:40 PM   #12
HL-Hosting
LQ Newbie
 
Registered: Jul 2003
Location: New York City
Posts: 3

Rep: Reputation: 0
Hi,
I am trying to restart my Linux machine from Telnet. I can connect to it but i just don't know the command. Help?

Thank You,
Roman
 
Old 07-31-2003, 07:14 PM   #13
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Welcome to LinuxQuestions.org,

The command is called "shutdown", see "man shutdown".
 
Old 08-01-2003, 08:19 AM   #14
HL-Hosting
LQ Newbie
 
Registered: Jul 2003
Location: New York City
Posts: 3

Rep: Reputation: 0
Quote:
Originally posted by zmedico
Welcome to LinuxQuestions.org,

The command is called "shutdown", see "man shutdown".
lol yeah thanks haha but man i said restart lol
 
Old 08-01-2003, 12:59 PM   #15
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
use "shudown -r", or see "man reboot".
 
  


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
root access via telnet Goma_2 Linux - Security 9 02-09-2004 06:43 AM
root access in telnet dcorwin822 Linux - Software 12 11-06-2003 06:22 PM
root access via telnet Goma_2 Linux - General 3 10-03-2003 08:13 AM
Telnet access to RedHat 7.1 AtulGore Linux - Security 10 11-13-2001 03:34 AM
Telnet Access Restriction mocha Linux - Networking 1 09-16-2001 01:17 PM

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

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