Use the following in the KPPP script interface.

    Expect         sername:
    ID
    Expect         assword:
    Password
    Pause          1
    Send            ppp
    Expect         ~


Archan Paul
Lateral Software Technology (Linux Lab)
Chennai.
[EMAIL PROTECTED]

----- Original Message -----
From: Kushal Adak <[EMAIL PROTECTED]>
| While installing the internet through kppp and while configuring the logic
| script ... i put in a command set which looks something like this ..
|
|  expect       Username:
|  send         (My Username)
| *pause        2         (if i diont give a pause it doesent go further)
|  expect       Password:
|  Send         (my password)
|  send         ppp
| 1.The problem is that when i see the log of the connection i see that it
| takes
| in the username but after that it gous into waiting for taking the
password
| and then the log as usual says timeout ...
|
| 2. the other thing i noticed just a while ago is that it did not say wrong
| password ......but wrong login ....
|
| whereas it had taken in the username in the log........
|
| 3. IF I DONT GIVE THE PAUSE STATEMENT IT IMMEDIALETLY GIVES ME A MESSAGE
THAT
| IT WAS NOT ABLE TO FIND A SUITABLE SECRET PASSWORD..... PPPD TOMEOUT
|
| this does not arise when a pause satement for 2 secs is put but a delay of
1
| sec gives an error!



--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.

Reply via email to