Re: Serial port redirector



I've downloaded sredird, compiled its source, and updated the services
file to listen at port 10002. The IP address for this machine is
192.168.1.111. However, from another machine in the network, I tried
to connect to 192.168.1.111 port 10002 and it failed to connect.

I took a look at the source code for sredird and no where in the code
it is trying to create a server socket. The socket handle it used was
STDIN_FILENO and STDOUT_FILENO. I can't find any info on these two
socket handles but I'll assume that they are some type of default
socket handles that are used for special purposes.

Has anyone successfully used sredird/msredird before that can offer a
helping hand? Thanks.


John Hasler wrote:
schao416 writes:
Is there a open source version of a serial port redirector available for
Linux?

toncho/~/ apt-cache show sredird
Package: sredird
Priority: optional
Section: comm
Installed-Size: 88
Maintainer: Russell Coker <russell@xxxxxxxxxxxx>
Architecture: i386
Version: 2.2.1-1.1
Depends: libc6 (>= 2.3.2.ds1-4)
Filename: pool/main/s/sredird/sredird_2.2.1-1.1_i386.deb
Size: 20292
MD5sum: 715f845943cfa84cc0be074cfc0f3314
SHA1: 25edb7b40a32c57d5705ab4bac15e4e5c8c9af35
SHA256: 1f006437532abdf10d7eccbf868edd8fecb0b3a6cc066d070559c417e4ca1aa4
Description: RFC 2217 compliant Telnet serial port redirector
Sredird is a serial port redirector that is compliant with the RFC 2217
"Telnet Com Port Control Option" protocol. This protocol lets you share a
serial port through the network.
Tag: role::sw:utility

--
John Hasler
john@xxxxxxxxxx
Dancing Horse Hill
Elmwood, WI USA

.



Relevant Pages

  • Re: Serial port redirector
    ... file to listen at port 10002. ... it is trying to create a server socket. ... like "pkill -HUP inetd" to send a HUP signal, ... The INSTALL or README file of sredird should have instructions on how to ...
    (comp.os.linux.misc)
  • Re: Problem with socket
    ... Be aware that those port numbers are part of the IANA-assigned range. ... socket operations on sockets for which there are no handles... ... The result of using comma lists is ... you have used the completely meaningless word "crash" to describe your ...
    (microsoft.public.vc.mfc)
  • RE: call is blocked in recvfrom() and no further proceedings in Win CE
    ... In windows CE, I'm able to send a request but I'm unable to receive it. ... Create another socket & bind with server IP address. ... > My program has to send request to service through port 5070(in this port only ...
    (microsoft.public.windowsce.embedded)
  • Re: ISA Event
    ... applying ISA SP1 resolved the issue. ... So it's worth asking - is this SBS ... > Web Proxy service failed to bind its socket to 192.168.4.9 port 443. ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]
    ... INADDR_ANY and a specific port. ... sendtoon a specific address and port on a socket that has been bound to ... bogus exit code) and adds a sleep after send failure. ... unless HZ is too small or the queue is too large. ...
    (freebsd-net)