Menu

Shared COM port to TCP - help

Help
sjs205
2011-11-13
2013-05-20
  • sjs205

    sjs205 - 2011-11-13

    Hello All,

    I hope somebody can help. I have a single COM port on a windows box that is connected to switch. I normally use this for accessing editing the configuration of said switch whilst not in the office.

    I have installed a number of of tools including com0com, com2tcp and hub4com. The following shows the ports I have set-up using com0com:

    command> list
           CNCA0 PortName=COM10,EmuBR=yes
           CNCB0 PortName=COM12,EmuBR=yes
           CNCA1 PortName=COM11,EmuBR=yes
           CNCB1 PortName=COM13,EmuBR=yes
    command>

    Now my goal is to set this up to allow me to connect to the box using telnet, and get output from COM1 with any input being returned to COM1… I hope that makes sense.

    Now, I am using the following command which allows me to login to the telnet session and shows output from COM1 but does not take any input from the telnet session to COM1 or any other port:

    hub4com -baud=115200 \\.\COM1 -baud=115200 \\.\COM11 -baud=115200 \\.\COM13 -route=ALL:ALL -create-filter=telnet -add-filters=All:telnet -use-driver=tcp *70704 *70705

    Does anybody have any ideas as to what I'm doing wrong? The reason I have two ports here is to allow at least 2 users to connect to the session at any-one time.

    Any help would be greatly appreciated.

    sjs205

    P.S. Excellent work! I love seeing open-source on Win :)

     
  • Imran

    Imran - 2011-11-28

    Here is Complete scenario. I
    want to Redirect my Serial Port (COM1) to the Remote PC. I just want that Physical Serial Port must be redirected to the Remote PC. I have Serial Mouse attached with COM1 and when i redirect my Serial Port i am unable to get this mouse installed on Remote PC.

    com2tcp-rfc2217 COM1 7000

    what i do on remote PC is
    com2tcp-rfc2217 \\.\CNCB0 host-hostname 7000

    How can it be done using Com0Com and Hub4com? Any help is highly appreciated. I used com2tcp, Com2tcp-esc, com2tcp-rfc2217, but nothing works the way it should.

    What can be the issue?

     

Log in to post a comment.