How do I telnet from windows pc to linux ..
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.
Re: How do I telnet from windows pc to linux ..
[email]qjohnny2000@gmail.com[/email] wrote:[color=blue]
> 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 ?[/color]
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.
[color=blue]
>
> I think I have to somehow give a static ip address to the linux box
> but
> am not sure how to do this.[/color]
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
[color=blue]
>
> Thanks.
>[/color]
Re: How do I telnet from windows pc to linux ..
Robert Harris wrote:[color=blue]
> [email]qjohnny2000@gmail.com[/email] wrote:[color=green]
>> 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 ?[/color]
>
> 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.
>[color=green]
>> I think I have to somehow give a static ip address to the linux box
>> but
>> am not sure how to do this.[/color]
>
> 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.[/color]
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
Re: How do I telnet from windows pc to linux ..
On Jun 20, 4:34 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
wrote:[color=blue]
> qjohnny2...@gmail.com wrote:[color=green]
> > I'm looking for a bare bones network setup.[/color]
>[color=green]
> > Right now I have two computers - one is using windows xp and one is
> > using linux ubuntu.[/color]
>[color=green]
> > 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.[/color]
>[color=green]
> > Right now the router uses automatic configuration DHCP.[/color]
>[color=green]
> > 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 ?[/color]
>
> 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.
>
>
>[color=green]
> > I think I have to somehow give a static ip address to the linux box
> > but
> > am not sure how to do this.[/color]
>
> 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
>
>
>[color=green]
> > Thanks.[/color][/color]
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.
Re: How do I telnet from windows pc to linux ..
[email]steveandleyla@gmail.com[/email] wrote:[color=blue]
> On Jun 20, 4:34 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
> wrote:[color=green]
>> qjohnny2...@gmail.com wrote:[color=darkred]
>>> 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 ?[/color]
>> 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.
>>
>>
>>[color=darkred]
>>> I think I have to somehow give a static ip address to the linux box
>>> but
>>> am not sure how to do this.[/color]
>> 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
>>
>>
>>[color=darkred]
>>> Thanks.[/color][/color]
>
> 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.[/color]
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
Re: How do I telnet from windows pc to linux ..
Robert Harris wrote:[color=blue]
> [email]steveandleyla@gmail.com[/email] wrote:[color=green]
>> 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.[/color]
>
> 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.[/color]
You probably will have to set up /etc/hosts.allow as well.
Larry
Re: How do I telnet from windows pc to linux ..
Robert Harris <robert.f.harris@blueyonder.co.uk> wrote:
[color=blue]
> Install telnetd. But using telnetd is usually frowned upon because
> passwords travel unencrypted over the network[/color]
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:
[url]http://markhobley.yi.org/linux/howto/network/staticaddress.html[/url]
Regards,
Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Email: markhobley at hotpop dot donottypethisbit com
[url]http://markhobley.yi.org/[/url]
Re: How do I telnet from windows pc to linux ..
On 2007-06-20, Robert Harris <robert.f.harris@blueyonder.co.uk> wrote:[color=blue][color=green]
>> I will try to get static ip address but I have a feeling I will still
>> get connection refused.[/color]
>
> 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.[/color]
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
Re: How do I telnet from windows pc to linux ..
On 2007-06-21, Mark Hobley <markhobley@hotpop.deletethisbit.com> wrote:[color=blue][color=green]
>> Install telnetd. But using telnetd is usually frowned upon because
>> passwords travel unencrypted over the network[/color]
>
> 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.[/color]
Another reason not to use it. Just use Putty.
[color=blue]
> I have some notes on configuring a static IP address here:
>
> [url]http://markhobley.yi.org/linux/howto/network/staticaddress.html[/url][/color]
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
Re: How do I telnet from windows pc to linux ..
On 2007-06-21, Mark Hobley <markhobley@hotpop.deletethisbit.com> rambled on thusly:
[color=blue]
> Telnet is fine for a home or small private network, where there is not a
> danger from internal espionage.[/color]
[color=blue]
> I use telnet here. Just install telnetd.[/color]
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) [email]biffster@NOSPAM-REALLYgmail.com[/email]
[url]http://apt-get.biffster.org[/url] Y!: miguelito_fierro AIM: mfierro1
--
"There's nary a canine alive that can outrun a greased Scotsman!"
--Groundskeeper Willie
Re: How do I telnet from windows pc to linux ..
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[email]qjohnny2000@gmail.com[/email] sent the following transmission through subspace:
[color=blue]
> 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 ?[/color]
Install the OpenSSH server, NOT a Telnet server.
Then download PuTTY in Windows and use that to login to Linux.
- --
Solbu - [url]http://www.solbu.net[/url]
Remove 'ugyldig.' for email
PGP key ID: 0xFA687324
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFGexPzT1rWTfpocyQRAoAvAKDhW2b0GxMbw2BnZGpTSZvUKB5BTgCgs9Zq
sS6sG43OSOujPf+Px/8mMXM=
=RubR
-----END PGP SIGNATURE-----
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:[color=blue]
> steveandle...@gmail.com wrote:[color=green]
> > On Jun 20, 4:34 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
> > wrote:[color=darkred]
> >> 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.[/color][/color]
>[color=green][color=darkred]
> >>> 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.[/color][/color]
>[color=green][color=darkred]
> >> Robert[/color][/color]
>[color=green][color=darkred]
> >>> Thanks.[/color][/color]
>[color=green]
> > 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.[/color]
>[color=green]
> > I will try to get static ip address but I have a feeling I will still
> > get connection refused.[/color]
>
> 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[/color]
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.
Re: How do I telnet from windows pc to linux ..
[email]steveandleyla@gmail.com[/email] wrote:[color=blue]
> On Jun 20, 5:44 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
> wrote:[color=green]
>> steveandle...@gmail.com wrote:[color=darkred]
>>> 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.[/color]
>> 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[/color]
>
> 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.[/color]
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