Solved

Telnet to a Linux virtual machine

Posted on 2007-04-11
4
1,064 Views
Last Modified: 2013-12-16
VMware 5.5.3, Windows XP Pro, Fedora Core 6

I have set up a Fedora Core 6 vmware guest on a Windows host using vmware 5.5.3.

What I want to be able to do is start the linux guest and then be able to telnet to that linux guest from my windows machine.  I am a linux/vmware newbie and don't know all the things to do for networking.  I would like the vmware linux guest to have a static ip that does not change.  I also need to be able to access a website that is on this guest machine.

I didn't install any of the firewall or ESLinux stuff for tighet security.  I did try to telnet to localhost on the linux machine, and that connection was rejected.  

Can anyone give me some pointers or some "good" steps on how to do this.  If i have the wrong area, can someone point me to the correct area to post this to.
0
Comment
Question by:sbhegel
4 Comments
 

Expert Comment

by:ogbuagu1
ID: 18894195
What do these commands show you on Linux?

ifconfig -a

netstat -nr

Also do you have a telnet daemon service active on Linux?

Rgds
Gus
0
 
LVL 24

Accepted Solution

by:
slyong earned 500 total points
ID: 18894925
Hi,

Normally telnet is not used anymore but ssh which is a better option.  However, if you want to still use telnet, do this:

1) Install krb5-workstation (and other dependcies):
# yum install krb5-workstation

2) Enable krb5-telnet by editing /etc/xinetd.d/krb5-telnet and change the disable = yes to disable = no

3) Restart xinetd:
# service xinetd restart
0
 

Author Comment

by:sbhegel
ID: 18898149
Gus,

Here is the results of those 2 commands:

[root@localhost ~]# ifconfig -a | more
eth0      Link encap:Ethernet  HWaddr 00:0C:29:3A:DF:46  
          inet addr:192.168.0.126  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe3a:df46/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1806 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:566432 (553.1 KiB)  TX bytes:6931 (6.7 KiB)
          Interrupt:185 Base address:0x1400

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1295 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1295 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3363956 (3.2 MiB)  TX bytes:3363956 (3.2 MiB)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@localhost ~]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 eth0

Thanks,
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now