Hi,
Thanks for writing this. I'm trying to figure out how to use this software to connect the serial port from one machine to the serial port of another machine over a network, or at least this is my eventual goal. Right now I can't figure out how to get it to work just using the cyclades-serial-client-0.93 .
Here is what I have done so far.
I added the following line to my /etc/services
sredir 8000/tcp # serial port redirector
I used 8000 because 7000 was used for something else.
I'm using xinetd and here is my config file for that
# default: on # description: RFC 2217 compliant Telnet serial port redirector
service sredir { type = UNLISTED flags = REUSE socket_type = stream protocol = tcp wait = no user = root server = /usr/local/sbin/sercd server_args = 5 /dev/ttyS0 /var/lock/LCK..ttyS0 port = 8000 disable = no # Some versions of xinetd does not work with only_from=localhost # only_from = localhost }
I then try to start the cyclades client on the remote machine and get the following
./cyclades-ser-cli -x -m 1 -p 7999 /dev/ptypx 172.16.32.3 1 cyclades-ser-cli /dev/ptypx: NOTICE: Using /dev/pts/1 pseudo-tty cyclades-ser-cli /dev/ptypx: NOTICE: Using 172.16.32.3:8000 socket cyclades-ser-cli /dev/ptypx: WARNING: Can't initiate connection on a socket : Connection refused cyclades-ser-cli /dev/ptypx: WARNING: Trying again ... cyclades-ser-cli /dev/ptypx: WARNING: Can't initiate connection on a socket : Connection refused cyclades-ser-cli /dev/ptypx: ERR: signal 2 received ( 21, 0%, 0%, 0%)
What am I doing wrong?
Thank You,
-- Conn Clark
***************************************************************** Give a man a match and you heat him for a moment. Set him on fire and you'll heat him for life. *****************************************************************
Conn Clark Engineering Stooge clark@esteem.com Electronic Systems Technology Inc. www.esteem.com
Stock Ticker Symbol ELST