LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kppp dial up alternates from Username to login (https://www.linuxquestions.org/questions/linux-newbie-8/kppp-dial-up-alternates-from-username-to-login-154482/)

ddstyles 03-07-2004 02:51 AM

kppp dial up alternates from Username to login
 
hi - i'm looking for a kppp script that will send my isp login on both login and username prompts. my isp sends either prompt depending on the server i connect to (i guess). I have two connections set up and if i'm lucky i can connect first time.

first connection:
ATZ
OK
ATM1L1
OK
ATDT086788888
CONNECT 57600

Username:


second connection:
ATZ
OK
ATM1L1
OK
ATDT086788888
CONNECT 57600
nas8.akl


login:

thanks for any help

duncan

ddstyles 03-07-2004 03:38 AM

fixed it - changed the "expect ogin:" line in the login script to be "expect :" and it seems to be working. Any ideas on how to get the script to expect sername: or ogin: would be cool.


All times are GMT -5. The time now is 07:52 AM.