User avatar
Richard-TX
Posts: 1549
Joined: Tue May 28, 2013 3:24 pm
Location: North Texas

Transparent RS232 pipe

Sat May 10, 2014 2:05 pm

I need to create a transparent rs-232 connection from my pc to a remote device. I thought that the Rpi would be a good solution.

I need to connect the serial port on the PC to a Rpi which then connects to a remote Rpi over wifi and then out the remote Rpi's serial port. This needs to act like a piece of wire from end to end.

Here is a simple diagram

PC -> rs232 -> Rpi-> WIFI -> Rpi -> rs232 -> remote device

Any ideas on how I can accomplish this?

Thanks

Richard
Richard
Doing Unix since 1985.
The 9-25-2013 image of Wheezy can be found at:
http://downloads.raspberrypi.org/raspbian/images/raspbian-2013-09-27/2013-09-25-wheezy-raspbian.zip

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Transparent RS232 pipe

Sat May 10, 2014 2:14 pm

Netcat?

msperl
Posts: 344
Joined: Thu Sep 20, 2012 3:40 pm

Re: Transparent RS232 pipe

Sat May 10, 2014 2:23 pm

Sercd in conjunction with xinetd allows for a tcp-socket to get connected to a serial port. That should be mostly sufficient.

User avatar
elektrknight
Posts: 140
Joined: Sat Mar 02, 2013 1:25 pm

Re: Transparent RS232 pipe

Sat May 10, 2014 2:35 pm

Hi,

Serial port to network proxy aka ser2net http://sourceforge.net/projects/ser2net/
See this page "Raspberry Pi + ser2net = Cheap NM16A (Serial Console Server)" http://lesser-evil.com/2013/04/raspberr ... le-server/

Cheers,
elektrknight
Placek Malinowy to jest to!

User avatar
elektrknight
Posts: 140
Joined: Sat Mar 02, 2013 1:25 pm

Re: Transparent RS232 pipe

Sat May 10, 2014 2:38 pm

Hi,

And one more: serialoverip - "Serial Over IP" http://sourceforge.net/projects/serialoverip/
Just found it so no idea how well it works.

Cheers,
elektrknight
Placek Malinowy to jest to!

klricks
Posts: 6489
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Transparent RS232 pipe

Sun May 11, 2014 2:25 pm

+1 ser2net
I have detailed setup instructions here:
http://home.budget.net/~klricks/Comp/RPi/Serial.html
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

Return to “Interfacing (DSI, CSI, I2C, etc.)”