Date: Mon, 28 Jan 2002 17:24:58 +0300 From: Alexander Lunyov <soleizo_mailing@rambler.ru> To: freebsd-isp@freebsd.org Subject: modems with direct lines Message-ID: <44646912.20020128172458@rambler.ru>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44646912.20020128172458>
