getty + cu, blocking mode, dialout

Victor Sudakov vas at mpeks.tomsk.su
Thu Apr 26 05:57:45 UTC 2012


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 at sibptus.tomsk.ru


More information about the freebsd-questions mailing list