Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 1998 18:30:40 +0000 (GMT)
From:      Andrew Gordon <arg@arg1.demon.co.uk>
To:        Heiko Schaefer <hschaefer@fto.de>
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: Help ?!
Message-ID:  <Pine.BSF.3.91.980128182551.22631A-100000@server.arg.sj.co.uk>
In-Reply-To: <Pine.BSF.3.96.980128172719.19539B-100000@bsd.spacequest.hs>

next in thread | previous in thread | raw e-mail | index | archive | help
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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.980128182551.22631A-100000>