Date: Thu, 28 May 1998 00:18:31 +0100 From: Brian Somers <brian@Awfulhak.org> To: "Wayne G Boyd" <wayne@jcegroup.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP, Mgetty, Dialup Question Message-ID: <199805272318.AAA28775@awfulhak.org> In-Reply-To: Your message of "Tue, 26 May 1998 18:11:55 -0000." <199805261811.SAA01124@jcegroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805272318.AAA28775>