Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!malgudi!OAR.NET!kannan From: kannan@OAR.NET (Kannan Varadhan) Newsgroups: comp.protocols.tcp-ip Subject: Re: Problems w/ PPP and setsid Message-ID: <9101161607.AA03174@valhalla.oar.net> Date: 16 Jan 91 16:07:44 GMT References: Sender: kannan@oar.net Reply-To: kannan@oar.net Lines: 37 >>> From: mclay@vato.ae.utexas.edu (Robert McLay) >>> Date: 16 Jan 91 15:19:19 GMT > When I use PPP over a serial line between a sun4/330 and a sun 4/20 > both running sunOS 4.1, I get the following error message: > > ppp: setsid(): Not owner. > > and the connection over the modem hangs up. I haven't been able to > > Here is the details of the set up I'm using. I have the PPP from > tut.cis.ohio-state.edu from pub/ppp-sparc4.1.tar.Z. I made those changes, and forwarded them to Karl Fox, they work quite fine for me. When you run ppp by hand, you will not be able to set the session id. This is because your login tty is not a controlling terminal etc. Check if the ppp executable is setuid root, so as to be able to manipulate the controlling terminal etc. I am puzzled because the message seems to be one generated by a perror() statement. The ppp-sparc4.1.tar.Z code does not have a perror() statement associated with the setsid() code. Can you forward the relevant sections of code so I can take a look at it? Kannan -=- Kannan Varadhan, Internet Engineer (OARNet), +1 614 292 4137 Ohio Supercomputer Center, 1224, Kinnear Rd., Columbus, OH 43212