[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up a Serial Console



Sorry for taking so long to reply, I've been away.

My question wasn't referring to the usage of tty/cua, it was 
referencing the use of 'com0' in this example, as opposed 
to /dev/cua00.  Aren't they the same thing?

Thanks

kremlyn

> On Mon, 31 Dec 2001, Kremlyn Vostok wrote:
> 
> > My question doesn't relate to setting up a serial/dumb terminal at
> > boot, as such, but more specifically pertains to device naming; why
> > when setting up a serial connection such as the one discussed in 
> this> thread, do we use "set tty com0" in boot.conf, whereas when 
> configuring> an external serial modem for ppp, the device used is 
> cua00 ?  Are they
> > simply different names for the same device/port, used in different
> > contexts or am I on a different wavelength?
> 
> From the tty(4) man page:
> 
>     For hardware terminal ports, dial-out is supported through 
> matching de-
>     vice nodes called calling units.  For instance, the terminal 
> called     /dev/tty03 would have a matching calling unit called 
> /dev/cua03.
> So tty = teletype, cua = calling unit (Cool, I hadn't known that 
> before).
> And from /dev/MAKEDEV, the minor number is different.
> 
> ttyc*)
>    rm -f ttyc$unit cuac$unit
>    mknod ttyc$unit c 38 $unit
>    mknod cuac$unit c 38 $(( $unit + 128 ))
>    chown uucp.dialer ttyc$unit cuac$unit
>    chmod 660 ttyc$unit cuac$unit
>    ;;


---------------------------------------------------------------------
mBeeper offers automatic Log-in and message notification,
what more can you ask for? 
http://www.mbox.com.au/mbeeper