Networking Forums

Networking Forums > Computer Networking > Linux Networking > How do I telnet from windows pc to linux ..

Reply
Thread Tools Display Modes

How do I telnet from windows pc to linux ..

 
 
qjohnny2000@gmail.com
Guest
Posts: n/a

 
      06-20-2007, 08:16 PM
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 ?

I think I have to somehow give a static ip address to the linux box
but
am not sure how to do this.

Thanks.

 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      06-20-2007, 08:34 PM
(E-Mail Removed) 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.
>

 
Reply With Quote
 
Larry Finger
Guest
Posts: n/a

 
      06-20-2007, 08:56 PM
Robert Harris wrote:
> (E-Mail Removed) 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.


I do not think the WRT54GS will allow assignment based on MAC address as long as you use the
standard firmware. My WRT54G does not. However, once an IP address has been assigned by the WRT54GS,
it will continue assigning the same one to that hardware (MAC) address. Once you have connected and
get the address from ifconfig, it effectively becomes a static address without having to jump
through the hoops of getting all the parts needed.

Larry
 
Reply With Quote
 
steveandleyla@gmail.com
Guest
Posts: n/a

 
      06-20-2007, 09:20 PM
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.




 
Reply With Quote
 
Robert Harris
Guest
Posts: n/a

 
      06-20-2007, 09:44 PM
(E-Mail Removed) 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

 
Reply With Quote
 
Larry Finger
Guest
Posts: n/a

 
      06-21-2007, 02:29 AM
Robert Harris wrote:
> (E-Mail Removed) wrote:
>> 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.


You probably will have to set up /etc/hosts.allow as well.

Larry
 
Reply With Quote
 
Mark Hobley
Guest
Posts: n/a

 
      06-21-2007, 03:08 AM
Robert Harris <(E-Mail Removed)> wrote:

> Install telnetd. But using telnetd is usually frowned upon because
> passwords travel unencrypted over the network


Telnet is fine for a home or small private network, where there is not a
danger from internal espionage.

I use telnet here. Just install telnetd.

Most Microsoft Windows based systems provide a telnet client with the exception of
Windows Vista.

I have some notes on configuring a static IP address here:

http://markhobley.yi.org/linux/howto...icaddress.html

Regards,

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/

 
Reply With Quote
 
Rikishi 42
Guest
Posts: n/a

 
      06-21-2007, 03:09 PM
On 2007-06-20, Robert Harris <(E-Mail Removed)> wrote:
>> 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.


It's been mensioned elsewhere, but the better solution is to get PuTTY for
Windows of the net. No installation required.

The ssh protocol will probably allreay be active on the Linux side.

If it can be avoided, you shouldn't use telnet anymore.

--
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
 
Reply With Quote
 
Rikishi 42
Guest
Posts: n/a

 
      06-21-2007, 03:11 PM
On 2007-06-21, Mark Hobley <(E-Mail Removed)> wrote:
>> Install telnetd. But using telnetd is usually frowned upon because
>> passwords travel unencrypted over the network

>
> Telnet is fine for a home or small private network, where there is not a
> danger from internal espionage.
>
> I use telnet here. Just install telnetd.
>
> Most Microsoft Windows based systems provide a telnet client with the exception of
> Windows Vista.


Another reason not to use it. Just use Putty.


> I have some notes on configuring a static IP address here:
>
> http://markhobley.yi.org/linux/howto...icaddress.html


If he's going to use telnet, fine. His choice.
But what does a static IP address to do with it?



--
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
 
Reply With Quote
 
Michael Fierro
Guest
Posts: n/a

 
      06-21-2007, 06:41 PM
On 2007-06-21, Mark Hobley <(E-Mail Removed)> rambled on thusly:

> Telnet is fine for a home or small private network, where there is not a
> danger from internal espionage.


> I use telnet here. Just install telnetd.


SSH is so much cooler, though, allowing compression and port forwarding. I
won't let telnetd near any of my machines, especially since ssh clients are
so easy to find for any OS. I even have an ssh client for my Palm TX!

--
Michael Fierro (aka Biffster) (E-Mail Removed)
http://apt-get.biffster.org Y!: miguelito_fierro AIM: mfierro1
--
"There's nary a canine alive that can outrun a greased Scotsman!"
--Groundskeeper Willie
 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem accessing Linux Server using Telnet from Windows 2000, though PING is working properly from both sides Sameer Linux Networking 2 04-17-2006 03:08 PM
Delays in Telnet to Linux Box D Linux Networking 4 12-13-2004 07:02 PM
Telnet from Windows XP into RH Linux through VPN Linda Lee Linux Networking 2 11-28-2003 11:25 PM
win98 and telnet into linux box tom Linux Networking 13 11-08-2003 11:50 PM
Telnet to linux Tracy Linux Networking 4 07-17-2003 10:57 AM



1 2 3 4 5 6 7 8 9 10 11