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 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.
>
> For example, it could be...
>
> Student HS3 V34+ :
>
> or,
>
> Student HS99 V34+ :
>
> etc...
>
> 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
> are colons left, right, and centre throughout the login message). I
> tried using regular expressions (long shot, I know, seeing as though it
> allows the "+" after the "4", etc...). So, I would use something like
> "Student HS[0-9]+ v34[+] : " ... but that hasn't worked either.
>
> Any suggestions? Please... 'cos this is driving me nuts. I have to
> manually dialin with minicom at the moment. Please help.....
>
> Regards,
> David Taylor.
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.