I'm sorry because the struct in previous mail.
Here is the same readable.
Hi,
I saw your examples and are very good. But, I could need if somebody tested ppp in auto mode asking for a passowrd to user. This is wat I'm trying to do:
in ppp.conf file leo:
set phone "123456"
set device /dev/cuaa1
set speed 19200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 15 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 60 CONNECT"
set authname MyName
set authkey \"!/bin/cat /home/pass\"
set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
I whish to save my password in /home/pass file, so when a dial up is made passowrd is read from /home/pass.
This is what manual says:
If the first character of value is an exclamation mark (``!''), ppp treats the remainder of the string as a program that must be executed to determine the ``authname'' and ``authkey'' values.
The version I run is "PPP Version 2.3.3"
I couldn't make it works. Did anybody try it?
Thanks
Leo
|