LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-27-2005, 08:38 PM   #1
meteoric
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
Setting up telnet server in mandrake


I plan to telnet into my linux (mandrake) box from my PC. but it says it couldn't open connection with port 23. When I check my linux services, I didn't see my telnet server is running.

How do I know if my telent server is installed, if so, how do I get to it?

Also, how do I set up a hostname for my linux box? When I ping this box, I can only use IP address.

Thank you.
 
Old 08-27-2005, 09:11 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
Well first of all, let me express to you that telnet is very insecure, anything passed over telnet is in plain text. I'd suggest using ssh instead.

And as for the hostname, you need to have some type of DNS record so your client host that your connecting from can translate Name to IP. If your using another Linux machine, you don't necessarily need DNS but just adding the host to /etc/hosts will do the job.

If your doing it from Windows, I forget the steps to add as I don't muck around with Windows. It's too hard to use in my opinion..
 
Old 08-27-2005, 09:15 PM   #3
meteoric
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
In my host file, I currently have this:
=======================
127.0.0.1 localhost
=======================

Do I append 127.0.0.1 to XYZ hostname?
 
Old 08-27-2005, 09:23 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally posted by meteoric
In my host file, I currently have this:
=======================
127.0.0.1 localhost
=======================

Do I append 127.0.0.1 to XYZ hostname?
No, 127.0.0.1 is your loopback address, you need to keep that. It's used locally on the machine.

You need to add a new line that is in the same format for example:

Code:
192.168.1.100     hostname.domain hostname
So let's say I have a machine with the IP address of 192.168.1.100 and the hostname with that IP is called goofy and the domain that the host is on is called disneyworld.com, my entry would look like this:

Code:
192.168.1.100     goofy.disneyworld.com goofy
If your not sure what domain your on, just make one up, it won't hurt anything.
 
Old 08-27-2005, 09:32 PM   #5
meteoric
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks much! I will try it out now.
 
  


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
Can't connect to Telnet server on Mandrake 10 kt8993 Linux - Networking 2 10-03-2004 03:25 PM
setting up dhcp server on mandrake nodine Linux - Networking 0 05-06-2004 01:21 PM
setting up a web server using mandrake 9.0 merlintx1969 Linux - Software 4 09-01-2003 12:18 AM
how to setting up a telnet server wincrk Linux - Networking 17 07-30-2003 04:11 PM
mandrake mnf setting up web server behind jhonsin Linux - Networking 4 05-21-2003 02:35 PM

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

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