Return to BSD News archive
From: gienger@iris.rz.uni-konstanz.de (Pascal Gienger) Subject: pppd: Problems with blocking /dev/ttyd1 / cuaa1 Newsgroups: comp.unix.bsd.freebsd.misc Organization: Universitaet Konstanz Summary: Keywords: Lines: 28 X-Newsreader: TIN [UNIX 1.3 950824BETA IRIX Hack P. Gienger PL0] Message-ID: <31aa9b12.0@news.uni-konstanz.de> Date: 28 May 96 06:20:02 GMT Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!nntp.uac.net!news.tufts.edu!blanket.mitre.org!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-konstanz.de!iris.rz.uni-konstanz.de!not-for-mail I just tried to use pppd to establish a connection to our PPP terminal server. To log in I set up a chat script. I called pppd then in the following way: pppd /dev/cuaa1 57600 connect "chat -f /etc/ppp/hydra.chat" crtscts lock passive Result: None. Investigating the problem, I found the following: Trying to send modem commands to /dev/cuaa1 directly, e.g. echo "AT0DT0123456" > /dev/cuaa1 won't do anything. Doing the same thing on /dev/ttyd1 result in blocking the command.... All accesses to /dev/cuaa1 have the same result as piping them to /dev/null. stty </dev/ttyd1 does not work either. It blocks. If HylaFAX is invoked and attaches to /dev/ttyd1 above stty is perfectly working. When quitting HylaFAX, above stty blocks again. What command do I have to use to "unblock" the /dev/ttyd1 device or to use "/dev/cuaa1" correctly? Pascal -- Pascal.Gienger Zentrale Rechner Rechenzentrum Universitaet Konstanz @uni-konstanz.de Voice: +49 7531 16074 Fax : +49 7531 20370 WWW : http://www.geocities.com/WestHollywood/1381/