[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

chat script & ppp



Hello

First thanks to all for suggestions...they have been helpful...

However, on closer examination my ISP requires that I login with a username, 
password, and enable ppp explicitly...as shown from a minicom.cap file

username: <me>
password: <my password>
service>  ppp

I was wondering how to incorporate that last line in a script without having it 
output results to a file called "ppp"

My current script is

/usr/sbin/chat -v -t 45 "" ATZ OK ATDT<phone-number> \
       CONNECT "" ername: <my login name> ssword: <my password>

I tried this (dont laugh...its a newbie mistake! ;-)  which just outputs to a 
file "ppp".

/usr/sbin/chat -v -t 45 "" ATZ OK ATDT<phone-number> \
       CONNECT "" ername: <my login name> ssword: <my password>  ervice> ppp

My problem is the prompt for service is a  ">" not a ":"
How can I get it to take the character ">" and not think its a redirection?

Any assistance would, as always, be appreciated... :-)


Regards
Jas

---------------------------------------------------------------------------
Thought for the day:-

  Government is an association of men who do violence to the rest of us.   
         -- Leo Tolstoy 
*The Kingdom of God is Within You,* 1893   

---------------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]