*BSD News Article 33306


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uxa.cso.uiuc.edu!rkb55989
From: rkb55989@uxa.cso.uiuc.edu (Rafal Boni)
Newsgroups: comp.os.386bsd.questions
Subject: Re: pppd won't work - ioctl(TIOCSETD): Inappropriate ioctl for device
Date: 20 Jul 1994 17:45:48 GMT
Organization: University of Illinois at Urbana
Lines: 38
Message-ID: <30jnsc$4r6@vixen.cso.uiuc.edu>
References: <Ct32o5.Brz@ns1.nodak.edu> <30bkv2$r5u@pdq.coe.montana.edu>
NNTP-Posting-Host: uxa.cso.uiuc.edu

nate@bsd.coe.montana.edu (Nate Williams) writes:

>In article <Ct32o5.Brz@ns1.nodak.edu>,  <axvig@plains.NoDak.edu> wrote:
>>
>>I have been trying to get my pppd working for about a month - I 
>>recompiled the kernel (now have 2 ppp devices), installed pppd 2.1.2a,
>>created /etc/ppp directory, etc., but I keep getting this
>>message:
>>
>>> Jul 17 07:37:25 Osmeh pppd[104]: pppd 2.1.2 started by Phob, uid 8
>>> Jul 17 07:37:25 Osmeh pppd[104]: ioctl(TIOCSETD): Inappropriate ioctl for device
>>
>>whenever I start the daemon. I go through a pty when testing ppp since on my
					      ^^^
>>the comp. doesn't have a modem. (it's a pc 386 + FreeBSD 1.1R)

>When you rebuild your kernel, you must do a 'make clean' before the
>'make depend', 'make' commands because some of the PPP stuff doesn't get
>noticed correctly and will not get compiled in.


	I think the problem is that you're going through a PTY.  PPP does
	not like to do this in most normal circumstances because of the 
	difference in interfaces between reg. ttys and ptys.  That said, 
	I do believe that NetBSD fixed the pty interface up somewhat so
	that this could be done;  that fix was done rather recently, so
	maybe new version of FreeBSD have it too [new being 1.5.1.1 or
	whatever the newest version is]

	All the same, check Nate's suggestion.

							--rafal

/--------------------------------------------------------------------------\
|"Blessed are the meek, for they shall inherit   |              Rafal Boni |
| 15% of the earth, which is 100% more than they |         r-boni@uiuc.edu |
| have now..." -Cartoon caption in New Yorker    | My opinions, not UIUC's |
\--------------------------------------------------------------------------/