Solved

Telnet to a Linux virtual machine

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

803 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