Re: expect script with ppp and stty forces reboot

1998-11-30 Thread Torsten Landschoff
On Sun, Nov 29, 1998 at 12:49:35PM -0500, Colin Telmer wrote: > I recently began using an expect script to connect to my office via ppp > and have a problem with how I initialize the modem. I talk with the modem > in the expect script as follows: Uh, why that? > system "stty 38400 -echoe -echo r

Re: expect script with ppp and stty forces reboot

1998-11-30 Thread Colin Telmer
On 29 Nov 1998 [EMAIL PROTECTED] wrote: > > I talk with the modem in the expect script as follows: > > > system "stty 38400 -echoe -echo raw < /dev/ttyS1 > /dev/ttyS1" > > spawn -noecho -open [open /dev/ttyS1 "r+"] > > Why do you need to do this? Pppd will just reconfigure the serial port to >

Re: expect script with ppp and stty forces reboot

1998-11-29 Thread john
> I talk with the modem in the expect script as follows: > system "stty 38400 -echoe -echo raw < /dev/ttyS1 > /dev/ttyS1" > spawn -noecho -open [open /dev/ttyS1 "r+"] Why do you need to do this? Pppd will just reconfigure the serial port to its satisfaction when it comes up. If you are just us

expect script with ppp and stty forces reboot

1998-11-29 Thread Colin Telmer
I recently began using an expect script to connect to my office via ppp and have a problem with how I initialize the modem. I talk with the modem in the expect script as follows: system "stty 38400 -echoe -echo raw < /dev/ttyS1 > /dev/ttyS1" spawn -noecho -open [open /dev/ttyS1 "r+"] and at the e