I'm trying to use on Solaris box modem connected to Linux box via serial port.
Sharing is made from socat.
socat tcp-l:54321,reuseaddr,fork file:/dev/ttyXXX0,nonblock,waitlock=/var/run/ttyXXX0.lock
/usr/local/bin/socat -s pty,link=/dev/virtualmodem0,ignoreeof,raw,echo=0 tcp:192.168.56.2:54321
The problem is that, when I try to execute tip I get an error.
tip softwire tip: /dev/virtualmodem0: not a tty all ports busy
So how can I use port shared by socat with tip?