*BSD News Article 33140


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!eff!cs.umd.edu!net.usuhs.mil!apgea.army.mil.!admii!cmcl2!newsserv.cs.sunysb.edu!home.stark.cs.sunysb.EDU!stark!stark!gene
From: stark!gene@newsserv.cs.sunysb.edu (Gene Stark)
Newsgroups: comp.os.386bsd.questions
Subject: Re: pppd won't work - ioctl(TIOCSETD): Inappropriate ioctl for device
Date: 18 Jul 94 20:37:36
Organization: Gene Stark's home system
Lines: 21
Message-ID: <STARK!GENE.94Jul18203736@stark.uucp>
References: <Ct32o5.Brz@ns1.nodak.edu>
NNTP-Posting-Host: home.stark.cs.sunysb.edu
In-reply-to: axvig@plains.NoDak.edu's message of Sun, 17 Jul 1994 12:00:05 GMT

In article <Ct32o5.Brz@ns1.nodak.edu> axvig@plains.NoDak.edu () writes:

   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)

   Is there any clue what I should do or not do? I'm getting really 
   nervous.

The kernel is complaining about not being able to set the line discipline.
Presumably this is because you are running over a pty.  You cannot run pppd
over a pty, since pty's do not support changing the line discipline.

							- Gene Stark