Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 1995 04:25:28 -0800 (PST)
From:      Morgan Davis <root@io.cts.com>
To:        hackers@FreeBSD.org
Subject:   Connecting a BBS to serial port?
Message-ID:  <199503171225.EAA14339@io.cts.com>

next in thread | raw e-mail | index | archive | help
Wanting a dialin line on my FreeBSD box (which already has a dialout
line for a dedicated PPP connection) I brainstormed an interesting
project.  But I'm not sure if it's feesible.  I'm asking you hackers
what you think.

I've been juggling this FreeBSD box and a BBS machine on two lines.
I'd like to move the BBS's line to a second modem I have on the
FreeBSD box, but still allow BBS callers to get to the BBS machine.  I
think I can do this by hooking up the BBS box to the FreeBSD box via a
serial cable to an available COM port.

After a caller logs in to the FreeBSD box with a special login name,
the interpreter would simply be cu, which would connect to the serial
port to wake up the BBS.  The BBS supports direct serial connections
which, in its 'getty' mode, simply watches for newlines, and then
prompts a caller for login and password codes.

In reading the cu manual, it doesn't appear to have a "raw" or
restricted mode -- and I'm afraid that a caller would be able to enter
tilde commands to cu.  The connection has to be transparent and
support 8 bit data so that file transfers would work.

Is there any existing solution to do this sort of thing, or would I
need to write my own variation of cu to make the port-to-port
connection?  The BBS at the other end is an Apple IIGS (running
software I've written), so performance isn't critical -- 19,200 is
just fine.

Comments?  Ideas?



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