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: 1802
Discussions: 200,510, Posts: 2,374,413, Members: 245,833
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? (1635)
FT HOOD attack: 7 killed 12 injured (67)
Review My Build (6)
HELP!!! What do you think of this s.. (16)
Looking for a graphic card that wil.. (30)
Assosiations (21496)
My 1st pc build (40)
PC Modern Warfare 2: it's much wors.. (12)
Aero in Vista (7)
core i7 extreme 975, nvidia 9400gt (9)
How to Ship a PC (16)
Building my first computer (13)
[F@H SPAM 11/1/09]New month . . . n.. (33)
slaving laptop drive (7)
Recent Discussions
windows 7 retail and rtm (4)
boot from CD-ROM in chipset via P4M80.. (2)
Powe Director v8 (0)
Windows Experience Index is screwed u.. (3)
Review My Build (6)
FAT32 to NTFS file system in Win2kpro (4)
Internet very slow since updating AVG.. (8)
Motherboards and my curse... (25)
HELP!!! What do you think of this sys.. (16)
New Processor, Monitor will not turn .. (2)
2009 Build (4)
My 1st pc build (40)
Freezing During Music/Movies (1)
ext. sound card laptop to stereo syst.. (2)
Remote Desktop via SSH and error mess.. (2)
Help and Support disappeared from my .. (0)
[F@H SPAM 11/1/09]New month . . . new.. (33)
Basic applications needed for "r.. (1)
core i7 extreme 975, nvidia 9400gt (9)
hard drive problem (2)
Win7 TrustedInstaller Permissions (2)
Speed up Win 7 boot time a bit (1)
Hard Drive test program (2)
wireless westell versalink model 327w (1)
New build 10 second reboot cycle! Won.. (3)


All times are GMT -4. The time now is 08:48 AM.
TechIMO Copyright 2008 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