Re: netcfg/expect problem

1998-06-30 Thread David E. Fox
On Mon, 29 Jun 1998, David Taylor wrote: >That is, the number following "HS" could be any value. Therefore I >can't hardcode the exact string for netcfg to expect. I have tried >getting it to look for just the " : ", but that hasn't worked (there But there is a part of the connect string that

Re: netcfg/expect problem

1998-06-30 Thread Scott Buntin
Have you tried expeecting "Student" by itself? Maybe chat will ignore the rest? If chat sends the response before the server is ready, perhaps a delay would work.. . 'Student''\dppp' ... -- Scott On Mon, 29 Jun 1998, David Taylor wrote: > I'm having some problems with my c

netcfg/expect problem

1998-06-29 Thread David Taylor
I'm having some problems with my chat script (via netcfg) for dialing and connecting to my ISP. It connects, supplies "username" and "password", but will not supply the "ppp" command at the other end. I know the reason: the prompt for the "ppp" command is different every time that I dial in. Fo