Date: Wed, 19 May 2004 09:25:52 +0400 From: Andrew Karjagin <Andrew.Karjagin@newmail.ru> To: <ernie@spooky.eis.net.au>, <freebsd-net@freebsd.org> Subject: Re: mgetty ppp stallion problem Message-ID: <20040519052552.2821.qmail@flock1.newmail.ru> In-Reply-To: <200405182320.i4INKt2x019230@spooky.eis.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello User Ernie Add to your /etc/rc.serial -clocal parameter, for example ================================= # Modem init function modem { comcontrol ... d=shift a=shift for $i { stty < /dev/cua$ai$i crtscts -clocal 57600 stty < /dev/tty$di$i crtscts -clocal 57600 stty < /dev/cua$al$i crtscts stty < /dev/tty$dl$i crtscts } } modem d a 0 1 2 3 4 5 6 7 ... ================================= Ср, 19.05.2004 03:20:55 you wrote: > UE> Something I have been meaning to post about but kept forgetting. UE> UE> I have a FreeBSD 4.9-STABLE machine with a stallion card UE> stl0: <EC8/32-PCI> port 0x7400-0x7403,0x7800-0x7807,0x8000-0x8003,0x8400-0x8407 irq 11 at device 12.0 on pci0 UE> stl0: EC8/32-PCI (driver version 5.6.0b1) unit=0 nrpanels=1 nrports=16 UE> UE> UE> UE> It's acting as a modem server running mgetty+sendfax from the ports collection UE> MD5 (mgetty1.1.30-Dec16.tar.gz) = 4b80c418bc58add3e40de3be0ac6c02a UE> UE> mgetty is set to spawn off a user ppp session which it does quite well, but UE> every now and then when the caller hangs up the ppp session stays active so UE> the serail port is unusable. If I do a kill on the ppp session the ppp UE> process dies but the sertial port on the stallion card does not free up and UE> a reboot is required. UE> UE> The megetty.config is as follows: UE> UE> debug 6 UE> data-only YES UE> UE> speed 57600 UE> port-owner uucp UE> port-group network UE> port-mode 0666 UE> toggle-dtr YES UE> toggle-dtr-waittime 500 UE> direct NO UE> blocking NO UE> modem-type data UE> init-chat "" ATS0=0Q0&D3&C1 OK UE> modem-check-time 3600 UE> rings 2 UE> answer-chat "" ATA CONNECT \c \r UE> answer-chat-timeout 80 UE> autobauding NO UE> ringback NO UE> ringback-time 30 UE> ignore-carrier false UE> prompt-waittime 500 UE> login-prompt @!login: UE> login-time 240 UE> UE> It's almost as if ppp is not sending the right signal to release the serial UE> port back to mgetty. UE> UE> Any ideas? UE> UE> - Ernie. UE> UE> _______________________________________________ UE> freebsd-net@freebsd.org mailing list UE> http://lists.freebsd.org/mailman/listinfo/freebsd-net UE> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" UE> __________ UE> www.zakaz.orc.ru - доставка карт связи: ОРЦ (IP-телефония, доступ в Интернет, хостинг), МТС, БИ Плюс __________ www.newmail.ru -- узел свободных коммуникаций.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040519052552.2821.qmail>