From owner-freebsd-isp Mon Jan 28 6:29:16 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mail6.rambler.ru (mail6.rambler.ru [217.73.192.115]) by hub.freebsd.org (Postfix) with SMTP id 94BCA37B402 for ; Mon, 28 Jan 2002 06:29:09 -0800 (PST) Received: from 62.64.18.231 by rambler.ru with SMTP id AA11079 for freebsd-isp@freebsd.org; Mon, 28 Jan 2002 17:23:15 +0300 (MSK) Date: Mon, 28 Jan 2002 17:24:58 +0300 From: Alexander Lunyov X-Mailer: The Bat! (v1.44) Reply-To: Alexander Lunyov X-Priority: 3 (Normal) Message-ID: <44646912.20020128172458@rambler.ru> To: freebsd-isp@freebsd.org Subject: modems with direct lines Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello All, So, the fabule: inside of our factory there is a little modem pool, we have 4 modems with direct lines (and 10 with commutable lines). With the last ones everything is clear - mgetty. Is there some way to put direct lines on mgetty? For now situation on direct lines is that: sol# cat /etc/ttys [skip] ttyR01 "/usr/sbin/pppd 57600" dialup on insecure .... ttyR04 "/usr/sbin/pppd 57600" dialup on insecure [skip] sol# cat /etc/ppp/options.ttyR01 lock modem nodetach noauth nodefaultroute passive crtscts noproxyarp debug 9 connect '/usr/bin/chat "" at OK atx3 OK ata CONNECT' 192.168.33.23:192.168.89.41 netmask 255.255.255.255 domain sol.myserv.ru dns1 195.0.0.0 sol# 195.0.0.0 - IP of my ISP. I tried to put in /etc/ttys ttyR01 "/usr/local/sbin/mgetty -r" dialup on insecure but modem just sitting and waiting for something. How to force him to hangup? Here is /var/log/mgetty.ttyR01 01/28 16:28:55 R02 mgetty: experimental test release 1.1.22-Aug17 01/28 16:28:55 R02 check for lockfiles 01/28 16:28:55 R02 locking the line 01/28 16:28:58 R02 lowering DTR to reset Modem 01/28 16:28:58 R02 tcsetattr failed: Invalid argument 01/28 16:28:59 R02 waiting... Is there any ideas? -- Best regards, Alexander mailto:soleizo_mailng@rambler.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message