From owner-freebsd-questions Tue May 26 10:14:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA07379 for freebsd-questions-outgoing; Tue, 26 May 1998 10:14:35 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jcegroup.com (jce.wintermute.co.uk [194.105.163.212]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA07343 for ; Tue, 26 May 1998 10:14:13 -0700 (PDT) (envelope-from wayne@jcegroup.com) Received: from ST21.jcegroup.com (st21 [198.100.100.21]) by jcegroup.com (8.8.7/8.8.7) with SMTP id SAA01124 for ; Tue, 26 May 1998 18:11:53 GMT (envelope-from wayne@jcegroup.com) Message-Id: <199805261811.SAA01124@jcegroup.com> From: "Wayne G Boyd" Organization: JCE (Aberdeen) Ltd To: freebsd-questions@FreeBSD.ORG Date: Tue, 26 May 1998 18:11:55 +0000 Subject: PPP, Mgetty, Dialup Question Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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