Subject: bin/4185: pppd 2.3.1 fails to use a connection script
To: None <gnats-bugs@gnats.netbsd.org, bernd@arresum.inka.de>
From: Bernd Ernesti <bernd@parresum.inka.de>
List: netbsd-bugs
Date: 09/29/1997 10:45:08
>Number: 4185
>Category: bin
>Synopsis: pppd 2.3.1 fails to use a connection script
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 29 01:50:00 1997
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current 29/09/97 07:00 GMT
>Environment:
System: NetBSD parresum 1.2G NetBSD 1.2G (VEEGO) #22: Tue Sep 23 11:24:59 MEST 1997 bernd@parresum:/home/source/obj_i386/src/sys/arch/i386/compile/VEEGO i386
>Description:
The new pppd can not use a chat script for sending commands to the
modem if you use 'crtscts' and NOT 'local' in /etc/ppp/options:
pppd 2.3.1 started by bernd, uid 0
Connect script failed
Exit.
This problem arise between revision 1.24 and 1.25 of pppd/main.c.
>How-To-Repeat:
pppd connect "/usr/sbin/chat -f dial"
dial:
TIMEOUT 60
ABORT "NO DIALTONE"
ABORT "NO CARRIER"
ABORT BUSY
""
AT&D0 OK
ATDTyyyy CONNECT
""
ogin: xxxxxxxxxxxx
ssword: zzzzzzzzzzzzzzzz
/etc/ppp/options:
/dev/tty01 57600
user xxxxx
modem
crtscts
defaultroute
netmask 255.255.255.0
yourhostname:
>Fix:
Back out the changes between revision 1.24 and 1.25 of pppd/main.c.
or fix set_up_tty in pppd/sys-bsd.c if it is broken.
>Audit-Trail:
>Unformatted: