*BSD News Article 81522


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.ci.com.au!news.vision.net.au!usenet
From: mvanloon@vision.net.au (Mark van Loon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PPPD - minor problems
Date: Fri, 25 Oct 1996 11:53:39 GMT
Organization: Vision Internet Services.
Lines: 60
Message-ID: <54q9n4$gir@pandora.vision.net.au>
NNTP-Posting-Host: porta12.vision.net.au
X-Newsreader: Forte Free Agent 1.0.82

I am using pppd for dialup.

The method I am currently using is allowing users to login using getty
running the dialup com port.
Once logged in, the user runs a script to start pppd.
Everything works OK during a session, until the user hangs up their
line. Then the following errors are logged to /var/log/messages

--------------------------------------------
Oct 25 16:57:48 basil pppd[411]: pppd 2.1.2 started by vanloonm, uid
10000
Oct 25 16:57:48 basil pppd[411]: Connect: ppp0 <--> /dev/ttyd00
Oct 25 16:57:52 basil pppd[411]: local  IP address 147.109.194.288
Oct 25 16:57:52 basil pppd[411]: remote IP address 147.109.194.299
Oct 25 16:59:59 basil pppd[411]: ioctl (PPPIOCGFLAGS): Inappropriate
ioctl for devicee
Oct 25 16:59:59 basil pppd[411]: ioctl (PPPIOCGFLAGS): Inappropriate
ioctl for devicee
Oct 25 16:59:59 basil pppd[411]: ioctl(PPPIOCSASYNCMAP): Inappropriate
ioctl for devicee
Oct 25 16:59:59 basil pppd[411]: fcntl(F_SETFL, fdflags):
Inappropriate ioctl for devicee
Oct 25 16:59:59 basil pppd[411]: ioctl(TIOCSETD): Inappropriate ioctl
for devicee
Oct 25 16:59:59 basil pppd[411]: tcsetattr: Inappropriate ioctl for
devicee
-------------------------------

Obviously as pppd is exiting, it performs some shutdown routines which
are causing these errors. Does anyone have any ideas???

I have included a copy of /etc/ppp/options below.

With thanks,
Mark.


# /etc/ppp/options:

crtscts                              # Hardware flow controll
netmask 255.255.255.0   # netmask ( not required ))
147.109.194.28:147.109.194.29   # ip's of local and remote hosts
                             # local ip must be different from onee
                             # you assigned to the ethernet ( or other

                             # interface on your machine.
                             # remote IP is ip address that will bee
                             # assigned to the remote machinee
domain lit.tas.edu.au     # your domainn
passive                         # wait for LCPP
modem			# Modem linee
dns1 147.109.194.13	# Primary Name Serverr
proxyarp		# Setup ARP between peer and ethernet cardd


=============================
Mark van Loon
EMail: mvanloon@vision.net.au
=============================