geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 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, @10:02AM

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

Add Reply

Name
Email
Notify Notify me via email of responses to this message
Title
Comment
(Check those URLs! Don't forget the http://!)
Encoding
If none of the above mean anything to you, select 'Plain'!
Attachment
(You can attach a file to your reply which can then be retrieved by other readers.
Try to keep the file sizes below 500Kb in order to conserve network and server resources.)
Allowed HTML <B> <I> <P> <A> <LI> <OL> <UL> <EM> <BR> <TT> <HR> <STRONG> <BLOCKQUOTE> <DIV .*> <DIV> <P .*>
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.
  • "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]