The default configuration (in /etc/remote) for cua00 defines it
to be dialup, requiring a phone number. That phone number
is probably supposed to be defined in /etc/phones.

But for local non-modem connect you want to use "tip tty00" that
uses /dev/tty00, direct connect, no phone number.

I think /dev/tty00 and /dev/cua00 are the same serial port
(the first, known as COM1 in DOS), but there must be some
difference e.g which drivers are used. It might be just
historical name aliases.

Can someone clarify the difference between /dev/tty00 and /dev/cua00?



On Thu, Sep 13, 2007 at 09:02:57PM -0700, Darren Spruell wrote:
> For the scenario where you have two openbsd hosts, one connected to
> the second with a serial null modem cable, what is the right device to
> use when connecting using tip(1) from the first to a console on the
> second?
> 
> These suggest that cua is the right device to use:
> 
> http://www.openbsd.org/faq/faq8.html#TTY
> http://marc.info/?l=openbsd-misc&m=115868967631296&w=2
> http://marc.info/?l=openbsd-misc&m=118764543712174&w=2
> 
> But for me, using cua00 fails with "missing phone number" message
> while tty00 works:
> 
> molodetz$ tip -19200 tty00
> can't open log file /var/log/aculog.
> connected
> 
> OpenBSD/i386 (sinoptik.sancho2k.net) (tty00)
> 
> login: ~
> [EOT]
> 
> molodetz$ tip -19200 cua00
> can't open log file /var/log/aculog.
> missing phone number
> [EOT]
> 
> If cua00 is the right device to use when connecting out, why the
> missing phone number error?
> 
> DS

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to