Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 1996 17:02:45 +0200 (MET DST)
From:      hans@brandinnovators.com (Hans Zuidam)
To:        freebsd-hackers@freebsd.org
Subject:   SLIP and ptys
Message-ID:  <199609241502.RAA08319@truk.brandinnovators.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm experimenting with TCP/IP and for testing I thought of the
following setup:


     n-freebsd         +------+         n-test
    -----------o-------| push |-------o---------
     ttypa       ptypa +------+ ptypb   ttypb
      (s)         (m)            (m)     (s)

i.e. I use two pty's each configured as SLIP interfaces (slattach)
in the ttyp[ab] side.  On the pty[ab] side I have a simple process
which select()'s on both ptys for data and pushing it to the opposite
one.  This works with ping and telnet, but ftp is giving trouble.
After a while data stops flowing and nothing happens.  I would be
grateful for any ideas.

Regards,
				Hans

-- 
H. Zuidam                        E-Mail: hans@brandinnovators.com
Brand Innovators B.V.            P-Mail: P.O. Box 1377
de Pinckart 54                   5602 BJ Eindhoven, The Netherlands
5674 CC Nuenen                   Tel. +31 40 2631134, Fax. +31 40 2831138



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609241502.RAA08319>