Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-05-2013, 05:19 PM
|
#1
|
Member
Registered: Dec 2007
Posts: 59
Rep:
|
Putty RAW mode connection
I am trying to use Putty to make simple point to point connection between two machines that I control. The idea is to debug and verify some basic networking stuff so I can do some fancier things later.
I wish to open a putty terminal on each machine and be able to type on one console and see my input on the other terminal. That's it. Should be easy. And I want it to happen over TCPIP. These machine are connected through a hub (not a gateway) and can ping one another , although they don't know each other's name.
I have gone into the firewall and opened port 1950 on both boxes.
On each box, I configured a putty connection as follows:
- RAW mode
- IP addy of other machine
- Port 1950
I fire up the connection at either end, type madly .. nothing. Eventually the connection times out and I drop.
I have accidentally connected to an active port (80) and seen junk on the screen, so I know that much is working.
I also have experience with Putty as an ssh client so I know basic putty moves.
Do I need two port numbers? What is going on?
RDeW
|
|
|
04-06-2013, 10:58 AM
|
#2
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
As I understand it, Putty is a TCP client application, and it expects to communicate with a server. Having two client applications to establish a TCP connection will never work. You connected to a server on port 80; almost certainly a web server. In order to communicate, you will need one host to run a server that listens for connections from a calling client.
--- rod.
|
|
|
04-06-2013, 01:27 PM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,813
|
In addition the netcat tool would be a better choice. It is available for both linux and windows.
|
|
|
All times are GMT -5. The time now is 07:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|