Solved

Telnet to a Linux virtual machine

Posted on 2007-04-11
4
1,059 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

16 Experts available now in Live!

Get 1:1 Help Now