From owner-freebsd-isdn Wed Jan 28 10:36:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20102 for isdn-outgoing; Wed, 28 Jan 1998 10:36:31 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from arg1.demon.co.uk (arg1.demon.co.uk [194.222.34.166]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA19963 for ; Wed, 28 Jan 1998 10:36:09 -0800 (PST) (envelope-from arg@arg1.demon.co.uk) Received: (from arg@localhost) by arg1.demon.co.uk (8.8.5/8.8.5) id SAA22639; Wed, 28 Jan 1998 18:30:41 GMT Date: Wed, 28 Jan 1998 18:30:40 +0000 (GMT) From: Andrew Gordon X-Sender: arg@server.arg.sj.co.uk To: Heiko Schaefer cc: freebsd-isdn@FreeBSD.ORG Subject: Re: Help ?! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 28 Jan 1998, Heiko Schaefer wrote: > but how do i get this thing to dial out (i would like to connect to my isp > with ppp/hdlc) ? > > i tried to configure this isdnpppd thing (/etc/bisdn/bisdnd.cfg), > but when i start isdnpppd with start_ppp_out it reports: When you say "i start isdnpppd", I hope you really mean "bisdnd calls start_ppp_out" ? You can't start isdnpppd manually. > # Jan 28 17:30:40 uhura pppd[2710]: Connect: ppp0 <--> /dev/ity00 > Jan 28 17:30:40 uhura pppd[2710]: ioctl1: Bad file descriptor > Jan 28 17:30:40 uhura pppd[2710]: ioctl1: Bad file descriptor > Jan 28 17:30:40 uhura pppd[2710]: Couldn't restore device fd flags: Bad > file des > criptor > > i tried out all the device nodes starting with i* because i didnt have a > better idea... is my options file the problem, or what does isdnpppd > expect as input ?! It doesn't expect any device node - the difference between isdnpppd and normal pppd is that isdnpppd expects bisdnd to pass it an already-open file descriptor to use. If working properly, you should see: Jan 28 17:30:40 uhura pppd[2710]: Connect: ppp0 <--> /dev/tty ^^^^^^^^^ I don't know if your problem is to do with the way you are calling isdnpppd, or if something has gone wrong with the patches to the pppd source. My start_ppp_out looks like: #!/bin/sh exec /usr/sbin/isdnpppd 194.222.34.166: -d -bsdcomp -detach name arg1.demon.co.uk