faq
search
add article
cool-stuff
how-to
main
tips
parent
|
Re: HOWTO: Connect to the internet with ppp
by Leo on Wednesday May 07, @09:59AM
|
| 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 |
| Add Reply |
Important Stuff:
Note: Fields with bold titles are required.
Please try to keep posts on topic.
Try to reply to other people comments instead of starting new threads,
Read other people's messages before posting your own to
avoid simply duplicating what has already been said.
Use a clear subject that describes what your
message is about.
Please do not post offtopic, inflammatory, inappropriate, illegal,
or offensive comments. Repeat offenders will be sanctioned.
|