LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-25-2007, 03:14 AM   #1
estratos
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 85

Rep: Reputation: 15
Remote serial port server


Hi,

I'm looking for a GPL solution that let me convert an embedded module with Ethernet and RS232 ports, running uClinux, into a remote (TCP) serial port. This module would be mainly used to connect a remote device to a Windows XP machine (via virtual com port). Thus, I need a GPL driver for Windows too.

Does anyone know of a similar solution?

Thanks in advance,

Daniel.
 
Old 01-25-2007, 01:54 PM   #2
estratos
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
mdmpoold + npcomm

All right, I've found a possible solution:

On the server side (device with the serial port to share) -> mdmpoold
On the client side (Windows machine using the remote serial port) -> npcomm

Has anyone tried this? I can't get the client to work on a Win XP PC.

Thanks,

Daniel.
 
Old 01-26-2007, 04:54 AM   #3
tovis
Member
 
Registered: Jan 2007
Location: Budapest
Distribution: Debian
Posts: 74

Rep: Reputation: 15
Be carefull! Is this real time? I've experienced many problems around communication through a lot of internal buffers! (not related to this realization, but using Lantronix, and several other industrial equipoment)
 
Old 01-27-2007, 02:06 AM   #4
estratos
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Hi Tovis,

No, it's not for real-time applications. It's for our opn-232 (www.opnode.org), a home automation controller.

Thanks,

Daniel.
 
Old 01-28-2007, 02:50 AM   #5
tovis
Member
 
Registered: Jan 2007
Location: Budapest
Distribution: Debian
Posts: 74

Rep: Reputation: 15
Sorry, I can not retrieve www.opnode.org ?!
Problems could arise not only in realtime context but, for example if you have not a real duplex communication, but half duplex. I meet situation when controlled equipment was half duplex, and when you send something at that time when it trying to send something it simple die! We putting reasonably large timouts bettween packets but because of the asynchronizm caused by buffers it is still dieing at least once a week. There are a lot of solutions for these kind of situation, but it was a third party equipment we can not change this behavior!
 
Old 01-29-2007, 04:56 AM   #6
estratos
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Hi Tovis,

The Ethernet port is full-duplex.

Daniel.
 
Old 01-30-2007, 03:00 AM   #7
tovis
Member
 
Registered: Jan 2007
Location: Budapest
Distribution: Debian
Posts: 74

Rep: Reputation: 15
I talk about serial port communication, not about ethernet! I'm try to describe that you can not fully control the communication flow, between PC-ethernet and serail driven automation equipment. It needs a special, well build protocoll, that's all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Serial Port to connect to server deathazre Linux - Networking 4 07-16-2006 10:15 PM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 08:07 PM
Asus Serial Port? Packard Bell Remote with LIRC Aeiri Linux - Hardware 0 05-30-2004 10:51 PM
PPP dial in server using Specilix Multiple Serial port In Linux 9.0 pawan Linux - Networking 0 09-17-2003 01:18 PM
how to create ppp server in RH 7.2 as small ISP thro serial port pentium5 Linux - General 5 07-06-2002 06:35 AM


All times are GMT -5. The time now is 11:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration