From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 05:57:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA176106566C for ; Thu, 26 Apr 2012 05:57:45 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 216F98FC0C for ; Thu, 26 Apr 2012 05:57:44 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 26030882 for freebsd-questions@freebsd.org; Thu, 26 Apr 2012 11:57:36 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id q3Q4vZuu037662 for ; Thu, 26 Apr 2012 11:57:36 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id q3Q4vZZD037659 for freebsd-questions@freebsd.org; Thu, 26 Apr 2012 11:57:35 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 26 Apr 2012 11:57:35 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20120426045735.GA37515@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: getty + cu, blocking mode, dialout X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2012 05:57:45 -0000 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