From owner-freebsd-net@FreeBSD.ORG Tue May 18 22:28:18 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 693C816A4CE for ; Tue, 18 May 2004 22:28:18 -0700 (PDT) Received: from flock1.newmail.ru (morda.newmail.ru [212.48.140.150]) by mx1.FreeBSD.org (Postfix) with SMTP id 1F62343D31 for ; Tue, 18 May 2004 22:28:17 -0700 (PDT) (envelope-from Andrew.Karjagin@newmail.ru) Received: (qmail 2826 invoked by alias); 19 May 2004 05:25:52 -0000 Message-ID: <20040519052552.2821.qmail@flock1.newmail.ru> From: Andrew Karjagin To: , X-Priority: 3 MIME-Version: 1.0 X-Mailer: DenMail v1.0 by ORC X-Uid: 689 X-RemoteIP: 81.89.64.105 Date: Wed, 19 May 2004 09:25:52 +0400 In-Reply-To: <200405182320.i4INKt2x019230@spooky.eis.net.au> X-DWM-In-Reply-To: <1084944352.2765.denwebmail-11923-INBOX@Andrew_Karjagin> Content-type: text/plain; charset="koi8-r" Subject: Re: mgetty ppp stallion problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 05:28:18 -0000 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: 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 -- узел свободных коммуникаций.