home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Linux and Unix
Ask a Tech Support Question (free)!

Linux serial relay

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2182
Discussions: 200,919, Posts: 2,379,034, Members: 246,286
Old June 5th, 2005, 01:59 AM   Digg it!   #1 (permalink)
Member
 
Join Date: Jun 2005
Posts: 50
Linux serial relay

I have this fictional scenario that I may try to play out to see if it works.

I want to relay a serial port from location A to location B.

Location A has a device that you would hook a terminal up to via serial port (IE: a smart switch that you would hook to your computer and use a terminal emulator to administer it).

Location B has a dumb terminal.

Using 2 Linux computers (1 at each end), I want to be able to administer that switch through the dumb terminal just as I had it hooked directly to the switch.

For the purposes of this discussion, assume that the systems can freely communicate via TCP/IP (such as over a VPN). Using a dumb terminal in Linux to ssh to the other linux box and then minicom to the serial port is not an option.

Basically, anything sent IN the serial port at Location A must come OUT the serial port at location B UNMODIFIED.

For now, there is no real practical situation I have in mind. It is more-or-less to broaden my knowlege of linux a little bit.

Would be cool if I had a computer here in the US that had a serial-serial connection to a linux PC, and dialed out on a 9600 baud modem in australia, as if it were directly connected to the american PC. Fairly pointless, but cool none the less.
dmcmorris is offline   Reply With Quote
Old June 5th, 2005, 01:11 PM     #2 (permalink)
Junior Member
 
Join Date: Jul 2003
Location: Vulcan, MI
Posts: 22
Send a message via AIM to lnxmatt Send a message via MSN to lnxmatt
This isn't exactly a linux based solution but I've setup a similar system. I purchased two RS-232 serial-to-ethernet adapters (small device with DB-9 serial on one side, and RJ45 ethernet on the other) for remote monitoring of a serial device. I had a router onsite configured with a VPN tunnel back to our main office where I had my monitoring workstation. I connected one of the adapters to my serial device and the other to my workstation at the main office, configured them for "tunnel" mode, and through TCP/IP all the serial data was transfered from the remote site to the main office workstation. This solution worked really well and is still working today for monitoring and configuration of said serial device.
lnxmatt is offline   Reply With Quote
Old June 7th, 2005, 02:34 AM     #3 (permalink)
Member
 
Join Date: Jun 2005
Posts: 50
I've seen those! They seem pretty cool. Thing is, I have a surplus of computers. If I was able to use them as a serial relay, I thought it would be kind of cool. No practical use comes to mind right off... Perhaps using a dumb-terminal to monitor a remote switch that coninuously had the status dumped on the screen... or (again using a dumb-terminal) monitoring the KSU of a switchboard...

Although, in both of these scenarios, it would usually be acceptable to use a linux system to host the dumb terminal, SSH'ing to the remote system, and using MiniCom to use the serial port. I just wanted to know how to do the above more for my knowlege... even if it won't ever be used in a production environment...
dmcmorris is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone hear of an "N" relay plate? optinox Networking and Internet 3 April 20th, 2005 03:43 PM
Relay mail to non-standard port? willy_ph Networking and Internet 2 February 18th, 2004 06:10 PM
Frame relay IDSN MDF, look in Pamlor Networking and Internet 1 April 1st, 2003 12:48 PM
Serial Port name -- Linux novadragoon Applications and Operating Systems 2 March 23rd, 2003 10:48 PM
Exchange relay not working herura Technical Support 1 March 19th, 2003 01:01 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2842)
Why is Khalid Sheikh Mohammed even .. (9)
Obama the Muslim (9)
Is the PSU I received dead? (10)
windows vista security holes (7)
Install XP pro and a Vista laptop ?.. (9)
HIS HD5770 graphic card question (15)
Foreign voltage (8)
A good PSU? (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Print spooler problem (10)
New Computer wont recognize XP disc (7)
Ideal cheap graph card for PC-Gamin.. (15)
EVGA 9800 gtx help with finding a g.. (8)
Recent Discussions
Browsers wont load websites (2)
Virus Doctor Popup? (1)
Help getting around port 80 for camer.. (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (31)
Foreign voltage (8)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
windows vista security holes (7)
Install XP pro and a Vista laptop ?? (9)
EVGA 9800 gtx help with finding a goo.. (8)
Modern Warfare For the PC (32)
Problem with speed step/turbo boost? (1)
monitor will not turn on at all, (0)
Modern Warfare 2: Who Bought It? (61)
World's largest Monopoly Game using G.. (330)
Print spooler problem (10)
SIS 740 and Widescreen (8)
Baffling Problem with my CPU/MoBo's. .. (0)
Display shows 3x5 inch in middle of s.. (0)
HIS HD5770 graphic card question (15)
Best file format to play on Windows H.. (0)
PSP Go bought in Japan (0)
Asus P4G8X Mobo (3)
Need hard disk drivers (4)
windows 7 internet problem (4)
What OS for a home server? (other tha.. (1)


All times are GMT -4. The time now is 04:54 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28