Scripting Menu:
This is where you setup your dialing script. The scripting is
accomplished by having you provide a set of prompts and the
appropriate responses to each. You do not have to enter the
prompts for dialing and connecting since this will be taken
care of automatically by pppshare. Your script will probably
begin with a prompt (Expected String) something like
"username:". The response would be your actual username. If
you put a "\r" at the end of the response, pppshare will type
a carriage-return for you. You *DO* want this in most cases.
You will then probably need to enter a prompt for your
password in a similar manner. If you get confused, you can
always manually edit the script by editting net.cfg as
described in the next section of this FAQ. Most standard C
string sequences can be used. E.g. \n for newline, \0-7
octal number, \" double quote, \r carriage return, etc.
accomplished by having you provide a set of prompts and the
appropriate responses to each. You do not have to enter the
prompts for dialing and connecting since this will be taken
care of automatically by pppshare. Your script will probably
begin with a prompt (Expected String) something like
"username:". The response would be your actual username. If
you put a "\r" at the end of the response, pppshare will type
a carriage-return for you. You *DO* want this in most cases.
You will then probably need to enter a prompt for your
password in a similar manner. If you get confused, you can
always manually edit the script by editting net.cfg as
described in the next section of this FAQ. Most standard C
string sequences can be used. E.g. \n for newline, \0-7
octal number, \" double quote, \r carriage return, etc.
<< Home