*BSD News Article 84763


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!nntp.portal.ca!news.bc.net!arclight.uoregon.edu!mr.net!news.sgi.com!newsfeed.internetmci.com!demos!Gamma.RU!srcc!dio.ru!usenet
From: Ivan Borisenko <eagle@imt.dio.ru>
Newsgroups: comp.protocols.ppp,comp.unix.admin,comp.unix.bsd.freebsd.misc,comp.unix.questions
Subject: HELP:pppd crushes after detach
Date: Sat, 14 Dec 1996 16:34:02 +0300
Organization: IMT RAS
Lines: 54
Message-ID: <32B2ABEE.4A8C@imt.dio.ru>
Reply-To: eagle@imt.dio.ru
NNTP-Posting-Host: eaglepc.imt.dio.ru
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (Win16; I)
Xref: euryale.cc.adfa.oz.au comp.protocols.ppp:16257 comp.unix.admin:51913 comp.unix.bsd.freebsd.misc:32654 comp.unix.questions:93055

Hello EveryBody!

Help me, please, to solve the following problem:
I try to organize remote access under FreeBSD 2.1.5:
login, start pppd and the following using of connection
go successfully.
 But when client detach, the following text arrives in
 	/var/log/messages :
...................................................................
...login: DIALUP ttyd1, eagle
...login: login on ttyd1 as eagle
...su: eagle to root on /dev/ttyd1
...pppd[546]: pppd 2.1.2 started by eagle, uid 0
...pppd[546]: Connect: ppp0 <--> /dev/ttyd1
...pppd[546]: local  IP address 193.233.45.199
...pppd[546]: remote IP address 193.233.45.200
...pppd[546]: ioctl (PPPIOCGFLAGS): Inappropriate ioctl for device
...pppd[546]: ioctl (PPPIOCGFLAGS): Inappropriate ioctl for device
...pppd[546]: ioctl(PPPIOCSASYNCMAP): Inappropriate ioctl for device
...pppd[546]: fcntl(F_SETFL, fdflags): Inappropriate ioctl for device
...pppd[546]: ioctl(TIOCSETD): Inappropriate ioctl for device
...pppd[546]: tcsetattr: Inappropriate ioctl for device
.....................................................................
If any script is proposed on detach, it is not fulfilled also.

If I start pppd /dev/ttyd1, the connection breaks down and 
the following text arrives in /var/log/messages:  
...................................................................
...login: DIALUP ttyd1, eagle
...login: login on ttyd1 as eagle
...su: eagle to root on /dev/ttyd1
...pppd[370]: pppd 2.1.2 started by eagle, uid 0
...pppd[371]: ioctl(TIOCSCTTY): Operation not permitted
......................................................................
Configurating files of pppd are the next ones: 
                /etc/ppp/options:
        modem
        crtscts
        proxyarp
        passive
        debug

                /etc/ppp/options.ttyd1:
        193.233.45.199:193.233.45.200

Thanks in advance for any advise.
-- 
> Ivan Borisenko .....* Main Eagle of Around *......<
>         mailto:eagle@imt.dio.ru                   <
>.......mailto:eagle@ipmt-hpm.ac.ru.................<
>   Institute of Microelectronics Technology and    <
>High Purity Materials, Russian Academy of Sciences,<
>  Chernogolovka, Moscow district, 142432, RUSSIA   <