Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 11:57:35 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Subject:   getty + cu, blocking mode, dialout
Message-ID:  <20120426045735.GA37515@admin.sibptus.tomsk.ru>

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

If there is a getty on /dev/ttyu0, should I be able to dialout from
the /dev/cuau0 device? I remember that several years ago a getty did
not interfere with dialout if you used a special dialout device, but
now it does not seem to be the case:

# cu -s 9600 -l /dev/cuau0
link down

# grep ttyu0 /etc/ttys
ttyu0   "/usr/libexec/getty ppp.57600"  dialup  on insecure
#
# grep -A4 ppp.57600 /etc/gettytab
ppp.57600:\
        :im=User Access Verification\n\n:\
        :pp=/etc/ppp/ppplogin:\
        :tc=std.57600:
#

I can only dialout after setting ttyu0 to off and "init q". It is all
happening on 8.2-RELEASE-p6 i386. There is an external modem attached
to the ttyu0 line.

Here is a ktrace of cu: http://zalil.ru/33111377

Thank you very much for any input.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



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