From owner-freebsd-questions Thu Aug 6 04:58:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA22014 for freebsd-questions-outgoing; Thu, 6 Aug 1998 04:58:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from siafu.iconnect.co.ke (siafu.iconnect.co.ke [208.208.120.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA21888 for ; Thu, 6 Aug 1998 04:57:57 -0700 (PDT) (envelope-from arb@iconnect.co.ke) Received: from arb by siafu.iconnect.co.ke with local (Exim 2.02 #1) id 0z4Ofr-0006uM-00 for freebsd-questions@freebsd.org; Thu, 6 Aug 1998 14:57:39 +0300 Message-ID: <19980806145738.B21363@iconnect.co.ke> Date: Thu, 6 Aug 1998 14:57:39 +0300 From: arb-freebsd@iconnect.co.ke To: freebsd-questions@FreeBSD.ORG Subject: modem does not hang up Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a FreeBSD 2.2.5 system attached to a 28.8 Multitech modem. I'm using this modem to both connect to my ISP, and I've also set it up to allow other people to dial into my FBSd system to send and receive mail. I have 2 problems: 1. I'm using mgetty to take incoming calls. So far so good. A user dials in, but then they cannot connect using PPP directly. The remote user is using windows 95. I worked around that by opening a post-dial terminal screen in win 95 and making the user type their username and password, and giving them a login shell like this: #!/bin/sh exec /usr/sbin/ppp -direct PAPServer This works fine. However, I had understood that with mgetty one could use PAP with passwdauth set in the ppp config. I made sure that the /AutoPPP/ section in mgetty's login.conf was set correctly. Any ideas? 2. This is a more serious problem: After one user has dialled-into my FBSD machine, when they disconnect from their end, the modem on my end does not hang-up. The carrier detect stays on all the time, and if I do a ps ax, I see the ppp -direct process still running. I have to kill the ppp process and then only does the modem hang-up. Any ideas? -- Anand To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message