Article View: demon.ip.support.other
Article #950Re: Problem with NT RAS script
From: Martin Berry
Date: Sun, 25 Feb 1996 00:00
Date: Sun, 25 Feb 1996 00:00
69 lines
2061 bytes
2061 bytes
[repost of article demon lost my first post]
In article <312cc1f9.2372066@news.demon.co.uk>, Mark Hill
<mark@hillm.demon.co.uk> writes
>
>I'm using the following script to login in to Demon. The problem I've
>got is that it won't match anything more than 'ol:' because NT has
>started mistaking the first 6 characters ('protoc') as the echo of my
>password.
>
>Has anyone else seen this and have a solution?
>
>
>[Demon PPP]
>
>; Send a CR then wait for logon banner
>COMMAND=<cr>
>ERROR_NO_CARRIER=<match>"NO CARRIER"
>
>OK=<match>"ogin:"
>LOOP=<ignore>
>COMMAND=username<cr>
>ERROR_NO_CARRIER=<match>"NO CARRIER"
>
>OK=<match>"word:"
>LOOP=<ignore>
>COMMAND=password<cr>
>ERROR_NO_CARRIER=<match>"NO CARRIER"
>
>OK=<match>"ol:"
>LOOP=<ignore>
>COMMAND=PPP<cr>
>
>CONNECT=<match>"HELLO"
>
I have always had this problem and have resorted to not looking for a
match, this works ok.
[DEMON]
;wait 2 seconds
COMMAND=
NoResponse
COMMAND=<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
;wait for login prompt
OK=<match>"ogin:"
LOOP=<ignore><cr><lf>
;send domain name
COMMAND=username<cr>
;wait for password prompt
OK=<match>"word:"
LOOP=<ignore>
;send your password
COMMAND=your password<cr>
;wait 2 seconds
COMMAND=
NoResponse
;send protocol
COMMAND=PPP<cr>
OK=<match>"PPP"
;connection confirmed
CONNECT=<match>"HELLO"
--
Martin Berry email: martin@lanch.demon.co.uk
101462.316@compuserve.com
Windows NT Server TurnPike V1.11
Technical Details
Message-ID:
<PDnm1AASQDMxEwsw@lanch.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<312cc1f9.2372066@news.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8ef,5e133216526695ef X-Google-Attributes: gid10f8ef,public From: Martin Berry <martin@lanch.demon.co.uk> Subject: Re: Problem with NT RAS script Date: 1996/02/25 Message-ID: <PDnm1AASQDMxEwsw@lanch.demon.co.uk> X-Deja-AN: 141012598 distribution: world x-nntp-posting-host: lanch.demon.co.uk references: <312cc1f9.2372066@news.demon.co.uk> organization: At Home mime-version: 1.0 reply-to: martin@lanch.demon.co.uk newsgroups: demon.ip.support.other