*BSD News Article 84701


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.texas.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!news.mathworks.com!uunet!in1.uu.net!204.253.208.40!insync!Gamma.RU!srcc!dio.ru!usenet
From: Ivan Borisenko <eagle@imt.dio.ru>
Newsgroups: comp.unix.admin,comp.unix.bsd.freebsd.misc,comp.unix.questions
Subject: pppd crushes after detach
Date: Wed, 04 Dec 1996 13:09:48 +0300
Organization: IMT RAS
Lines: 53
Message-ID: <32A54DEC.73A7@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.unix.admin:51680 comp.unix.bsd.freebsd.misc:32402 comp.unix.questions:92833

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   <