From owner-freebsd-questions Wed May 27 00:28:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA22176 for freebsd-questions-outgoing; Wed, 27 May 1998 00:28:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alcatel.fr (mail.alcatel.fr [194.133.58.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA22118 for ; Wed, 27 May 1998 00:28:12 -0700 (PDT) (envelope-from THIERRY.HERBELOT@telspace.alcatel.fr) From: THIERRY.HERBELOT@telspace.alcatel.fr Received: from alcatel.fr (gatekeeper-ssn.alcatel.fr [155.132.180.244]) by mailgate.alcatel.fr (ALCANET/SMTP.9.9.9) with ESMTP id JAA07321; Wed, 27 May 1998 09:27:19 +0200 Received: from aifhs1.alcatel.fr (aifhs1.alcatel.fr [155.132.180.86]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id JAA11636; Wed, 27 May 1998 09:17:01 +0200 (MET DST) Received: from aifhs2.alcatel.fr (localhost [127.0.0.1]) by aifhs1.alcatel.fr (8.8.8/8.8.8) with ESMTP id JAA24289; Wed, 27 May 1998 09:20:48 +0200 (MET DST) Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id JAA11622; Wed, 27 May 1998 09:16:59 +0200 (MET DST) Received: from telss1 (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.7.6/8.7.3) with SMTP id JAA05894; Wed, 27 May 1998 09:26:31 +0200 (MET DST) Received: from telspace.alcatel.fr by telss1 (4.1/SMI-4.1) id AA22243; Wed, 27 May 98 09:16:04 +0200 Received: from localhost by telspace.alcatel.fr with SMTP (1.40.112.12/16.2) id AA087043152; Wed, 27 May 1998 09:12:32 +0200 X-Openmail-Hops: 1 Date: Wed, 27 May 98 09:12:23 +0200 Message-Id: In-Reply-To: <199805261811.SAA01124@jcegroup.com> Subject: =?ISO-8859-1?Q?R=E9p_:_PPP,_Mgetty,_Dialup_Question?= Mime-Version: 1.0 To: wayne@jcegroup.com Cc: freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset=ISO-8859-1; name="PPP," Content-Disposition: inline; filename="PPP," Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id AAA22130 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG it seems you have 2 ppp processes fighting for cuaa0 May 26 17:39:08 jcegroup ppp[936]: Link: myaddr = 203.14.100.1 hisaddr =203.14.100.20 May 26 17:39:08 jcegroup ppp[936]: Link: OsLinkup: 203.14.100.20 May 26 17:39:18 jcegroup ppp[59]: Phase: Modem /dev/cuaa0 is in use May 26 17:39:48 jcegroup last message repeated 5 times processes 59 and 936 BTW, have you installed the very latest version of user-PPP. I have had troubles with mgetty and the version of iij-pp included in the 2.2.5 Release TfH ____________________________ Séparateur Réponse ________________________________ Objet : PPP, Mgetty, Dialup Question Auteur : wayne@jcegroup.com Date : 26/05/98 20:11 I have a FreeBSD 2.2.5-RELEASE machine up and running, connected to a local ethernet of Win95 machines. With User PPP configured and working for dial on demand access to our ISP. I am now trying to get the BSD box to accept external dial-in's. I have a working copy of mgetty compiled and installed. It correctly detects a PPP request from the dialin client, and launches the PPP -direct program. The ppp program correctly authenticates the login using PAP, from the /etc/ppp/ppp.secret file. And the Win95 dialin client reports a successfully connection has been established. Here is an extract of the PPP log file:- May 26 17:39:05 jcegroup ppp[936]: Phase: Using interface: tun1 May 26 17:39:05 jcegroup ppp[936]: Phase: Listening at port 3001. May 26 17:39:05 jcegroup ppp[936]: Phase: PPP Started. May 26 17:39:05 jcegroup ppp[936]: Phase: Packet mode enabled May 26 17:39:06 jcegroup ppp[936]: Phase: *Connected! May 26 17:39:07 jcegroup ppp[936]: Phase: NewPhase: Authenticate May 26 17:39:07 jcegroup ppp[936]: Phase: his = 0, mine = c023 May 26 17:39:07 jcegroup ppp[936]: Phase: PapInput: REQUEST May 26 17:39:07 jcegroup ppp[936]: Phase: PapOutput: ACK May 26 17:39:07 jcegroup ppp[936]: Phase: NewPhase: Network May 26 17:39:08 jcegroup ppp[936]: Link: myaddr = 203.14.100.1 hisaddr =203.14.100.20 May 26 17:39:08 jcegroup ppp[936]: Link: OsLinkup: 203.14.100.20 May 26 17:39:18 jcegroup ppp[59]: Phase: Modem /dev/cuaa0 is in use May 26 17:39:48 jcegroup last message repeated 5 times May 26 17:40:18 jcegroup last message repeated 2 times May 26 17:43:40 jcegroup ppp[936]: Phase: Idle timer expired. May 26 17:43:40 jcegroup ppp[936]: Link: OsLinkdown: 203.14.100.20 May 26 17:43:40 jcegroup ppp[936]: Phase: NewPhase: Dead May 26 17:43:40 jcegroup ppp[936]: Phase: NewPhase: Terminate May 26 17:43:41 jcegroup ppp[936]: Phase: PPP Terminated (dead). All looks well, but the problem is as follows:- I can ping the BSD box from the win95 client (and I can see the traffic on the BSD box using BPF and tcpdump), but if I try a telnet, or ftp, or pop3 access, it just hangs there and does nothing. There are a couple of lines come up on the tcpdump, but it then just sits there for about 60 seconds or so. At which point, strangely, it starts to work. But only for that telnet session, I get the same problem next time I try to initiate a telnet, or anything else. But this is enough to stop things like email programs from working at all. It feel's as if I am VERY close to success, but not quite there. Does anyone have any inspiration for me. Any help would be GREATLY appreciated. Thanks, Wayne. -- Wayne G Boyd, Digital Systems Manager JCE (Aberdeen) Ltd Tel: +44 (0)1224 772030 Fax: +44 (0)1224 772002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message