From owner-freebsd-questions Wed May 27 16:20:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00654 for freebsd-questions-outgoing; Wed, 27 May 1998 16:20:16 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA00428 for ; Wed, 27 May 1998 16:19:04 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id AAA28775; Thu, 28 May 1998 00:18:32 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199805272318.AAA28775@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: "Wayne G Boyd" cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP, Mgetty, Dialup Question In-reply-to: Your message of "Tue, 26 May 1998 18:11:55 -0000." <199805261811.SAA01124@jcegroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 May 1998 00:18:31 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This sounds like a dns problem. Can you ``nslookup'' the thing you're telnetting to using both the name and the IP number ? Can you also ``nslookup'' yourself by name and IP number ? If not, make sure your /etc/resolv.conf is correct.... > 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 > -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message