*BSD News Article 65652


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!sirwal!wally
From: Christian.Wilson@cc.monash.edu.au (Mr. Christian Wilson)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Weird problem running pppd and chat.
Date: 11 Apr 96 11:00:33 GMT
Organization: Monash University
Lines: 50
Message-ID: <wally.829220433@sirwal>
NNTP-Posting-Host: sirwal.mmcc.monash.edu.au
X-NNTP-Posting-User: wally
X-Newsreader: NN version 6.5.0 #1 (NOV)


Hi all,

I'm running NetBSD 1.1 on a Pentium based machine. I'm experiencing
difficulties however, with configuring and running pppd and chat. If
anyone has any ideas then I'd really appreciate it.

The thing is that I am almost 100% certain that I haven't done any
booboos. The modem sits on /dev/tty01, and when I try and run pppd, the
DTR light of the modem goes on, yet no actual data seems to get sent.

Earlier, I was unable to even run "stty -a < /dev/tty01", until a person
on IRC suggested that I put the following line in my /etc/ttys:

tty01   "/usr/libexec/getty std.57600"  unknown off secure local

I can now do this, but it still doesn't seem to help my problem.

I have also typed stty speed 38400 < /dev/tty01, but whenever I type
stty < /dev/tty01, I still get 9600.

Minicom runs fine with no problems whatsoever, so I do not believe it to
be a modem related problem.

Here is the line that I use to call pppd:


/usr/sbin/pppd connect 'chat -v -f /home/wally/ppp/chatscript -r /home/wally/ppp/report' /dev/tty01 57600 -d mru 296 xxx.xxx.xxx.xxx:xxx.xxx.xxx.xxx escape 17,19 netmask 255.255.255.0 proxyarp modem crtscts -detach 

And here is my chatscript:


ATZ\r OK
ATDTXXXXXXXXX CONNECT
TIMEOUT 10 ogin:--ogin: ppp
TIMEOUT 5 assword: XXXXXXXXX

[The X's have been used to blank out semi important information.].

Any help with this would be gratefully appreciated. I have successfully
dropped a getty onto the line as well with no problems, and while
dialled into the line I can run pppd successfully. The problem seems to
me to be really bizarre, and really confusing.

Thanks.
Christian.
--
Christian Wilson, Monash University.
Ph: (03) 9550 1383 (BH-Sometimes), (03) 9543 1991 (AH). 
Ph: (041) 938 3560 (Mobile - Personal) (019) 194 083 (Mobile - MMCC).