Bluehost.com Web Hosting $6.95

How do I telnet from windows pc to linux ..

This is a discussion on How do I telnet from windows pc to linux .. within the Linux Networking forums, part of the Linux Forums category; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 qjohnny2000@gmail.com sent the following transmission through subspace: > What is the easiest ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 06-22-2007
Solbu
 
Posts: n/a
Default Re: How do I telnet from windows pc to linux ..

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

qjohnny2000@gmail.com sent the following transmission through subspace:

> What is the easiest way to set things up so I can telnet from my
> windows pc to the linux box ?
> Anybody know what steps have to be taken ?


Install the OpenSSH server, NOT a Telnet server.
Then download PuTTY in Windows and use that to login to Linux.

- --
Solbu - http://www.solbu.net
Remove 'ugyldig.' for email
PGP key ID: 0xFA687324
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFGexPzT1rWTfpocyQRAoAvAKDhW2b0GxMbw2BnZGpTSZ vUKB5BTgCgs9Zq
sS6sG43OSOujPf+Px/8mMXM=
=RubR
-----END PGP SIGNATURE-----
Reply With Quote
  #12 (permalink)  
Old 06-24-2007
steveandleyla@gmail.com
 
Posts: n/a
Default Re: How do I telnet from windows pc to linux ..

On Jun 20, 5:44 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
wrote:
> steveandle...@gmail.com wrote:
> > On Jun 20, 4:34 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
> > wrote:
> >> qjohnny2...@gmail.com wrote:
> >>> I'm looking for a bare bones network setup.
> >>> Right now I have two computers - one is using windows xp and one is
> >>> using linux ubuntu.
> >>> Both are able to use the internet by connecting to a linksys wrt54gs
> >>> router.
> >>> The linux box uses ethernet card and connects with cable to the
> >>> router, and the windows xp uses wireless card.
> >>> Right now the router uses automatic configuration DHCP.
> >>> What is the easiest way to set things up so I can telnet from my
> >>> windows pc
> >>> to the linux box ? Anybody know what steps have to be taken ?
> >> Install telnetd. But using telnetd is usually frowned upon because
> >> passwords travel unencrypted over the network; better to install
> >> openssh-server on it and login from your windows machine using an ssh
> >> client - "PuTTY" is a popular and zero cost windows ssh client.

>
> >>> I think I have to somehow give a static ip address to the linux box
> >>> but
> >>> am not sure how to do this.
> >> Pick an IP address for the Linux box out of range of the pool of IP
> >> addresses used my your router for dynamically allocated IP addresses but
> >> still within range of your local netmask; get the MAC address of your
> >> Linux box ("ifconfig eth0"), tell the DHCP server on the router to
> >> allocate your fixed IP address to that MAC address.

>
> >> Robert

>
> >>> Thanks.

>
> > I know my linux box is 192.168.1.100 - I try to telnet to it and get
> > connection refused.
> > I can ping it though.
> > I have the inet package installed.
> > For some reason ubuntu linux is not allowing port 23 to be open. I
> > don't know how to
> > open it.
> > As well "telnet localhost" fails on linux box fails with connection
> > refused...
> > I can't hope to get telnet working from pc if the linux box can't even
> > telnet to itself.

>
> > I will try to get static ip address but I have a feeling I will still
> > get connection refused.

>
> Again, the reason that connection is refused is because there is no
> process listening on the telnet port. Install telnetd ("apt-get install
> telnetd") and your connection will work.
>
> Robert


Okay everything is working now - I was away for on vacation and
when I got back got some linux packages and telnet works now.

To set up the static IP addresses - do I only do this on the OS
side of things or do I have to change the configuration of the router.

I heard somewhere you can just pick IP addresses below the
192.168.1.100 like 192.168.1.50 but I don't know if these are
entered on the linux side or the router side. The router is wireless
but there are 4 ethernet plugins in the back for wired connections..
do these correspond to specific ip addresses like
192.168.1.100, 192.168.1.101 etc. ?

Thanks.


Reply With Quote
  #13 (permalink)  
Old 06-24-2007
Robert Harris
 
Posts: n/a
Default Re: How do I telnet from windows pc to linux ..

steveandleyla@gmail.com wrote:
> On Jun 20, 5:44 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
> wrote:
>> steveandle...@gmail.com wrote:
>>> On Jun 20, 4:34 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
>>> wrote:
>>>> qjohnny2...@gmail.com wrote:
>>>>> I'm looking for a bare bones network setup.
>>>>> Right now I have two computers - one is using windows xp and one is
>>>>> using linux ubuntu.
>>>>> Both are able to use the internet by connecting to a linksys wrt54gs
>>>>> router.
>>>>> The linux box uses ethernet card and connects with cable to the
>>>>> router, and the windows xp uses wireless card.
>>>>> Right now the router uses automatic configuration DHCP.
>>>>> What is the easiest way to set things up so I can telnet from my
>>>>> windows pc
>>>>> to the linux box ? Anybody know what steps have to be taken ?
>>>> Install telnetd. But using telnetd is usually frowned upon because
>>>> passwords travel unencrypted over the network; better to install
>>>> openssh-server on it and login from your windows machine using an ssh
>>>> client - "PuTTY" is a popular and zero cost windows ssh client.
>>>>> I think I have to somehow give a static ip address to the linux box
>>>>> but
>>>>> am not sure how to do this.
>>>> Pick an IP address for the Linux box out of range of the pool of IP
>>>> addresses used my your router for dynamically allocated IP addresses but
>>>> still within range of your local netmask; get the MAC address of your
>>>> Linux box ("ifconfig eth0"), tell the DHCP server on the router to
>>>> allocate your fixed IP address to that MAC address.
>>>> Robert
>>>>> Thanks.
>>> I know my linux box is 192.168.1.100 - I try to telnet to it and get
>>> connection refused.
>>> I can ping it though.
>>> I have the inet package installed.
>>> For some reason ubuntu linux is not allowing port 23 to be open. I
>>> don't know how to
>>> open it.
>>> As well "telnet localhost" fails on linux box fails with connection
>>> refused...
>>> I can't hope to get telnet working from pc if the linux box can't even
>>> telnet to itself.
>>> I will try to get static ip address but I have a feeling I will still
>>> get connection refused.

>> Again, the reason that connection is refused is because there is no
>> process listening on the telnet port. Install telnetd ("apt-get install
>> telnetd") and your connection will work.
>>
>> Robert

>
> Okay everything is working now - I was away for on vacation and
> when I got back got some linux packages and telnet works now.
>
> To set up the static IP addresses - do I only do this on the OS
> side of things or do I have to change the configuration of the router.
>
> I heard somewhere you can just pick IP addresses below the
> 192.168.1.100 like 192.168.1.50 but I don't know if these are
> entered on the linux side or the router side. The router is wireless
> but there are 4 ethernet plugins in the back for wired connections..
> do these correspond to specific ip addresses like
> 192.168.1.100, 192.168.1.101 etc. ?
>
> Thanks.


No; the ethernet interfaces do not correspond to any particular IP
address. They really form a switch connected to the router.

I replied to the same question earlier - see the paragraph starting:
"Pick an IP address".

Actually you don't have to tell the router your IP address - it will
know about it as soon as you connect to the network but if it is going
to route packets to you, the IP address must be one within its netmask
(which is part of the router configuration).

Robert
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0