Solved

Telnet to a Linux virtual machine

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

Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

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 …
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

615 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