LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-08-2004, 08:56 AM   #1
dmalsbury
LQ Newbie
 
Registered: Jan 2004
Location: san antonio, tx
Distribution: slackware 9.1
Posts: 15

Rep: Reputation: 0
can ping but no telnet


i can ping all computers in local workgroup but can't telnet to linux 9.1 box
please help me, advise me?
thanx,
doug
 
Old 01-08-2004, 09:15 AM   #2
computergeek84
Member
 
Registered: Nov 2003
Location: /dev/null
Distribution: Gentoo, Ubuntu
Posts: 61

Rep: Reputation: 15
Is telnet even running? I think it runs in xinetd (not as a daemon)...but I would strongly advise against telnet - it's unencrypted, insecure, and easy to exploit. Use ssh as a better alternative.

You could try portscanning your linux box with nmap - see if port 23 is open (for telnet) or port 22 (for ssh).
 
Old 01-08-2004, 09:58 AM   #3
cdlen
Member
 
Registered: Oct 2003
Location: EU
Distribution: RH7.2 Mdk9.2
Posts: 39

Rep: Reputation: 15
Same here : don't use telnet , use ssh
You need several things in order for telnet/ssh to work
First the server must be running :
chkconfig --list |grep telnet
Then there is the 'protections'
if tcpd is running check the files :hosts.allow, host.deny
Then the firewall (ipchains, iptables):
you need to make a hole for the port used by telnet(ssh) . The ports are listed in /etc/services
All this on RH/Mdk ; each distro has its quirks. There is also graphical tools that help a lot at the beginning (like guarddog for the firewall)
 
Old 01-08-2004, 09:59 AM   #4
dmalsbury
LQ Newbie
 
Registered: Jan 2004
Location: san antonio, tx
Distribution: slackware 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
ssh not avail on windoze box:
"ssh 192.168.0.133" gives " 'ssh' is not recognized as internal or external command, operable program or batch file"

"telnet 192.168.0.133" gives "connecting to 192.168.0.133...could not open connection to the host, on port 23: connection failed"

i'm trying to connect from a "windoze xp box" to a "slackware 9.1 box"

Thanx again for your help,
doug

Last edited by dmalsbury; 01-08-2004 at 10:03 AM.
 
Old 01-08-2004, 10:47 AM   #5
cdlen
Member
 
Registered: Oct 2003
Location: EU
Distribution: RH7.2 Mdk9.2
Posts: 39

Rep: Reputation: 15
That's no Windoze world here : on Linux boxes everything network is shut closed by default (for obvious security reasons).
You could do worse than have a look at the net and networking-howtos but that's quite a steep learning curve.
It is better to stick to graphical tools as much as possible. I repeat :for firewalls guarddog is very easy to use (you need to install it yourself) or use the tool provided in the slackware distro.
But you still need to have the telnet (or ssh) server working on the Linux box. I don't know the slackware distro , on mine (RedHat or Mandrake) i have a graphical tool to start/stop services (in the system menu , SysV-Init Editor). You surely have something equivalent.
There is a slackware forum too..


Just google for a free ssh for the Win platform (PuTTY,..)
 
Old 01-08-2004, 10:50 AM   #6
computergeek84
Member
 
Registered: Nov 2003
Location: /dev/null
Distribution: Gentoo, Ubuntu
Posts: 61

Rep: Reputation: 15
ssh isn't built in to Windows. Use something like PuTTY for that...
 
Old 01-08-2004, 08:17 PM   #7
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
cdlen, I disagree with this:
"on Linux boxes everything network is shut closed by default"
There are several network servers turned on ut of the box" on several distros of linux. All distros are different, so I won't get into specifics, but one of the first things I do after an install is turn off all the stuff I won't use. I will agree that telnet is usually closed by default, however.
 
  


Reply



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
can ping but can't telnet to port 53 msweetnam Linux - Networking 4 01-26-2004 03:01 PM
PING but can't Telnet daveb93 Linux - Networking 4 09-26-2003 06:32 PM
Can ping but not telnet mmvaldez Linux - Networking 8 10-22-2001 02:22 PM
Can ping, but no telnet or ftp dblhack Linux - Networking 3 08-20-2001 06:12 AM
Can Ping but Can't Telnet ??? gedo Linux - Networking 6 03-19-2001 08:17 AM

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

All times are GMT -5. The time now is 03:10 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
Open Source Consulting | Domain Registration