From owner-freebsd-isp Wed Mar 4 05:44:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA05530 for freebsd-isp-outgoing; Wed, 4 Mar 1998 05:44:12 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from ady.warpnet.ro (ady.warpnet.ro [193.230.201.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA05430; Wed, 4 Mar 1998 05:43:08 -0800 (PST) (envelope-from ady@warpnet.ro) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.8.8/8.8.8) with SMTP id PAA10812; Wed, 4 Mar 1998 15:41:36 +0200 (EET) (envelope-from ady@warpnet.ro) Date: Wed, 4 Mar 1998 15:41:36 +0200 (EET) From: Penisoara Adrian To: THIERRY.HERBELOT@telspace.alcatel.fr cc: freebsd-isp@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: mgetty and iij-ppp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, On Wed, 4 Mar 1998 THIERRY.HERBELOT@telspace.alcatel.fr wrote: > I've got a problem : the initial connection (from a W**-95 client) is > done all right (I can ping an machine from the client through the > Ethernet I/F of my FreeBSD machine), but ppp does not stop after the > end of the connection. Thus, mgetty is never awakened, and I can't > make another connection from the client to the FreeBSD server (because > ppp does not know how to answer the modem call). Thats *exactly* the problem I had when I reinstalled a server with 2.2.5-RELEASE ! Background: I had one server with 3.0-971117-SNAP installed on it; mgetty + user PPP worked very well in this situation. Then I had to reinstall the server (partitions were corrupted due to malfunctioning memory that has been installed later). Since this was a (probably unstable) SNAP I decided I should go for 2.2.5-RELEASE. After I have reinstalled everything, compiled mgetty taking care to insert "CFLAGS=-DAUTO_PPP" in the Makefile (shouldn't the packager patches be modified to do that ?), configured and rebooted the user ppp comported weird: Placing a call & connecting as well communication was OK, but when the uses hang up the PPP daemon wouldn't exit. > > Do I need to patch ppp, so that it "exit()s" when the ppp connection > is over or is there a newer version of ppp ? (or am I missing some > black magic in the configuration files ?) I have tried to manually patch the src/usr.sbin/ppp/main.c file based on the CVS log, but nothing changed. Thing is that 3.0-971117-SNAP has *NO* problem like that. And further more, the version of ppp in the 2.2.5-RELEASE seems to be far too old, many commands that appeared in the 3.0-current branch I couldn't find in the 2.2.5 branch... > > Thanks in advance > > TfH > > Work : thierry.herbelot@telspace.alcatel.fr > Home : thierry.herbelot@wanadoo.fr Ady (@warpnet.ro) Warp Net Technologies To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message