From owner-freebsd-isdn Mon Jan 29 17:48:15 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 36E3837B402 for ; Mon, 29 Jan 2001 17:47:57 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.1/8.11.1) with ESMTP id f0U1mBE11945; Tue, 30 Jan 2001 01:48:11 GMT (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.1/8.11.1) with ESMTP id f0U1nIw09302; Tue, 30 Jan 2001 01:49:18 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200101300149.f0U1nIw09302@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Boris Staeblow Cc: Brian Somers , freebsd-isdn@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: ppp dialin didn't work with userland ppp In-Reply-To: Message from Boris Staeblow of "Mon, 29 Jan 2001 14:15:35 +0100." <20010129141535.A43873@dva.in-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 30 Jan 2001 01:49:17 +0000 From: Brian Somers Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, How are you actually executing ppp ? If you're using ``regprog'' and ``regexpr'', are you invoking ppp with something like #! /bin/sh ..... ppp -direct whatever <>/dev/i4brbch0 ppp must be started with a readable *and* writable stdin. I only recently added the <> syntax to the FreeBSD ``sh''. Previously it was only available using bash (or probably zsh). I guess if you're running -stable you've got that though :-) > On Sun, Jan 28, 2001 at 11:18:21PM +0000, Brian Somers wrote: > > > > tun0: IPCP: deflink: LayerStart. > > > tun0: IPCP: deflink: SendConfigReq(1) state = Closed > > > tun0: IPCP: IPADDR[6] 0.0.0.0 > > > tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression > > [.....] > > > tun0: IPCP: deflink: State change Closed --> Req-Sent > > > tun0: Error: DoLoop: select(): Bad file descriptor > > > tun0: Debug: DoLoop done. > > [.....] > > > Boris > > > > Looks like the peer is going away - perhaps due to you asking for > > 0.0.0.0 as an IP number. What's the story on the client side ? Is > > the client supposed to be deciding on the server's IP number (an > > unusual setup) ? > > I've changed my setup to static ip numbers, but it didn't fix > the problem. > > I dialup with a Windows 98 system, static IP: 10.1.0.111, > to FreeBSD 4.2-STABLE, i4b 00.96, userland ppp via rbch0,static IP: 10.1.0.101. > Same problem with dynamic IP-adresses and/or with the original i4b from -stable. > The dialup works with sppp via ispX from i4b! > > Boris > ----------------------------------------------------------------------------- [.....] -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message