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 10-01-2004, 12:15 PM   #1
kt8993
Member
 
Registered: Sep 2004
Posts: 34

Rep: Reputation: 15
Can't connect to Telnet server on Mandrake 10


I have installed and enabled Telnet server on Mandrake 10 on VMware4. When I try to telnet from a Windows machine, it tried for a while and died. When I tried to Telnet from a Cisco Router, it says Connection Closed by Foreign host.

I did a netstat and see the following.

It looks like my Windows telnet client reaches the Linux machine. For some reason, the Linux server is waiting for someting. -- tcp 0 0 computername:telnet w2wz3n9v
01.txpln.u:2548 TIME_WAIT

Active Internet connections (servers and established
)
Proto Recv-Q Send-Q Local Address Foreign
Address State
tcp 0 0 localhost:32768 *:*
LISTEN
tcp 0 0 *:sunrpc *:*
LISTEN
tcp 0 0 *:x11 *:*
LISTEN
tcp 0 0 *:telnet *:*
LISTEN
tcp 0 0 computername:telnet w2wz3n9v
01.txpln.u:2548 TIME_WAIT
tcp 0 0 *:ssh *:*
LISTEN
udp 0 0 *:bootpc *:*

udp 0 0 *:sunrpc *:*
 
Old 10-02-2004, 02:18 PM   #2
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 313

Rep: Reputation: 40
telnet

This sounds like you need to place the IP address and system name of the Windows system in the Linux systems /etc/hosts file

a typical /etc/hosts file will have something like:

127.0.0.1 localhost
192.168.1.10 xbert
192.168.1.27 dilbert
192.168.1.53 catbert

the first two lines should be to ID the linux system that this file is on
the next lines will be the IP address of units you want to connect to it and their names
 
Old 10-03-2004, 03:25 PM   #3
kt8993
Member
 
Registered: Sep 2004
Posts: 34

Original Poster
Rep: Reputation: 15
I've found and fixed the problem. Looks like if I set the "Level and Checks" to Higher, It will prevent me from accessing the Linux services, including Telnet and VNC, even though I have configure the firewall to allow all the services.

Weird. Anybody have any thought on this issue?

Thanks.

Kim
 
  


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
Unable to connect to server using hostname with telnet and browser Schlumpf42 Linux - Networking 7 07-12-2021 02:13 PM
Setting up telnet server in mandrake meteoric Linux - Networking 4 08-27-2005 09:32 PM
How do I connect from Mandrake 10 to Windows Server 2003? Mandrake10Guy Linux - Networking 1 10-25-2004 12:01 PM
How do I connect from Windows Server 2003 to Mandrake 10? Mandrake10Guy Linux - Newbie 1 10-24-2004 11:23 AM
Mandrake Server,Cant FTP & cant connect on LAN Velocide Mandriva 2 04-22-2004 05:30 AM

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

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