Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!news.ultranet.com!news.sprintlink.net!howland.reston.ans.net!torn!nott!bcarh189.bnr.ca!bcarh8ab.bnr.ca!news From: gdavis@bnr.ca Newsgroups: comp.unix.bsd.freebsd.misc Subject: pppd won't exec. connect script Date: 17 Sep 1995 20:32:08 GMT Organization: Bell Northern Research Lines: 50 Distribution: na Message-ID: <43i0k8$nlu@bcarh8ab.bnr.ca> Reply-To: gdavis@bnr.ca NNTP-Posting-Host: acart61e.bnr.ca X-Newsreader: IBM NewsReader/2 v1.03 re: pppd under freeBSD 2.0 After re-compiling the kernel with pseudo devices ppp and tcp-ip turned on the pppd message 'not available on this system' is gone. Still won't work though. pppd simply will not execute the script pointed at by the 'connect' command in the options file. The first line in the shell script also writes to the xterm and this output does not appear which tells me the script is never executed. The tty01 device corresponds to DOS com2 and works just fine with Seyon. The modem is a microcom QX/4232bis with MNP 10. When pppd runs the DTR led on the modem turns on but no number is dialed. Any ideas, advice? Thanks, Glenn Command Line ------------- /usr/sbin/pppd tty01 57600 /etc/ppp/options --------------- lock -detach connect '/etc/ppp/dial.sh' crtscts ipcp-accept-local ipcp-accept-remote defaultroute modem /etc/ppp/dial.sh --------------- #!/bin/sh echo "hello" >> /dev/ttyp0 /usr/bin/chat -f /etc/ppp/chat.scr < /dev/tty01 1> /dev/tty01 && exit 0 sleep 15 exit 1 /etc/ppp/chat.scr ---------------- "" atz OK atdt<dialup_termserv> CONNECT \r username <myusername> PASSCODE <passwd> <prompt> ULI <prompt> "ppp +"