Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Telnet to a Linux virtual machine

Posted on 2007-04-11
4
Medium Priority
?
1,084 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

670 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